summaryrefslogtreecommitdiff
path: root/devel/bison
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2000-02-03 18:45:37 +0000
committerjdolecek <jdolecek@pkgsrc.org>2000-02-03 18:45:37 +0000
commit4a1f68a37939494bd70f6d77428edfd0f961e69b (patch)
tree6a38b8186571d4d536a565e3bb54ad3d08b179f4 /devel/bison
parentc0cfc85bfd1285b78512280bb28c9c8c6124431e (diff)
downloadpkgsrc-4a1f68a37939494bd70f6d77428edfd0f961e69b.tar.gz
src/getopt.c: include "system.h" to get correct definition of _ macro -
the test here depends on HAVE_LIBINTL_H, which is not set by configure This change makes bison use the internationalized catalogs even for messages in getopt.c. Bug report submitted to bug-bison@gnu.org.
Diffstat (limited to 'devel/bison')
-rw-r--r--devel/bison/patches/patch-af11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/bison/patches/patch-af b/devel/bison/patches/patch-af
new file mode 100644
index 00000000000..60c919350e2
--- /dev/null
+++ b/devel/bison/patches/patch-af
@@ -0,0 +1,11 @@
+--- src/getopt.c.orig Thu Feb 3 19:23:10 2000
++++ src/getopt.c Thu Feb 3 19:23:25 2000
+@@ -79,6 +79,8 @@
+ # endif
+ #endif
+
++#include "system.h"
++
+ #ifndef _
+ /* This is for other GNU distributions with internationalized messages.
+ When compiling libc, the _ macro is predefined. */