]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Fix a couple of Debian bootfloppies build issues relating to gettext.
authorNathan Scott <nathans@sgi.com>
Mon, 17 Feb 2003 05:54:23 +0000 (05:54 +0000)
committerNathan Scott <nathans@sgi.com>
Mon, 17 Feb 2003 05:54:23 +0000 (05:54 +0000)
debian/rules
include/platform_defs.h.in

index 8db48d9a4be3616faf4064a0c17ea13f2761fedf..f49b8bdf78da990c0fb8717aad49fc6b5312cd15 100755 (executable)
@@ -13,9 +13,7 @@ pkgbfs = DIST_ROOT=`pwd`/$(dirbfs); export DIST_ROOT;
 stdenv = @GZIP=-q; export GZIP;
 
 options = DEBUG=-DNDEBUG; DISTRIBUTION=debian; export DEBUG DISTRIBUTION;
-bfsopts = OPTIMIZER=-Os; LOCAL_CONFIGURE_OPTIONS= \
-         "--enable-shared-uuid=yes --enable-gettext=no"; \
-         $(options) export OPTIMIZER LOCAL_CONFIGURE_OPTIONS;
+bfsopts = OPTIMIZER=-Os; LOCAL_CONFIGURE_OPTIONS="--enable-shared-uuid=yes --enable-gettext=no"; $(options) export OPTIMIZER LOCAL_CONFIGURE_OPTIONS;
 checkdir = test -f debian/rules
 
 build: built
index 14f7ab97dd046052a76036c914e997eb5919d003..d4cac9b4954472308cb3afd470d74a1ca05f31a2 100644 (file)
@@ -148,6 +148,7 @@ typedef unsigned long long __psunsigned_t;
 # define textdomain(d)          do { } while (0)
 # define bindtextdomain(d,dir)  do { } while (0)
 #endif
+#include <locale.h>
 
 #ifdef DEBUG
 # define ASSERT                assert