mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
check: import from OE rev d4f0211e2078d5033ae0dee74664de5520d8392d
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
20
meta-oe/recipes-support/check/check_0.9.5.bb
Normal file
20
meta-oe/recipes-support/check/check_0.9.5.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "a unit test framework for C"
|
||||
LICENSE = "LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
||||
PRIORITY = "optional"
|
||||
SECTION = "devel"
|
||||
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \
|
||||
file://configure_fix.patch \
|
||||
file://check-m4-am-path-check-use-quadrigraphs-in-macro-names-to-unbreak-autoconf.patch \
|
||||
"
|
||||
S = "${WORKDIR}/check-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF += "--enable-plain-docdir"
|
||||
|
||||
SRC_URI[md5sum] = "30143c7974b547a12a7da47809a90951"
|
||||
SRC_URI[sha256sum] = "961b3c66869018d02226bbbc394e79362cd898962ce810bce8417b3c497f7ad6"
|
||||
@@ -0,0 +1,18 @@
|
||||
Imported from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395466
|
||||
|
||||
-Khem
|
||||
Index: check-0.9.5/check.m4
|
||||
===================================================================
|
||||
--- check-0.9.5.orig/check.m4
|
||||
+++ check-0.9.5/check.m4
|
||||
@@ -4,8 +4,8 @@ dnl
|
||||
|
||||
AC_DEFUN([AM_PATH_CHECK],
|
||||
[
|
||||
- AC_MSG_WARN([[AM_PATH_CHECK() is deprecated]])
|
||||
- AC_MSG_WARN([[use PKG_CHECK_MODULES([CHECK], [check >= 0.9.4]) instead]])
|
||||
+ AC_MSG_WARN([A@&t@M_PATH_CHECK() is deprecated])
|
||||
+ AC_MSG_WARN([[use P@&t@KG_CHECK_MODULES([CHECK], [check >= 0.9.4]) instead]])
|
||||
AC_ARG_WITH([check],
|
||||
[ --with-check=PATH prefix where check is installed [default=auto]])
|
||||
|
||||
12
meta-oe/recipes-support/check/files/configure_fix.patch
Normal file
12
meta-oe/recipes-support/check/files/configure_fix.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
Index: check-0.9.5/configure.ac
|
||||
===================================================================
|
||||
--- check-0.9.5.orig/configure.ac 2008-10-29 04:09:50.000000000 +0000
|
||||
+++ check-0.9.5/configure.ac 2008-10-29 04:10:06.000000000 +0000
|
||||
@@ -71,6 +71,7 @@
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_LIBTOOL
|
||||
+AM_PROG_CC_C_O
|
||||
if test -n "$GCC"; then
|
||||
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings"
|
||||
fi
|
||||
Reference in New Issue
Block a user