Package: libhdate / 1.6.02-1

Metadata

Package Version Patches format
libhdate 1.6.02-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
docdir.patch | (download)

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

 update libhdatedocdir to the one used by the debian
ld as needed.patch | (download)

bindings/perl/Makefile.am | 2 1 + 1 - 0 !
bindings/perl/Makefile.in | 2 1 + 1 - 0 !
bindings/php/Makefile.am | 2 1 + 1 - 0 !
bindings/php/Makefile.in | 2 1 + 1 - 0 !
bindings/python/Makefile.am | 2 1 + 1 - 0 !
bindings/python/Makefile.in | 2 1 + 1 - 0 !
bindings/ruby/Makefile.am | 2 1 + 1 - 0 !
bindings/ruby/Makefile.in | 2 1 + 1 - 0 !
8 files changed, 8 insertions(+), 8 deletions(-)

 fix build from source when linking with "ld --as-needed"
time_t.patch | (download)

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

 fix sizes issues manifested in x32
Bug-Debian: http://bugs.debian.org/719808

libhdate calls localtime(long), when its interface requires time_t.

If sizeof(long) == sizeof(time_t), all is ok.
If sizeof(long) > sizeof(time_t), it will work on little-endian, use some
uninitialized memory on big-endian.
If sizeof(long) < sizeof(time_t), it will trample nearby memory.


typos.patch | (download)

docs/man/man3/hdate.h.3 | 4 2 + 2 - 0 !
docs/man/man3/hdate_Hdate.3 | 6 3 + 3 - 0 !
examples/hcal/hcal.c | 2 1 + 1 - 0 !
examples/hcal/hdate.c | 2 1 + 1 - 0 !
po/es_MX.po | 4 2 + 2 - 0 !
po/fr.po | 4 2 + 2 - 0 !
po/he.po | 4 2 + 2 - 0 !
po/libhdate.pot | 4 2 + 2 - 0 !
po/ru.po | 4 2 + 2 - 0 !
po/sv.po | 4 2 + 2 - 0 !
src/hdate.h | 2 1 + 1 - 0 !
11 files changed, 20 insertions(+), 20 deletions(-)

 typos reported by lintian
cflags.patch | (download)

bindings/perl/Makefile.am | 4 2 + 2 - 0 !
bindings/perl/Makefile.in | 128 92 + 36 - 0 !
bindings/python/Makefile.am | 4 2 + 2 - 0 !
bindings/python/Makefile.in | 128 92 + 36 - 0 !
configure.in | 1 0 + 1 - 0 !
5 files changed, 188 insertions(+), 77 deletions(-)

 pass variables set by debian build system
duplicate_gnu_source.patch | (download)

examples/hcal/hcal.c | 1 0 + 1 - 0 !
examples/hcal/hdate.c | 1 0 + 1 - 0 !
examples/hcal/local_functions.c | 1 0 + 1 - 0 !
src/deprecated.c | 1 0 + 1 - 0 !
src/hdate_strings.c | 1 0 + 1 - 0 !
5 files changed, 5 deletions(-)

 _gnu_source is already set in autoconf.
size_t.patch | (download)

examples/hcal/local_functions.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 size_t vars need %d in printf. %*s needs int
clang.patch | (download)

examples/hcal/hcal.c | 64 32 + 32 - 0 !
examples/hcal/local_functions.c | 71 39 + 32 - 0 !
2 files changed, 71 insertions(+), 64 deletions(-)

 fix ftbfs with clang instead of gcc