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.
This commit is contained in:
parent
c0cfc85bfd
commit
4a1f68a379
1 changed files with 11 additions and 0 deletions
11
devel/bison/patches/patch-af
Normal file
11
devel/bison/patches/patch-af
Normal file
|
@ -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. */
|
Loading…
Reference in a new issue