lynx/lynx-2.8.8-locale.patch

26 lines
667 B
Diff
Raw Normal View History

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