tag 421139 patch thanks For some reason, including <libgnome/libgnome.h> *before* "gm-support.h" undefines the gettext alias _ (or keeps it from being defined at all, I don't know).
Changing the order of the includes allows the package to build. I have done no further testing of the resulting package. -------------------------------------------------------------------- diff -r 4adf809f4cad debian/changelog --- a/debian/changelog Sat May 05 14:01:40 2007 -0500 +++ b/debian/changelog Sat May 05 23:39:53 2007 -0500 @@ -1,3 +1,15 @@ gnoemoe (2.2.0+dfsg-1) unstable; urgency +gnoemoe (2.2.0+dfsg-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Move #include <libgnome/libgnome.h> after + #include "gm-support.h" in + gnoemoe/dialogs/gm-world-info-dialog.c + gnoemoe/gm-app.c + Otherwise, the gettext _ function gets undefined + (Closes: #421139). + + -- Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> Sat, 5 May 2007 23:39:44 -0500 + gnoemoe (2.2.0+dfsg-1) unstable; urgency=low [ Jesse van den Kieboom ] diff -r 4adf809f4cad gnoemoe/dialogs/gm-world-info-dialog.c --- a/gnoemoe/dialogs/gm-world-info-dialog.c Sat May 05 14:01:40 2007 -0500 +++ b/gnoemoe/dialogs/gm-world-info-dialog.c Sat May 05 23:18:45 2007 -0500 @@ -4,13 +4,13 @@ #include <gtk/gtk.h> #include <glade/glade.h> -#include <libgnome/libgnome.h> #include "gm-world-info-dialog.h" #include "gm-world.h" #include "gm-support.h" #include "gm-pixbuf.h" #include "gm-debug.h" +#include <libgnome/libgnome.h> #define GM_WORLD_INFO_DIALOG_XML PACKAGE_DATA_DIR "/" PACKAGE "/ui/gm-world-info.glade" diff -r 4adf809f4cad gnoemoe/gm-app.c --- a/gnoemoe/gm-app.c Sat May 05 14:01:40 2007 -0500 +++ b/gnoemoe/gm-app.c Sat May 05 23:21:05 2007 -0500 @@ -3,7 +3,7 @@ #endif #include <gtk/gtk.h> -#include <libgnome/libgnome.h> + #include <libgnomevfs/gnome-vfs.h> #include <libgnomeui/libgnomeui.h> #include <strings.h> @@ -19,7 +19,7 @@ #include "gm-pixbuf.h" #include "gm-support.h" #include "gm-scripts.h" - +#include <libgnome/libgnome.h> static gchar *debug_level = NULL; static gboolean show_version = FALSE; static gboolean recover = FALSE; --------------------------------------------------------------------
signature.asc
Description: Digital signature