[OE-core] [PATCH 5/5] systemtap: fix builds with newer gettext

Alexander Kanavin alex.kanavin at gmail.com
Tue Dec 17 16:00:12 UTC 2019


Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
---
 ...-LINGUAS-drop-the-polish-translation.patch | 27 +++++++++++++++++++
 .../systemtap/systemtap_git.inc               |  1 +
 2 files changed, 28 insertions(+)
 create mode 100644 meta/recipes-kernel/systemtap/systemtap/0001-po-LINGUAS-drop-the-polish-translation.patch

diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-po-LINGUAS-drop-the-polish-translation.patch b/meta/recipes-kernel/systemtap/systemtap/0001-po-LINGUAS-drop-the-polish-translation.patch
new file mode 100644
index 00000000000..b2114abc379
--- /dev/null
+++ b/meta/recipes-kernel/systemtap/systemtap/0001-po-LINGUAS-drop-the-polish-translation.patch
@@ -0,0 +1,27 @@
+From b9ba80a22bd4ac3438ad38819cbe550ec9e8a3f8 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin at gmail.com>
+Date: Mon, 16 Dec 2019 13:59:47 +0100
+Subject: [PATCH] po/LINGUAS: drop the polish translation
+
+There are no actual translated strings, and newer gettext (0.20)
+fails in this case.
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
+---
+ po/LINGUAS | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/po/LINGUAS b/po/LINGUAS
+index 6f927b706..aa01eb56e 100644
+--- a/po/LINGUAS
++++ b/po/LINGUAS
+@@ -1,5 +1,4 @@
+ en
+-pl
+ fr
+ cs
+ 
+-- 
+2.17.1
+
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc
index 116e83fe0ff..85c204ed238 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.inc
+++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
@@ -7,6 +7,7 @@ SRC_URI = "git://sourceware.org/git/systemtap.git \
            file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
            file://0001-Install-python-modules-to-correct-library-dir.patch \
            file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
+           file://0001-po-LINGUAS-drop-the-polish-translation.patch \
            "
 
 COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips).*-linux'
-- 
2.17.1



More information about the Openembedded-core mailing list