summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcheck
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:38:32 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:50:20 +0100
commite2e6f6fe07049f33cb6348780fa975162752e421 (patch)
treeb1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-support/libcheck
downloadpoky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-support/libcheck')
-rw-r--r--meta/recipes-support/libcheck/libcheck/libcheck_fix_for_automake-1.12.patch26
-rw-r--r--meta/recipes-support/libcheck/libcheck_0.9.10.bb22
2 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-support/libcheck/libcheck/libcheck_fix_for_automake-1.12.patch b/meta/recipes-support/libcheck/libcheck/libcheck_fix_for_automake-1.12.patch
new file mode 100644
index 0000000000..263f6d6f0d
--- /dev/null
+++ b/meta/recipes-support/libcheck/libcheck/libcheck_fix_for_automake-1.12.patch
@@ -0,0 +1,26 @@
1Upstream-Status: Pending
2
3This patch fixes following issue with automake 1.12
4
5| automake: warnings are treated as errors
6| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libcompat.la': linking libtool libraries using a non-POSIX
7| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
8
9Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
102012/05/03
11
12Index: check-0.9.8/configure.ac
13===================================================================
14--- check-0.9.8.orig/configure.ac
15+++ check-0.9.8/configure.ac
16@@ -103,6 +103,10 @@ AC_PROG_INSTALL
17 AC_PROG_LN_S
18 AC_PROG_LIBTOOL
19
20+# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
21+m4_pattern_allow([AM_PROG_AR])
22+AM_PROG_AR
23+
24 # add these options to CFLAGS if the compiler supports them
25 AC_DEFUN([AX_CFLAGS_ADD],[AX_C_CHECK_FLAG($1, , , CFLAGS="$CFLAGS $1")])
26 AX_CFLAGS_WARN_ALL_ANSI
diff --git a/meta/recipes-support/libcheck/libcheck_0.9.10.bb b/meta/recipes-support/libcheck/libcheck_0.9.10.bb
new file mode 100644
index 0000000000..a22271ab26
--- /dev/null
+++ b/meta/recipes-support/libcheck/libcheck_0.9.10.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "Check Test Framework"
2HOMEPAGE = "http://check.sourceforge.net/"
3SECTION = "devel"
4
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \
9 file://libcheck_fix_for_automake-1.12.patch \
10 "
11
12SRC_URI[md5sum] = "6d10a8efb9a683467b92b3bce97aeb30"
13SRC_URI[sha256sum] = "823819235753e94ae0bcab3c46cc209de166c32ff2f52cefe120597db4403e6d"
14
15S = "${WORKDIR}/check-${PV}"
16
17inherit autotools pkgconfig
18
19CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk"
20
21RREPLACES_${PN} = "check (<= 0.9.5)"
22RDEPENDS_${PN} += "gawk"