Patchwork [1/1] gettext: Get gettext use its own libunistring

login
register
mail settings
Submitter wenzong.fan@windriver.com
Date Feb. 14, 2012, 7:56 a.m.
Message ID <f979f6c2856e5eadd30ab62a34b8ad8857186d01.1329185588.git.wenzong.fan@windriver.com>
Download mbox | patch
Permalink /patch/21231/
State Accepted
Commit f4f242cf8af9df3dc2394d245740b173f34cbf81
Headers show

Comments

wenzong.fan@windriver.com - Feb. 14, 2012, 7:56 a.m.
From: Wenzong Fan <wenzong.fan@windriver.com>

According to its documentation, gettext 0.18.1.1 needs either
libunistring or it will use its own internal version. Just add
a configure option '--with-included-libunistring' to force the
latter to avoid races.

[YOCTO#1934]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-core/gettext/gettext_0.18.1.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-core/gettext/gettext_0.18.1.1.bb b/meta/recipes-core/gettext/gettext_0.18.1.1.bb
index 615582e..3c65dca 100644
--- a/meta/recipes-core/gettext/gettext_0.18.1.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.18.1.1.bb
@@ -5,7 +5,7 @@  SECTION = "libs"
 LICENSE = "GPL-3+ & LGPL-2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-PR = "r6"
+PR = "r7"
 DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat"
 DEPENDS_virtclass-native = "libxml2-native"
 PROVIDES = "virtual/libintl virtual/gettext"
@@ -38,6 +38,7 @@  EXTRA_OECONF += "--without-lispdir \
                  --without-git \
                  --with-included-libxml \
                  --with-included-libcroco \
+                 --with-included-libunistring \
                 "
 
 acpaths = '-I ${S}/gettext-runtime/m4 \