gettext/gettext-xglade-include-expat-285701.patch
Jens Petersen a571464315 - buildrequire expat-devel
- add gettext-xglade-include-expat-285701.patch to include expat.h to get
    xgettext to dl the right libexpat (Nils Philippsen, #285701)
2007-09-12 12:49:55 +00:00

18 lines
484 B
Diff

diff -up gettext-0.16.1/gettext-tools/src/x-glade.c~ gettext-0.16.1/gettext-tools/src/x-glade.c
--- gettext-0.16.1/gettext-tools/src/x-glade.c~ 2006-11-28 03:02:08.000000000 +1000
+++ gettext-0.16.1/gettext-tools/src/x-glade.c 2007-09-12 22:40:26.000000000 +1000
@@ -28,10 +28,9 @@
#include <string.h>
#if DYNLOAD_LIBEXPAT
# include <dlfcn.h>
-#else
-# if HAVE_LIBEXPAT
-# include <expat.h>
-# endif
+#endif
+#if HAVE_LIBEXPAT
+# include <expat.h>
#endif
#include "message.h"