diff options
Diffstat (limited to 'meta/packages/check')
-rw-r--r-- | meta/packages/check/check_0.9.5.bb | 19 | ||||
-rw-r--r-- | meta/packages/check/files/configure_fix.patch | 12 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/check/check_0.9.5.bb b/meta/packages/check/check_0.9.5.bb new file mode 100644 index 0000000000..eccb8b7582 --- /dev/null +++ b/meta/packages/check/check_0.9.5.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "a unit test framework for C" | ||
2 | LICENSE = "LGPL" | ||
3 | PRIORITY = "optional" | ||
4 | SECTION = "devel" | ||
5 | |||
6 | PR = "r1" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \ | ||
9 | file://configure_fix.patch;patch=1" | ||
10 | S = "${WORKDIR}/check-${PV}" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | EXTRA_OECONF += "--enable-plain-docdir" | ||
15 | |||
16 | do_stage() { | ||
17 | autotools_stage_all | ||
18 | } | ||
19 | |||
diff --git a/meta/packages/check/files/configure_fix.patch b/meta/packages/check/files/configure_fix.patch new file mode 100644 index 0000000000..3e79319d80 --- /dev/null +++ b/meta/packages/check/files/configure_fix.patch | |||
@@ -0,0 +1,12 @@ | |||
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 | ||