diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-07-19 16:11:47 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-19 19:44:43 +0200 |
commit | 71965d3b87b6222fe78a3b31bb906ed70e1d85be (patch) | |
tree | 71d8f43ec1c3480327022c59dfc10657553faab9 /meta-oe | |
parent | b12a5bbb3a3a2cc30a84f0f21c8f6bb059a4b915 (diff) | |
download | meta-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')
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 @@ | |||
1 | Fixes 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 | |||
14 | Upstream-Status: Pending | ||
15 | |||
16 | diff -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 @@ | |||
1 | DESCRIPTION = "a unit test framework for C" | ||
2 | LICENSE = "LGPLv2.1" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1" | ||
4 | SECTION = "devel" | ||
5 | |||
6 | PR = "r2" | ||
7 | |||
8 | SRC_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 | " | ||
12 | S = "${WORKDIR}/check-${PV}" | ||
13 | |||
14 | inherit autotools pkgconfig | ||
15 | |||
16 | EXTRA_OECONF += "--enable-plain-docdir" | ||
17 | |||
18 | SRC_URI[md5sum] = "30143c7974b547a12a7da47809a90951" | ||
19 | SRC_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 @@ | |||
1 | DESCRIPTION = "a unit test framework for C" | ||
2 | LICENSE = "LGPLv2.1" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1" | ||
4 | SECTION = "devel" | ||
5 | |||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \ | ||
7 | file://fix.automake-1.12.x.patch \ | ||
8 | " | ||
9 | |||
10 | inherit autotools pkgconfig | ||
11 | |||
12 | EXTRA_OECONF += "--enable-plain-docdir" | ||
13 | |||
14 | SRC_URI[md5sum] = "5d75e9a6027cde79d2c339ef261e7470" | ||
15 | SRC_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 @@ | |||
1 | Imported from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395466 | ||
2 | |||
3 | -Khem | ||
4 | Index: 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 @@ | |||
1 | Index: 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 | ||