Package: cdrdao
Version: 1:1.2.2-18
Severity: normal
Tags: patch
User: [email protected]
Usertags: lucid ubuntu-patch
Hello,
The bug title is misleading; the real cause of this build failure is that
libsigc++'s API has changed in the most recent upstream release. Please
find attached a patch in Ubuntu that fixes this issue.
The corresponding changelog entry is:
* debian/patches/SigC_namespace: the libsigc++ namespace has changed from
SigC to sigc in the new upstream release, and slots are now templated;
update the code accordingly. LP: #534300.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
=== added file 'debian/patches/SigC_namespace'
--- debian/patches/SigC_namespace 1970-01-01 00:00:00 +0000
+++ debian/patches/SigC_namespace 2010-03-11 02:27:01 +0000
@@ -0,0 +1,16 @@
+Author: Steve Langasek <[email protected]>
+Description: Fix build failures with sigc++ 2.2.4.2. (LP: #534300).
+
+Index: cdrdao/xdao/xcdrdao.cc
+===================================================================
+--- cdrdao.orig/xdao/xcdrdao.cc
++++ cdrdao/xdao/xcdrdao.cc
+@@ -136,7 +136,7 @@
+ installSignalHandler(SIGCHLD, signalHandler);
+
+ // setup periodic GUI updates
+- Glib::signal_timeout().connect(SigC::slot(&guiUpdatePeriodic), 2000);
++ Glib::signal_timeout().connect(sigc::slot<bool>(&guiUpdatePeriodic), 2000);
+
+ installSignalHandler(SIGPIPE, SIG_IGN);
+
=== modified file 'debian/patches/series'
--- debian/patches/series 2009-10-03 01:40:01 +0000
+++ debian/patches/series 2010-03-11 01:58:50 +0000
@@ -11,3 +11,4 @@
11-rules-mips.patch
12-rules-s390.patch
13-rename-functions.patch
+SigC_namespace