diff options
Diffstat (limited to 'dev-libs/libintl/files/libintl-0.19.5-langinfo.patch')
-rw-r--r-- | dev-libs/libintl/files/libintl-0.19.5-langinfo.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-libs/libintl/files/libintl-0.19.5-langinfo.patch b/dev-libs/libintl/files/libintl-0.19.5-langinfo.patch deleted file mode 100644 index bf96e69f924c..000000000000 --- a/dev-libs/libintl/files/libintl-0.19.5-langinfo.patch +++ /dev/null @@ -1,35 +0,0 @@ -this has been sent upstream - -From eac944b0757963ac1ba035ea72617734510ede22 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <vapier@chromium.org> -Date: Mon, 12 Oct 2015 17:58:51 -0400 -Subject: [PATCH] intl/localename: control langinfo.h inclusion - -This header is only used to work around buggy behavior in old versions -of glibc, so do not include it all the time. Otherwise we get build -failures on systems that do not provide langinfo.h. - -* gettext-runtime/intl/localename.c: Wrap langinfo.h include with same -ifdefs used in the source later on. ---- - gettext-runtime/intl/localename.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/gettext-runtime/intl/localename.c b/gettext-runtime/intl/localename.c -index f8cf3f2..c27be86 100644 ---- a/gettext-runtime/intl/localename.c -+++ b/gettext-runtime/intl/localename.c -@@ -38,7 +38,9 @@ - # if defined __APPLE__ && defined __MACH__ - # include <xlocale.h> - # endif --# include <langinfo.h> -+# if __GLIBC__ >= 2 && !defined __UCLIBC__ -+# include <langinfo.h> -+# endif - # if !defined IN_LIBINTL - # include "glthread/lock.h" - # endif --- -2.5.2 - |