Skip to contentSkip to conversation

Pull request for branch for-2012.05/fix-gettext-no-thread

GIT PULL New Thomas Petazzoni 2 participants 3 messages May 6, 2012

lore
Share & tools
lore
#0 lore raw

The following changes since commit ed7b3362ad6dc33899766c803bba51240111aa43:

valgrind: fix build on PowerPC/uClibc (2012-05-06 11:49:19 +0200)

are available in the git repository at:

git://git.free-electrons.com/users/thomas-petazzoni/buildroot.git for-2012.05/fix-gettext-no-thread

for you to fetch changes up to 045b0f2f0b53edbc30d7f42e157488a5d18f52e8:

gettext: fix build on !thread toolchains (2012-05-06 17:33:15 +0200)

----------------------------------------------------------------
Thomas Petazzoni (1):
gettext: fix build on !thread toolchains

 package/gettext/gettext-disable-tests.patch |   37 +++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 package/gettext/gettext-disable-tests.patch

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/1 gettext: fix build on !thread toolchains

Fixes the build visible at
http://autobuild.buildroot.org/results/0a14bf7c4ae145a9731118d9565e52d0bf70732d/build-end.log.

---
 package/gettext/gettext-disable-tests.patch |   37 +++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 package/gettext/gettext-disable-tests.patch
package/gettext/gettext-disable-tests.patch new file +37 -0
new file mode 100644
index 0000000..eded261
@@ -0,0 +1,37 @@
+Disable gettext tests that require threads
+
+gettext fails to build with a toolchain with no threads support just
+because some gettext tests (that aren't used in Buildroot) require
+threads. We therefore disable the build of such tests.
+
+Since the change in Makefile.in is simple, we also make it in this
+patch, which avoids the need to autoreconf the gettext package.
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+
+Index: b/gettext-tools/Makefile.am
+===================================================================
+--- a/gettext-tools/Makefile.am
++++ b/gettext-tools/Makefile.am
+@@ -20,7 +20,7 @@
+ AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
+ ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4 -I gnulib-m4 -I libgettextpo/gnulib-m4
+ 
+-SUBDIRS = doc intl gnulib-lib libgrep libuniname src libgettextpo po projects misc man m4 tests examples
++SUBDIRS = doc intl gnulib-lib libgrep libuniname src libgettextpo po projects misc man m4 examples
+ 
+ EXTRA_DIST = misc/DISCLAIM
+ MOSTLYCLEANFILES = core *.stackdump
+Index: b/gettext-tools/Makefile.in
+===================================================================
+--- a/gettext-tools/Makefile.in
++++ b/gettext-tools/Makefile.in
+@@ -484,7 +484,7 @@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
+ ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4 -I gnulib-m4 -I libgettextpo/gnulib-m4
+-SUBDIRS = doc intl gnulib-lib libgrep libuniname src libgettextpo po projects misc man m4 tests examples
++SUBDIRS = doc intl gnulib-lib libgrep libuniname src libgettextpo po projects misc man m4 examples
+ 
+ # Allow users to use "gnulib-tool --update".
+ 
Signature · 1 line
1.7.9.5