1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 12:25:20 +02:00
openwrt-xburst/tools/bison/patches/010-intl-stub-compat.patch
jow d8913862bf [tools] bison: fix compilation with stub intl header
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 20:37:15 +00:00

16 lines
410 B
Diff

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