소스 검색

bison: fix compilation with stub intl header

SVN-Revision: 25869
Jo-Philipp Wich 15 년 전
부모
커밋
200460fb54
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 15 0
      tools/bison/patches/010-intl-stub-compat.patch

+ 15 - 0
tools/bison/patches/010-intl-stub-compat.patch

@@ -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 ();
+