Package: darkice Version: 0.19-1 Severity: normal Tags: patch Hi,
thanks for maintaining darkice. During Ubuntu's rebuild test, darkice failed to build from source with gcc-4.4 (and newer eglibc)[1]. The reason is that the string functions have now a different signature for c++. I'm attaching a tiny patch to fix it. Cheers, Stefan. [1]: <https://edge.launchpad.net/ubuntu/+archive/test-rebuild-20090909/+build/1212877/+files/buildlog_ubuntu-karmic-amd64.darkice_0.19-1ubuntu2_FAILEDTOBUILD.txt.gz> -- System Information: Debian Release: squeeze/sid APT prefers karmic-updates APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31-10-generic (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
#! /bin/sh /usr/share/dpatch/dpatch-run ## fix_const.dpatch by <[email protected]> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad darkice-0.19~/src/Util.cpp darkice-0.19/src/Util.cpp --- darkice-0.19~/src/Util.cpp 2007-02-25 17:38:33.000000000 +0100 +++ darkice-0.19/src/Util.cpp 2009-09-26 19:48:07.000000000 +0200 @@ -296,7 +296,7 @@ unsigned int size; char * s; char * strdate; - char * last; + const char * last; time_t now; if ( !str ) {

