aboutsummaryrefslogtreecommitdiffstats
path: root/community/cadaver/disable-nls.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/cadaver/disable-nls.patch')
-rw-r--r--community/cadaver/disable-nls.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/cadaver/disable-nls.patch b/community/cadaver/disable-nls.patch
new file mode 100644
index 0000000000..41e723973c
--- /dev/null
+++ b/community/cadaver/disable-nls.patch
@@ -0,0 +1,17 @@
+Fix building with --disable-nls.
+--- a/src/cadaver.c.~1~ 2007-08-22 14:17:27.000000000 +0200
++++ b/src/cadaver.c 2008-03-29 08:58:57.248793293 +0100
+@@ -838,11 +838,12 @@
+
+ progname = argv[0];
+
++#ifdef ENABLE_NLS
++
+ #ifdef HAVE_SETLOCALE
+ setlocale(LC_ALL, "");
+ #endif
+
+-#ifdef ENABLE_NLS
+ bindtextdomain(PACKAGE_NAME, LOCALEDIR);
+ textdomain(PACKAGE_NAME);
+ #endif /* ENABLE_NLS */