Package: htcheck Version: 1:1.2.4~rc1-1 Severity: important Tags: patch Justification: fails to build from source User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu karmic ubuntu-patch
*** /tmp/tmppqX1nc In Ubuntu, we've applied the attached patch to achieve the following: * debian/patches/300_fix-ftbfs-gcc44-eglibc210.patch: Fix FTBFS with GCC 4.4 and eglibc 2.10 (LP: #461286). We thought you might be interested in doing the same. -- System Information: Debian Release: squeeze/sid APT prefers karmic-updates APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31-14-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u htcheck-1.2.4~rc1/debian/patches/series htcheck-1.2.4~rc1/debian/patches/series --- htcheck-1.2.4~rc1/debian/patches/series +++ htcheck-1.2.4~rc1/debian/patches/series @@ -5,0 +6 @@ +300_fix-ftbfs-gcc44-eglibc210.patch --- htcheck-1.2.4~rc1.orig/debian/patches/300_fix-ftbfs-gcc44-eglibc210.patch +++ htcheck-1.2.4~rc1/debian/patches/300_fix-ftbfs-gcc44-eglibc210.patch @@ -0,0 +1,30 @@ +# +# Ubuntu: https://bugs.launchpad.net/debian/+source/htcheck/+bug/461286 +# Description: Fix FTBFS with GCC 4.4 and eglibc 2.10. +# +Index: htcheck/htnet/Transport.cc +=================================================================== +--- htcheck.orig/htnet/Transport.cc 2009-10-26 17:38:20.868978474 +0100 ++++ htcheck/htnet/Transport.cc 2009-10-26 18:26:20.898963097 +0100 +@@ -426,7 +426,7 @@ + // Recognize the possible date format sent by the server + Transport::DateFormat Transport::RecognizeDateFormat (const char *datestring) + { +- register char *s; ++ register const char *s; + + if((s=strchr(datestring, ','))) + { +Index: htcheck/htnet/HtCookie.cc +=================================================================== +--- htcheck.orig/htnet/HtCookie.cc 2009-10-26 18:26:44.804253955 +0100 ++++ htcheck/htnet/HtCookie.cc 2009-10-26 18:27:21.740908128 +0100 +@@ -474,7 +474,7 @@ + HtCookie::DateFormat HtCookie::RecognizeDateFormat(const char *datestring) + { + +- register char *s; ++ register const char *s; + + if (datestring) + {