bison: fix compilation with stub intl header
SVN-Revision: 25869
This commit is contained in:
parent
45591c54c4
commit
200460fb54
1 changed files with 15 additions and 0 deletions
15
tools/bison/patches/010-intl-stub-compat.patch
Normal file
15
tools/bison/patches/010-intl-stub-compat.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- a/src/main.c
|
||||||
|
+++ b/src/main.c
|
||||||
|
@@ -57,9 +57,9 @@ main (int argc, char *argv[])
|
||||||
|
{
|
||||||
|
program_name = argv[0];
|
||||||
|
setlocale (LC_ALL, "");
|
||||||
|
- (void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
- (void) bindtextdomain ("bison-runtime", LOCALEDIR);
|
||||||
|
- (void) textdomain (PACKAGE);
|
||||||
|
+ bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
+ bindtextdomain ("bison-runtime", LOCALEDIR);
|
||||||
|
+ textdomain (PACKAGE);
|
||||||
|
|
||||||
|
uniqstrs_new ();
|
||||||
|
|
Loading…
Reference in a new issue