gettext-full: disable nameless locale define
authorRosen Penev <rosenp@gmail.com>
Sat, 6 Mar 2021 22:16:55 +0000 (14:16 -0800)
committerPaul Spooren <mail@aparcar.org>
Mon, 15 Mar 2021 05:25:32 +0000 (19:25 -1000)
It seems some packages like transmission and json-glib fail with it
enabled.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
package/libs/gettext-full/Makefile
package/libs/gettext-full/patches/010-m4.patch

index eaedd4ed402d60f7911f0d90abdad371f937588b..8111a36f5f81ae6447fdee608dbdee92b72a3278 100644 (file)
@@ -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
index d910ab7a21e037fe2afa067aef1c9cbc7d4d6b38..6d08835e37d6a33aef99318734e05f893cf04121 100644 (file)
@@ -84,7 +84,7 @@
            -e 's,@''HAVE_SNPRINTF''@,@HAVE_SNPRINTF@,g' \
            -e 's,@''HAVE_WPRINTF''@,@HAVE_WPRINTF@,g' \
 -          -e 's,@''HAVE_NAMELESS_LOCALES''@,@HAVE_NAMELESS_LOCALES@,g' \
-+          -e 's,@''HAVE_NAMELESS_LOCALES''@,1,g' \
++          -e 's,@''HAVE_NAMELESS_LOCALES''@,0,g' \
            -e 's,@''HAVE_NEWLOCALE''@,@HAVE_NEWLOCALE@,g' \
          < $(srcdir)/libgnuintl.in.h \
        | if test '@WOE32DLL@' = yes; then \
@@ -93,7 +93,7 @@
            -e 's,@''HAVE_SNPRINTF''@,@HAVE_SNPRINTF@,g' \
            -e 's,@''HAVE_WPRINTF''@,@HAVE_WPRINTF@,g' \
 -          -e 's,@''HAVE_NAMELESS_LOCALES''@,@HAVE_NAMELESS_LOCALES@,g' \
-+          -e 's,@''HAVE_NAMELESS_LOCALES''@,1,g' \
++          -e 's,@''HAVE_NAMELESS_LOCALES''@,0,g' \
            -e 's,@''HAVE_NEWLOCALE''@,@HAVE_NEWLOCALE@,g' \
          < $(srcdir)/libgnuintl.in.h > libintl.h
  MOSTLYCLEANFILES += libintl.h
            -e 's,@''HAVE_SNPRINTF''@,@HAVE_SNPRINTF@,g' \
            -e 's,@''HAVE_WPRINTF''@,@HAVE_WPRINTF@,g' \
 -          -e 's,@''HAVE_NAMELESS_LOCALES''@,@HAVE_NAMELESS_LOCALES@,g' \
-+          -e 's,@''HAVE_NAMELESS_LOCALES''@,1,g' \
++          -e 's,@''HAVE_NAMELESS_LOCALES''@,0,g' \
            -e 's,@''HAVE_NEWLOCALE''@,@HAVE_NEWLOCALE@,g' \
          < $(srcdir)/libgnuintl.in.h \
        | if test '@WOE32DLL@' = yes; then \
            -e 's,@''HAVE_SNPRINTF''@,@HAVE_SNPRINTF@,g' \
            -e 's,@''HAVE_WPRINTF''@,@HAVE_WPRINTF@,g' \
 -          -e 's,@''HAVE_NAMELESS_LOCALES''@,@HAVE_NAMELESS_LOCALES@,g' \
-+          -e 's,@''HAVE_NAMELESS_LOCALES''@,1,g' \
++          -e 's,@''HAVE_NAMELESS_LOCALES''@,0,g' \
            -e 's,@''HAVE_NEWLOCALE''@,@HAVE_NEWLOCALE@,g' \
          < $(srcdir)/libgnuintl.in.h > libintl.h
  MOSTLYCLEANFILES += libintl.h