summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-07-19 16:11:47 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-07-19 19:44:43 +0200
commit71965d3b87b6222fe78a3b31bb906ed70e1d85be (patch)
tree71d8f43ec1c3480327022c59dfc10657553faab9 /meta-oe
parentb12a5bbb3a3a2cc30a84f0f21c8f6bb059a4b915 (diff)
downloadmeta-openembedded-71965d3b87b6222fe78a3b31bb906ed70e1d85be.tar.gz
check: upgrade to 0.9.8 and fix build with new automake-1.12.x
* configure_fix.patch and check-m4-am-path-check-use-quadrigraphs-in-macro-names-to-unbreak-autoconf.patch were already resolved upstream Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/check/check-0.9.8/fix.automake-1.12.x.patch26
-rw-r--r--meta-oe/recipes-support/check/check_0.9.5.bb19
-rw-r--r--meta-oe/recipes-support/check/check_0.9.8.bb15
-rw-r--r--meta-oe/recipes-support/check/files/check-m4-am-path-check-use-quadrigraphs-in-macro-names-to-unbreak-autoconf.patch18
-rw-r--r--meta-oe/recipes-support/check/files/configure_fix.patch12
5 files changed, 41 insertions, 49 deletions
diff --git a/meta-oe/recipes-support/check/check-0.9.8/fix.automake-1.12.x.patch b/meta-oe/recipes-support/check/check-0.9.8/fix.automake-1.12.x.patch
new file mode 100644
index 000000000..e11aabee1
--- /dev/null
+++ b/meta-oe/recipes-support/check/check-0.9.8/fix.automake-1.12.x.patch
@@ -0,0 +1,26 @@
1Fixes this error:
2
3| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libcompat.la': linking libtool libraries using a non-POSIX
4| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
5| lib/Makefile.am:3: while processing Libtool library 'libcompat.la'
6| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libcheck.la': linking libtool libraries using a non-POSIX
7| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
8| src/Makefile.am:3: while processing Libtool library 'libcheck.la'
9| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libcheckinternal.la': linking libtool libraries using a non-POSIX
10| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
11| src/Makefile.am:4: while processing Libtool library 'libcheckinternal.la'
12| autoreconf: automake failed with exit status: 1
13
14Upstream-Status: Pending
15
16diff -uNr check-0.9.8.orig//configure.ac check-0.9.8/configure.ac
17--- check-0.9.8.orig//configure.ac 2009-09-23 12:50:08.000000000 +0200
18+++ check-0.9.8/configure.ac 2012-07-19 17:43:51.000000000 +0200
19@@ -102,6 +102,7 @@
20 AC_PROG_INSTALL
21 AC_PROG_LN_S
22 AC_PROG_LIBTOOL
23+AM_PROG_AR
24
25 # add these options to CFLAGS if the compiler supports them
26 AC_DEFUN([AX_CFLAGS_ADD],[AX_C_CHECK_FLAG($1, , , CFLAGS="$CFLAGS $1")])
diff --git a/meta-oe/recipes-support/check/check_0.9.5.bb b/meta-oe/recipes-support/check/check_0.9.5.bb
deleted file mode 100644
index 2f1ae940a..000000000
--- a/meta-oe/recipes-support/check/check_0.9.5.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1DESCRIPTION = "a unit test framework for C"
2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1"
4SECTION = "devel"
5
6PR = "r2"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \
9 file://configure_fix.patch \
10 file://check-m4-am-path-check-use-quadrigraphs-in-macro-names-to-unbreak-autoconf.patch \
11 "
12S = "${WORKDIR}/check-${PV}"
13
14inherit autotools pkgconfig
15
16EXTRA_OECONF += "--enable-plain-docdir"
17
18SRC_URI[md5sum] = "30143c7974b547a12a7da47809a90951"
19SRC_URI[sha256sum] = "961b3c66869018d02226bbbc394e79362cd898962ce810bce8417b3c497f7ad6"
diff --git a/meta-oe/recipes-support/check/check_0.9.8.bb b/meta-oe/recipes-support/check/check_0.9.8.bb
new file mode 100644
index 000000000..ca79740ef
--- /dev/null
+++ b/meta-oe/recipes-support/check/check_0.9.8.bb
@@ -0,0 +1,15 @@
1DESCRIPTION = "a unit test framework for C"
2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1"
4SECTION = "devel"
5
6SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \
7 file://fix.automake-1.12.x.patch \
8 "
9
10inherit autotools pkgconfig
11
12EXTRA_OECONF += "--enable-plain-docdir"
13
14SRC_URI[md5sum] = "5d75e9a6027cde79d2c339ef261e7470"
15SRC_URI[sha256sum] = "82acf956bb07584ffea2bf04d5989fe939c3e74ecf93133a21037fd0f7996a7f"
diff --git a/meta-oe/recipes-support/check/files/check-m4-am-path-check-use-quadrigraphs-in-macro-names-to-unbreak-autoconf.patch b/meta-oe/recipes-support/check/files/check-m4-am-path-check-use-quadrigraphs-in-macro-names-to-unbreak-autoconf.patch
deleted file mode 100644
index 61bdf1d42..000000000
--- a/meta-oe/recipes-support/check/files/check-m4-am-path-check-use-quadrigraphs-in-macro-names-to-unbreak-autoconf.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1Imported from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395466
2
3-Khem
4Index: check-0.9.5/check.m4
5===================================================================
6--- check-0.9.5.orig/check.m4
7+++ check-0.9.5/check.m4
8@@ -4,8 +4,8 @@ dnl
9
10 AC_DEFUN([AM_PATH_CHECK],
11 [
12- AC_MSG_WARN([[AM_PATH_CHECK() is deprecated]])
13- AC_MSG_WARN([[use PKG_CHECK_MODULES([CHECK], [check >= 0.9.4]) instead]])
14+ AC_MSG_WARN([A@&t@M_PATH_CHECK() is deprecated])
15+ AC_MSG_WARN([[use P@&t@KG_CHECK_MODULES([CHECK], [check >= 0.9.4]) instead]])
16 AC_ARG_WITH([check],
17 [ --with-check=PATH prefix where check is installed [default=auto]])
18
diff --git a/meta-oe/recipes-support/check/files/configure_fix.patch b/meta-oe/recipes-support/check/files/configure_fix.patch
deleted file mode 100644
index 3e79319d8..000000000
--- a/meta-oe/recipes-support/check/files/configure_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1Index: check-0.9.5/configure.ac
2===================================================================
3--- check-0.9.5.orig/configure.ac 2008-10-29 04:09:50.000000000 +0000
4+++ check-0.9.5/configure.ac 2008-10-29 04:10:06.000000000 +0000
5@@ -71,6 +71,7 @@
6 AC_PROG_INSTALL
7 AC_PROG_LN_S
8 AC_PROG_LIBTOOL
9+AM_PROG_CC_C_O
10 if test -n "$GCC"; then
11 CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings"
12 fi