diff options
author | jdolecek <jdolecek> | 2000-02-03 18:45:37 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2000-02-03 18:45:37 +0000 |
commit | 1069efb791c88b4280d511b29a75e7b426997484 (patch) | |
tree | 6a38b8186571d4d536a565e3bb54ad3d08b179f4 /devel/bison | |
parent | b2c5c923e6fe264954f3b67af6a68c57633e9edd (diff) | |
download | pkgsrc-1069efb791c88b4280d511b29a75e7b426997484.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-af | 11 |
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. */ |