[Top] [All Lists]

[patch 1/1] xfsdump: enable gettext

To: xfs@xxxxxxxxxxx
Subject: [patch 1/1] xfsdump: enable gettext
From: Ben Myers <bpm@xxxxxxx>
Date: Wed, 31 Oct 2012 17:15:14 -0500
Cc: Phil White <pwhite@xxxxxxx>
References: <20121031221513.348916389@xxxxxxx>
User-agent: quilt/0.48-1
ENABLE_GETTEXT was not being defined when --enable-gettext
was specified as a config option, neither the German or
Polish translations were working.  Add this define to

See commit e84ec15d in xfsprogs.

Signed-off-by: Ben Myers <bpm@xxxxxxx>
Index: xfsdump/include/builddefs.in
--- xfsdump.orig/include/builddefs.in
+++ xfsdump/include/builddefs.in
@@ -95,6 +95,10 @@ GCFLAGS = $(OPTIMIZER) $(DEBUG) \
          -DPACKAGE=\"$(PKG_NAME)\" -I$(TOPDIR)/include
+ifeq ($(ENABLE_GETTEXT),yes)
 # First, Global, Platform, Local CFLAGS

<Prev in Thread] Current Thread [Next in Thread>