Package: publib / 0.40-3

Metadata

Package Version Patches format
publib 0.40-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Remove strndup.patch | (download)

Makefile.in | 2 0 2 - 0 !
includes/publib/strutil.h | 1 0 1 - 0 !
2 files changed, 3 deletions(-)

 remove strndup

Do not compile strndup.o, do not install strndup.3 man page,
and remove strndup declaration from strutil.h to fix FTBFS
with current gcc andglibc that defines strndup as a macro
(closes: #790273)

0002 Fix undefined behavior warning.patch | (download)

base64/base64.c | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 fix undefined behavior warning

Fix off-by-one bug leading to the following warning
given by gcc-5:

base64/base64.c: In function 'base64_decode':
base64/base64.c:117:27: warning: iteration 256u invokes undefined behavior [-Waggressive-loop-optimizations]
       base64_to_sixtet[i] = -1;
                           ^
base64/base64.c:116:6: note: containing loop
      for (i = 0; i <= UCHAR_MAX   1;   i)
      ^

0003 Remove Makefile at distclean.patch | (download)

Makefile.in | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 remove makefile at distclean

Make sure distclean target removes generated Makefile
to be able to perform two builds in a row without causing
dpkg to fail with:

dpkg-source: info: building publib using existing ./publib_0.40.orig.tar.gz
dpkg-source: info: local changes detected, the modified files are:
 publib-0.40/Makefile

0004 Fix spelling errors in manpages.patch | (download)

man/memmem.3 | 2 1 1 - 0 !
man/memrchr.3 | 4 2 2 - 0 !
man/memrmem.3 | 4 2 2 - 0 !
man/strdel.3 | 2 1 1 - 0 !
man/strgsub.3 | 6 3 3 - 0 !
man/strrstr.3 | 6 3 3 - 0 !
man/strsub.3 | 6 3 3 - 0 !
man/strvars.3 | 2 1 1 - 0 !
8 files changed, 16 insertions( ), 16 deletions(-)

 fix spelling errors in manpages

Fix the following spelling errors reported by lintian:

I: publib-dev: spelling-error-in-manpage usr/share/man/man3/*.3pub.gz occurences occurrences
I: publib-dev: spelling-error-in-manpage usr/share/man/man3/*.3pub.gz occured occurred

0005 Pass LDFLAGS to test programs.patch | (download)

Makefile.in | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 pass ldflags to test programs

Hopefully make build log checker happy by passing $(LDFLAGS)
for linking test programs.