Thomas:

Thanks for the update.  I verified that your patch also fixes the
issue, and I updated our builds to use the same patch.  No reason to
be different.

Brian


On 12/30/10 04:08 PM, Thomas Dickey wrote:
On Thu, 30 Dec 2010, Brian Cameron wrote:


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.

This was fixed a different way in 2.8.8dev.1, e.g.,

--- LYMain.c 2009/06/30 08:35:34 1.204
+++ LYMain.c 2009/08/25 21:26:10 1.205
@@ -1,5 +1,5 @@
/*
- * $LynxId: LYMain.c,v 1.203 2009/06/07 16:01:30 tom Exp $
+ * $LynxId: LYMain.c,v 1.204 2009/06/30 08:35:34 tom Exp $
*/
#include <HTUtils.h>
#include <HTTP.h>
@@ -57,7 +57,7 @@
#include <io.h>
#endif

-#if defined(LOCALE) && !defined(HAVE_LIBINTL_H)
+#if defined(LOCALE) && (!defined(HAVE_LIBINTL_H) || !defined(LC_ALL))
#undef gettext /* Solaris locale.h prototypes gettext() */
#include <locale.h>
#ifndef HAVE_GETTEXT




_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to