Index: lincity-1.13.1/configure.ac =================================================================== --- lincity-1.13.1.orig/configure.ac 2016-05-22 09:26:21.000000000 +0300 +++ lincity-1.13.1/configure.ac 2020-12-28 22:44:20.311340369 +0200 @@ -104,27 +104,7 @@ dnl ------------------------------------------------------- dnl Internationalization -dnl ALL_LINGUAS="ca" -AM_GNU_GETTEXT -dnl ------------------------------------------------------- -dnl GCS: I stole the following from freeciv -dnl Why doesn't AM_GNU_GETTEXT set LIBS appropriately -dnl when -lintl is required?? -dnl if test "$gt_cv_func_gettext_libintl" = "yes"; then -dnl LIBS="-lintl $LIBS" -dnl fi -dnl DATADIRNAME is generated by AM_GNU_GETTEXT; -dnl note this has to match the path installed by po/Makefile -FC_EXPAND_DIR(LOCALEDIR, '${prefix}/${DATADIRNAME}/locale') -AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR") - - -dnl ------------------------------------------------------- -dnl GCS May 05, 2003 -dnl Newest i18n hack (gettext 11.5 ??). Sigh. -dnl ------------------------------------------------------- -dnl AC_MSG_WARN([libintl is $LIBINTL]) -LIBS="$LIBS $LIBINTL" +AM_GNU_GETTEXT(external) dnl ------------------------------------------------------- dnl GCS Jan 19, 2003 @@ -136,7 +116,7 @@ dnl GCS Jan 19, 2003 dnl Remove internationalization. Pushed off to the next version. dnl ------------------------------------------------------- -AC_CONFIG_FILES([Makefile intl/Makefile po/Makefile.in m4/Makefile modules/Makefile]) +AC_CONFIG_FILES([Makefile po/Makefile.in m4/Makefile modules/Makefile]) dnl AC_CONFIG_FILES([Makefile]) Index: lincity-1.13.1/Makefile.am =================================================================== --- lincity-1.13.1.orig/Makefile.am 2020-12-28 21:57:59.021782701 +0200 +++ lincity-1.13.1/Makefile.am 2020-12-28 21:58:07.141507289 +0200 @@ -7,7 +7,7 @@ X_DEFS = -DLC_X11=1 -Wall SVGA_DEFS = -DSVGALIB=1 -SUBDIRS = m4 intl po modules +SUBDIRS = m4 po modules ## (deleted) ## acconfig.h \ Index: lincity-1.13.1/fileutil.c =================================================================== --- lincity-1.13.1.orig/fileutil.c 2004-07-03 11:26:33.000000000 +0300 +++ lincity-1.13.1/fileutil.c 2020-12-28 22:33:36.361210553 +0200 @@ -1,4 +1,4 @@ - /* ---------------------------------------------------------------------- * +/* ---------------------------------------------------------------------- * * fileutil.c * This file is part of lincity. * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001. @@ -550,11 +550,7 @@ /* Path for localization */ #if defined (ENABLE_NLS) -#if defined (WIN32) sprintf (lc_textdomain_directory, "%s%c%s", LIBDIR, PATH_SLASH, "locale"); -#else - strcpy (lc_textdomain_directory, LOCALEDIR); -#endif dm = bindtextdomain (PACKAGE, lc_textdomain_directory); debug_printf ("Bound textdomain directory is %s\n", dm); td = textdomain (PACKAGE);