diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-05-06 05:33:56 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-05-06 17:39:21 +0200 |
commit | a62bb794ddd955b23edead7e0f86cacd07d8f231 (patch) | |
tree | 0194f406893cd09b9fb1eee6a3573f157899ed64 /package/gettext/gettext-disable-tests.patch | |
parent | 4326f0020d31e17ccdc1ef991bbc50bdddc47abf (diff) |
gettext: fix build on !thread toolchains
Fixes the build visible at
http://autobuild.buildroot.org/results/0a14bf7c4ae145a9731118d9565e52d0bf70732d/build-end.log.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gettext/gettext-disable-tests.patch')
-rw-r--r-- | package/gettext/gettext-disable-tests.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/gettext/gettext-disable-tests.patch b/package/gettext/gettext-disable-tests.patch new file mode 100644 index 000000000..eded26134 --- /dev/null +++ b/package/gettext/gettext-disable-tests.patch @@ -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 <thomas.petazzoni@free-electrons.com> + +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". + |