[oe-commits] Richard Purdie : diffutils: Remove rather bizzare gettext macros

git at git.openembedded.org git at git.openembedded.org
Wed Oct 17 16:45:16 UTC 2012


Module: openembedded-core.git
Branch: master-next
Commit: f3359753184d3a9f28c59ae6cd12e604c136e7a1
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f3359753184d3a9f28c59ae6cd12e604c136e7a1

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed Oct 17 13:52:21 2012 +0000

diffutils: Remove rather bizzare gettext macros

diffutils has a rather confused set of getext macros with different names and
strange conflicting version requirements. This patch removes the problematic
macros allowing it to 'gettextize' to the latest standard gettext code without
issue.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/diffutils/diffutils_3.2.bb |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/diffutils/diffutils_3.2.bb b/meta/recipes-extended/diffutils/diffutils_3.2.bb
index 74c371d..dc87190 100644
--- a/meta/recipes-extended/diffutils/diffutils_3.2.bb
+++ b/meta/recipes-extended/diffutils/diffutils_3.2.bb
@@ -3,6 +3,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 require diffutils.inc
 
+do_configure_prepend () {
+	# Need to remove gettext macros with weird mix of versions
+	for i in codeset.m4 gettext_gl.m4 intlmacosx.m4 inttypes-pri.m4 lib-ld_gl.m4 lib-prefix_gl.m4 po_gl.m4 ssize_t.m4 wchar_t.m4 wint_t.m4; do
+		rm ${S}/m4/$i
+	done
+}
+
 PR = "${INC_PR}.0"
 
 SRC_URI += "file://remove-gets.patch"





More information about the Openembedded-commits mailing list