cadaver-0.23.2-disable-nls.patch 429 B

123456789101112131415161718
  1. Fix building with --disable-nls.
  2. --- cadaver-0.23.3/src/cadaver.c.~1~ 2007-08-22 14:17:27.000000000 +0200
  3. +++ cadaver-0.23.3/src/cadaver.c 2008-03-29 08:58:57.248793293 +0100
  4. @@ -838,11 +838,12 @@
  5. progname = argv[0];
  6. +#ifdef ENABLE_NLS
  7. +
  8. #ifdef HAVE_SETLOCALE
  9. setlocale(LC_ALL, "");
  10. #endif
  11. -#ifdef ENABLE_NLS
  12. bindtextdomain(PACKAGE_NAME, LOCALEDIR);
  13. textdomain(PACKAGE_NAME);
  14. #endif /* ENABLE_NLS */