summaryrefslogtreecommitdiff
path: root/libs/libgpg-error/patches/025-Don-t-build-po.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-07-02 10:17:58 -0700
committerRafał Miłecki <rafal@milecki.pl>2020-05-08 11:05:32 +0200
commitb0d3b77f85f4fe50ecd86b5ef5055a10178db231 (patch)
tree81ba0b205557ca814e41032278d08079cd40ae2a /libs/libgpg-error/patches/025-Don-t-build-po.patch
parent540ebc3302f8c6620b98aac4b6bb244030775afd (diff)
libgpg-error: Fix compilation with GAWK 5.0lede-17.01
Patch from Upstream. Signed-off-by: Rosen Penev <rosenp@gmail.com> (cherry picked from commit 9afde0d39ae364c327063d36b188465058056a86) [rmilecki: autoreconf + po fix] Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'libs/libgpg-error/patches/025-Don-t-build-po.patch')
-rw-r--r--libs/libgpg-error/patches/025-Don-t-build-po.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/libs/libgpg-error/patches/025-Don-t-build-po.patch b/libs/libgpg-error/patches/025-Don-t-build-po.patch
new file mode 100644
index 000000000..73c502957
--- /dev/null
+++ b/libs/libgpg-error/patches/025-Don-t-build-po.patch
@@ -0,0 +1,29 @@
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
+Date: Wed, 6 May 2020 22:51:26 +0200
+Subject: [PATCH] Don't build po
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This is needed to fix:
+*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.17 but the autoconf macros are from gettext version 0.18
+
+Using PKG_FIXUP:=autoreconf doesn't regenrate Makefile.in.in so it
+results in GETTEXT_MACRO_VERSION mismatch. The same problem affected
+minidlna: 90d3ef2f7633 ("minidlna: exclude "po" directory to fix
+CONFIG_BUILD_NLS=y builds").
+
+Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
+---
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -33,7 +33,7 @@ else
+ lang_subdirs =
+ endif
+
+-SUBDIRS = m4 src tests po $(lang_subdirs)
++SUBDIRS = m4 src tests $(lang_subdirs)
+
+
+ dist-hook: gen-ChangeLog