Debian Patches

Status for genwqe-user/4.0.18-3.1

Patch Description Author Forwarded Bugs Origin Last update
0001-lib-hardware-Fix-printf-for-size_t.patch [PATCH 1/2] lib/hardware: Fix printf for size_t
There are some debugging printf being called with %ld other than %zd.
This cause build on 32-bits platform, showing the following message:

In file included from hardware.c:22:0:
hardware.c: In function ‘h_inflate’:
./wrapper.h:90:22: error: format ‘%ld’ expects argument of type ‘long
int’, but argument 3 has type ‘size_t {aka unsigned int}’
[-Werror=format=]
fprintf(zlib_log, "hhh " fmt, ## __VA_ARGS__); \
^
hardware.c:1456:5: note: in expansion of macro ‘hw_trace’
hw_trace(" Suppress Z_STREAM_END %ld %ld\n",
^~~~~~~~
./wrapper.h:90:22: error: format ‘%ld’ expects argument of type ‘long
int’, but argument 4 has type ‘size_t {aka unsigned int}’
[-Werror=format=]
fprintf(zlib_log, "hhh " fmt, ## __VA_ARGS__); \

This patch just fix this issue.t t
Breno Leitao <breno.leitao@gmail.com> no 2017-03-02
nostatic.patch Do not use static linking for zADC.This patch was adapted from Ubuntu package. Dimitri John Ledkov <xnox@ubuntu.com> no
missing_manpages.patch Manpages for 2 scripts that were missing Fernando Seiti Furusato <ferseiti@linux.vnet.ibm.com> no
spellcheck.patch Correct spelling caught by codespell and spellintian
diff --git a/lib/hardware.c b/lib/hardware.c
index f7631b7..f59c242 100644
Fernando Seiti Furusato <ferseiti@linux.vnet.ibm.com> no
fix-leaks.patch Fixed resource leaks and syntax errorThis patch is upstram already. It fixes some resource leaks caught by
cppcheck and one syntax error.
Fernando Seiti Furusato <ferseiti@linux.vnet.ibm.com> no
no-dmesg.patch Do not use dmesg The command dmesg needs to be run as root, so disabling it on the
tests.
no
fix-pthread.patch Use -pthread instead of -lpthread Fernando Furusato <ferseiti@linux.vnet.ibm.com> no
fix-libs-locations.patch Make libs public.Installing libzADC* files into /usr/lib/$(DEB_HOST_MULTIARCH) instead
of doing it into the subdirectory genwqe.
Fernando Furusato <ferseiti@linux.vnet.ibm.com> no
0001-Adding-missing-license-header.patch [PATCH] Adding missing license header Frank Haverkamp <haver@linux.vnet.ibm.com> no 2017-02-16
0002-lib-software-Fix-return-types.patch [PATCH 2/2] lib/software: Fix return types
Currently, when building genwqe on 32-bits arch, it fails with the
following error:

software.c:537:9: error: conflicting types for ‘gzseek64’
z_off_t gzseek64(gzFile file, z_off64_t offset, int whence)
^~~~~~~~
In file included from software.c:23:0:
/usr/include/zlib.h:1693:30: note: previous declaration of ‘gzseek64’
was here
ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int));
^~~~~~~~
This is because a 32bits gz function() should use z_off64_t instead of
z_off_t type.
Breno Leitao <breno.leitao@gmail.com> no 2017-03-02
fix_gettid.patch Fix FTBFS Latest glibc has defined gettid() and as a result there was a conflict.
Rename gettid() to sys_gettid() to use our own gettid instead of using
the gettid() from glibc.
Sudip Mukherjee <sudipm.mukherjee@gmail.com> no debian

All known versions for source package 'genwqe-user'

Links