Lynx Developers:

The lynx 2.8.7 program fails to compile on Solaris due an issue with
how LOCALE support is compiled.  The compile of LYMain.c fails
with this error:

pkgbuild: "LYMain.c", line 941: undefined symbol: LC_ALL

Fixing an #ifdef corrects this issue.  See attached patch.

Can this go upstream?

Thanks,

Brian

P.S.  I'm not on this mailing list so please cc: me on any response.
--- lynx2-8-7/src/LYMain.c-orig 2010-01-27 18:32:32.725470407 -0600
+++ lynx2-8-7/src/LYMain.c      2010-01-27 18:33:17.861726632 -0600
@@ -935,7 +935,7 @@ static void append_ssl_version(char **ta
 
 static void SetLocale(void)
 {
-#ifdef LOCALE
+#if defined(LOCALE) && !defined(HAVE_LIBINTL_H)
     /*
      * LOCALE support for international characters.
      */
_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to