[PATCH] gettext-full: disable nameless locale define

Rosen Penev rosenp at gmail.com
Sat Mar 6 22:16:55 GMT 2021


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
-- 
2.29.2




More information about the openwrt-devel mailing list