]> git.pld-linux.org Git - packages/gettext.git/commitdiff
- fix gettext.m4, else coreutils (and probably other packages with gettextize)
authorsparky <sparky@pld-linux.org>
Tue, 31 Oct 2006 21:07:03 +0000 (21:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  fails to detect gettext support

Changed files:
    gettext-gettext.m4-fix.patch -> 1.4

gettext-gettext.m4-fix.patch [new file with mode: 0644]

diff --git a/gettext-gettext.m4-fix.patch b/gettext-gettext.m4-fix.patch
new file mode 100644 (file)
index 0000000..25b3cbe
--- /dev/null
@@ -0,0 +1,19 @@
+diff -Nur gettext-0.16.orig/gettext-runtime/m4/gettext.m4 gettext-0.16.gettext.m4-fix/gettext-runtime/m4/gettext.m4
+--- gettext-0.16.orig/gettext-runtime/m4/gettext.m4    2006-10-24 20:56:52.000000000 +0000
++++ gettext-0.16.gettext.m4-fix/gettext-runtime/m4/gettext.m4  2006-10-31 21:05:10.000000000 +0000
+@@ -137,12 +137,12 @@
+         dnl to fall back to GNU NLS library.
+         if test $gt_api_version -ge 3; then
+-          gt_revision_test_code='[[
++          gt_revision_test_code='
+ #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
+ #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
+ #endif
+-typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
+-]]'
++typedef int array [[2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]];
++'
+         else
+           gt_revision_test_code=
+         fi
This page took 0.141557 seconds and 4 git commands to generate.