Package: hydrogen Version: 0.9.3-5.1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu karmic ubuntu-patch
Hi, This is the patch that has been used in Ubuntu. As it's a bit different as the fix that has been put here, I send it to you. Cheers, fabrice *** /tmp/tmpU6zM9q In Ubuntu, we've applied the attached patch to achieve the following: * debian/patches/99_gcc-4.4.patch: patch src/lib/Object.cpp and src/lib/drivers/JackDriver.cpp to fix FTBFS with gcc 4.4 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') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
--- hydrogen-0.9.3.orig/debian/patches/99_gcc-4.4.patch +++ hydrogen-0.9.3/debian/patches/99_gcc-4.4.patch @@ -0,0 +1,22 @@ +diff -Nur -x '*.orig' -x '*~' hydrogen-0.9.3/build-tree/hydrogen-0.9.3/src/lib/Object.cpp hydrogen-0.9.3.new/build-tree/hydrogen-0.9.3/src/lib/Object.cpp +--- hydrogen-0.9.3/src/lib/Object.cpp 2005-10-17 22:32:04.000000000 +0000 ++++ hydrogen-0.9.3/src/lib/Object.cpp 2009-09-28 15:50:43.000000000 +0000 +@@ -26,6 +26,7 @@ + #include "config.h" + + #include <pthread.h> ++#include <cstdio> + + #ifdef WIN32 + #include <windows.h> +diff -Nur -x '*.orig' -x '*~' hydrogen-0.9.3/build-tree/hydrogen-0.9.3/src/lib/drivers/JackDriver.cpp hydrogen-0.9.3.new/build-tree/hydrogen-0.9.3/src/lib/drivers/JackDriver.cpp +--- hydrogen-0.9.3/src/lib/drivers/JackDriver.cpp 2009-09-28 15:49:59.000000000 +0000 ++++ hydrogen-0.9.3/src/lib/drivers/JackDriver.cpp 2009-09-28 15:49:59.000000000 +0000 +@@ -29,6 +29,7 @@ + #include <unistd.h> + #include "lib/Hydrogen.h" + #include "lib/Preferences.h" ++#include <cstdio> + + #ifdef LASH_SUPPORT + #include "lib/lash/LashClient.h"