Hi, attached is a patch that makes it build again
Cheers, Michael
diff -u cwidget-0.5.12/debian/rules cwidget-0.5.12/debian/rules --- cwidget-0.5.12/debian/rules +++ cwidget-0.5.12/debian/rules @@ -8,7 +8,7 @@ configure: configure-stamp configure-stamp: - ./configure --prefix=/usr + ./configure --prefix=/usr --disable-werror touch configure-stamp diff -u cwidget-0.5.12/debian/changelog cwidget-0.5.12/debian/changelog --- cwidget-0.5.12/debian/changelog +++ cwidget-0.5.12/debian/changelog @@ -1,3 +1,9 @@ +cwidget (0.5.12-4ubuntu2) karmic; urgency=low + + * fix build with gcc 4.4 (closes: #526674) + + -- Michael Vogt <michael.v...@ubuntu.com> Fri, 29 May 2009 08:24:29 +0200 + cwidget (0.5.12-4ubuntu1) jaunty; urgency=low * Merge from debian unstable (LP: #322918), Ubuntu remaining changes: only in patch2: unchanged: --- cwidget-0.5.12.orig/src/cwidget/widgets/multiplex.h +++ cwidget-0.5.12/src/cwidget/widgets/multiplex.h @@ -132,10 +132,10 @@ void add_widget_after(const widget_ref &widget, const widget_ref &after); - void add_widget_after_bare(widget &widget, + void add_widget_after_bare(widget &a_widget, widget &after) { - add_widget_after(widget_ref(&widget), widget_ref(&after)); + add_widget_after(widget_ref(&a_widget), widget_ref(&after)); } @@ -144,11 +144,11 @@ const std::wstring &title); - void add_widget_after_bare(widget &widget, + void add_widget_after_bare(widget &a_widget, widget &after, const std::wstring &title) { - add_widget_after(widget_ref(&widget), widget_ref(&after), title); + add_widget_after(widget_ref(&a_widget), widget_ref(&after), title); } only in patch2: unchanged: --- cwidget-0.5.12.orig/src/cwidget/generic/util/ssprintf.h +++ cwidget-0.5.12/src/cwidget/generic/util/ssprintf.h @@ -21,6 +21,8 @@ #define SSPRINTF_H #include <string> +#include <cstdarg> +#include <cstdio> namespace cwidget {