Blame SOURCES/lynx-2.8.8-locale.patch

85fd1a
From d8a64ed1d63710ad764fbf3b1fb28d08204f9e72 Mon Sep 17 00:00:00 2001
85fd1a
From: Kamil Dudka <kdudka@redhat.com>
85fd1a
Date: Wed, 13 Feb 2013 15:28:36 +0100
85fd1a
Subject: [PATCH] avoid build failure caused by mistakenly excluded <locale.h>
85fd1a
85fd1a
---
85fd1a
 src/LYMain.c |    2 +-
85fd1a
 1 files changed, 1 insertions(+), 1 deletions(-)
85fd1a
85fd1a
diff --git a/src/LYMain.c b/src/LYMain.c
85fd1a
index 9528be2..aaddb7b 100644
85fd1a
--- a/src/LYMain.c
85fd1a
+++ b/src/LYMain.c
85fd1a
@@ -58,7 +58,7 @@
85fd1a
 #include <io.h>
85fd1a
 #endif
85fd1a
 
85fd1a
-#if defined(LOCALE) && (!defined(HAVE_LIBINTL_H) || !defined(LC_ALL))
85fd1a
+#if defined(LOCALE)
85fd1a
 #undef gettext			/* Solaris locale.h prototypes gettext() */
85fd1a
 #include <locale.h>
85fd1a
 #ifndef HAVE_GETTEXT
85fd1a
-- 
85fd1a
1.7.1
85fd1a