010-intl-stub-compat.patch 410 B

123456789101112131415
  1. --- a/src/main.c
  2. +++ b/src/main.c
  3. @@ -60,9 +60,9 @@
  4. {
  5. set_program_name (argv[0]);
  6. setlocale (LC_ALL, "");
  7. - (void) bindtextdomain (PACKAGE, LOCALEDIR);
  8. - (void) bindtextdomain ("bison-runtime", LOCALEDIR);
  9. - (void) textdomain (PACKAGE);
  10. + bindtextdomain (PACKAGE, LOCALEDIR);
  11. + bindtextdomain ("bison-runtime", LOCALEDIR);
  12. + textdomain (PACKAGE);
  13. {
  14. char const *cp = getenv ("LC_CTYPE");