[openwrt/openwrt] gettext-full: disable nameless locale define

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 15 05:25:39 GMT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6cd13be01492e330c2c2f3b00f06a2df347a9f63

commit 6cd13be01492e330c2c2f3b00f06a2df347a9f63
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat Mar 6 14:16:55 2021 -0800

    gettext-full: disable nameless locale define
    
    It seems some packages like transmission and json-glib fail with it
    enabled.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 package/libs/gettext-full/Makefile             | 2 +-
 package/libs/gettext-full/patches/010-m4.patch | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile
index eaedd4ed40..8111a36f5f 100644
--- a/package/libs/gettext-full/Makefile
+++ b/package/libs/gettext-full/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gettext-full
 PKG_VERSION:=0.21
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=gettext-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/gettext
diff --git a/package/libs/gettext-full/patches/010-m4.patch b/package/libs/gettext-full/patches/010-m4.patch
index d910ab7a21..6d08835e37 100644
--- a/package/libs/gettext-full/patches/010-m4.patch
+++ b/package/libs/gettext-full/patches/010-m4.patch
@@ -84,7 +84,7 @@
  	    -e 's,@''HAVE_SNPRINTF''@, at HAVE_SNPRINTF@,g' \
  	    -e 's,@''HAVE_WPRINTF''@, at HAVE_WPRINTF@,g' \
 -	    -e 's,@''HAVE_NAMELESS_LOCALES''@, at HAVE_NAMELESS_LOCALES@,g' \
-+	    -e 's,@''HAVE_NAMELESS_LOCALES''@,1,g' \
++	    -e 's,@''HAVE_NAMELESS_LOCALES''@,0,g' \
  	    -e 's,@''HAVE_NEWLOCALE''@, at HAVE_NEWLOCALE@,g' \
  	  < $(srcdir)/libgnuintl.in.h \
  	| if test '@WOE32DLL@' = yes; then \
@@ -93,7 +93,7 @@
  	    -e 's,@''HAVE_SNPRINTF''@, at HAVE_SNPRINTF@,g' \
  	    -e 's,@''HAVE_WPRINTF''@, at HAVE_WPRINTF@,g' \
 -	    -e 's,@''HAVE_NAMELESS_LOCALES''@, at HAVE_NAMELESS_LOCALES@,g' \
-+	    -e 's,@''HAVE_NAMELESS_LOCALES''@,1,g' \
++	    -e 's,@''HAVE_NAMELESS_LOCALES''@,0,g' \
  	    -e 's,@''HAVE_NEWLOCALE''@, at HAVE_NEWLOCALE@,g' \
  	  < $(srcdir)/libgnuintl.in.h > libintl.h
  MOSTLYCLEANFILES += libintl.h
@@ -278,7 +278,7 @@
  	    -e 's,@''HAVE_SNPRINTF''@, at HAVE_SNPRINTF@,g' \
  	    -e 's,@''HAVE_WPRINTF''@, at HAVE_WPRINTF@,g' \
 -	    -e 's,@''HAVE_NAMELESS_LOCALES''@, at HAVE_NAMELESS_LOCALES@,g' \
-+	    -e 's,@''HAVE_NAMELESS_LOCALES''@,1,g' \
++	    -e 's,@''HAVE_NAMELESS_LOCALES''@,0,g' \
  	    -e 's,@''HAVE_NEWLOCALE''@, at HAVE_NEWLOCALE@,g' \
  	  < $(srcdir)/libgnuintl.in.h \
  	| if test '@WOE32DLL@' = yes; then \
@@ -287,7 +287,7 @@
  	    -e 's,@''HAVE_SNPRINTF''@, at HAVE_SNPRINTF@,g' \
  	    -e 's,@''HAVE_WPRINTF''@, at HAVE_WPRINTF@,g' \
 -	    -e 's,@''HAVE_NAMELESS_LOCALES''@, at HAVE_NAMELESS_LOCALES@,g' \
-+	    -e 's,@''HAVE_NAMELESS_LOCALES''@,1,g' \
++	    -e 's,@''HAVE_NAMELESS_LOCALES''@,0,g' \
  	    -e 's,@''HAVE_NEWLOCALE''@, at HAVE_NEWLOCALE@,g' \
  	  < $(srcdir)/libgnuintl.in.h > libintl.h
  MOSTLYCLEANFILES += libintl.h



More information about the lede-commits mailing list