Follow-up Comment #3, bug #9994 (project wesnoth):

here is the configure args.

export LDFLAGS="-L/usr/local/lib -pthread -lm -lutil"
export LIBINTL="-L/usr/local/lib -lintl -liconv"

./configure --with-preferences-dir=.wesnoth-1.3 --program-suffix=-1.3
--with-datadir-name=wesnoth-1.3 --prefix=/tmp/wesnoth13 --enable-debug
--enable-server --enable-campaign-server --enable-editor --with-gnome
--with-kde --with-fifodir=/var/run

and the patches i applied.

configure:
-       CXXFLAGS="-O2 -W -Wall -ansi $CXXFLAGS"
+       CXXFLAGS="-W -Wall -ansi $CXXFLAGS"


src/help.cpp:
-#include <locale>
+#include <locale.h>


src/language.cpp:
-#ifdef __BEOS__
        if(setenv ("LANG", locale, 1) == -1)
                std::cerr << "setenv LANG failed: " << strerror(errno);
        if(setenv ("LC_ALL", locale, 1) == -1)
                std::cerr << "setenv LC_ALL failed: " << strerror(errno);
-#endif

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9994>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to