summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/check
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/check')
-rw-r--r--dev-libs/check/Manifest5
-rw-r--r--dev-libs/check/check-0.10.0.ebuild63
-rw-r--r--dev-libs/check/check-0.9.11.ebuild53
-rw-r--r--dev-libs/check/check-0.9.12.ebuild53
-rw-r--r--dev-libs/check/check-0.9.13-r1.ebuild63
-rw-r--r--dev-libs/check/check-0.9.13.ebuild63
-rw-r--r--dev-libs/check/check-0.9.8-r1.ebuild52
-rw-r--r--dev-libs/check/files/check-0.9.10-AM_PATH_CHECK.patch33
-rw-r--r--dev-libs/check/files/check-0.9.6-64bitsafe.patch13
-rw-r--r--dev-libs/check/files/check-0.9.6-AM_PATH_CHECK.patch12
-rw-r--r--dev-libs/check/metadata.xml14
11 files changed, 424 insertions, 0 deletions
diff --git a/dev-libs/check/Manifest b/dev-libs/check/Manifest
new file mode 100644
index 00000000000..4085c816042
--- /dev/null
+++ b/dev-libs/check/Manifest
@@ -0,0 +1,5 @@
+DIST check-0.10.0.tar.gz 769119 SHA256 f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052 SHA512 82103a98382c41cf16f172ded66c0399d3da6eceb6728aab11120c028e8796f6d545a98dc4aa5f76ee68c0bfd1f842a4dd371f5d670c8ba84ce4209812bf1ac5 WHIRLPOOL d3399a2500a4a1f6fa8865fe75af67e98a22587edd2525d144f4f403dd313cc59b7622cd77cfd885b9e3dfd737e2bef5366d28062b2975c882ffac6253b02b29
+DIST check-0.9.11.tar.gz 691146 SHA256 ea4e8c7ffb00bb4ffb3f59f11744a71f1cc4212c79f3083c7d9a4b0953976936 SHA512 10883709463b76f6650197db989c348d9d07ccaa2cacc0bd6bd177bbcc1e9e0d88746c2e110e620ab18c23cb5f41b95797d60d77de279af1a810a42b355b742e WHIRLPOOL 9559104a68b2f1215e9b00affb4711a69bf3e4e94e0ec894de66f0f77b5637187bb183560e29d0a889ff04d0e07f2785fc407128dee1ba74d584ce9a0ff9a3b1
+DIST check-0.9.12.tar.gz 730404 SHA256 c7d47e55e133a0ca19a52e08a99333ac55cb22618b53719b7f4117a1875b1ea3 SHA512 698e6cfdf24b07340fb4fa77f49811053f8307d3baca8bdcdde5e3dfe1f910bbadb6a393f03020d8b18c22e7e164d40f6bbbeb9659908b0df8459e5c4850fa50 WHIRLPOOL 4994c444532e1337bcda5e632d532ffd6aae59de866009b5bce3d1f25988dd203d04136dd451b6d24c6e32775159772d1c98097ff618a5cc559fca9725ad18ed
+DIST check-0.9.13.tar.gz 752880 SHA256 ca6589c34f9c60ffd4c3e198ce581e944a9f040ca9352ed54068dd61bebb5cb7 SHA512 a0ff64110c52fd600a8a956c2d56589e6e65ff0072b34f33e0299b4f9a2ac0a93a330b0c8cbf3645c02d0c9c748c71704bd3a8825eec22eb2f22ad99bcffa551 WHIRLPOOL 9f7f42ca4106deabe57051e84cec4f0a838847c45308baaf8cb4441e30667016fa95b1b2705b42dc494af8e9a22aea5d6733de71cd99ec0025652da53756275d
+DIST check-0.9.8.tar.gz 558943 SHA256 82acf956bb07584ffea2bf04d5989fe939c3e74ecf93133a21037fd0f7996a7f SHA512 a8ef659411c18f8af77006a51fe14741b990e7486c3e5c1e97cd2a100a603483ba9854c2f23bd9a5e834e133ca0dcc3ae15f41856339ab3b82a75ad769a872a2 WHIRLPOOL fdc06bd44f041153f655c577c55825afb2d2b79ff066427cd224b5a6d351f9da076d39807f434d2e22e1b6b54c6bc774744c8210dc318e493b9241bb5d7ded84
diff --git a/dev-libs/check/check-0.10.0.ebuild b/dev-libs/check/check-0.10.0.ebuild
new file mode 100644
index 00000000000..edfe254a690
--- /dev/null
+++ b/dev-libs/check/check-0.10.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+
+inherit autotools autotools-multilib eutils
+
+DESCRIPTION="A unit test framework for C"
+HOMEPAGE="http://sourceforge.net/projects/check/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs subunit"
+
+DEPEND="subunit? ( >=dev-python/subunit-0.0.10-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ # See multilib_src_test(), disable sleep()-based tests because they
+ # just take a long time doing pretty much nothing.
+ export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}"
+}
+
+src_prepare() {
+ sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
+
+ # fix out-of-sourcedir build having inconsistent check.h files, for
+ # example breaks USE=subunit.
+ rm src/check.h || die
+
+ # Fix automake warnings being treated as errors, bug #420373
+ sed -i -e s/-Werror// configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-dependency-tracking
+ $(use_enable subunit)
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ )
+ autotools-multilib_src_configure
+}
+
+multilib_src_test() {
+ elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run the"
+ elog "entire testsuite for dev-libs/check, ensure that"
+ elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS."
+ default_src_test
+}
+
+src_install() {
+ autotools-multilib_src_install
+ dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
+
+ rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
+}
diff --git a/dev-libs/check/check-0.9.11.ebuild b/dev-libs/check/check-0.9.11.ebuild
new file mode 100644
index 00000000000..d0f99881189
--- /dev/null
+++ b/dev-libs/check/check-0.9.11.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+
+inherit autotools autotools-multilib eutils
+
+DESCRIPTION="A unit test framework for C"
+HOMEPAGE="http://sourceforge.net/projects/check/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs subunit"
+
+DEPEND="subunit? ( dev-python/subunit )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.9.10-AM_PATH_CHECK.patch
+
+ sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
+
+ # fix out-of-sourcedir build having inconsistent check.h files, for
+ # example breaks USE=subunit.
+ rm src/check.h || die
+
+ # Fix automake warnings being treated as errors, bug #420373
+ sed -i -e s/-Werror// configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-dependency-tracking
+ $(use_enable subunit)
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ )
+ autotools-multilib_src_configure
+}
+
+src_install() {
+ autotools-multilib_src_install
+ dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
+
+ rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
+}
diff --git a/dev-libs/check/check-0.9.12.ebuild b/dev-libs/check/check-0.9.12.ebuild
new file mode 100644
index 00000000000..375ed4afc1c
--- /dev/null
+++ b/dev-libs/check/check-0.9.12.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+
+inherit autotools autotools-multilib eutils
+
+DESCRIPTION="A unit test framework for C"
+HOMEPAGE="http://sourceforge.net/projects/check/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs subunit"
+
+DEPEND="subunit? ( dev-python/subunit )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.9.10-AM_PATH_CHECK.patch
+
+ sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
+
+ # fix out-of-sourcedir build having inconsistent check.h files, for
+ # example breaks USE=subunit.
+ rm src/check.h || die
+
+ # Fix automake warnings being treated as errors, bug #420373
+ sed -i -e s/-Werror// configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-dependency-tracking
+ $(use_enable subunit)
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ )
+ autotools-multilib_src_configure
+}
+
+src_install() {
+ autotools-multilib_src_install
+ dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
+
+ rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
+}
diff --git a/dev-libs/check/check-0.9.13-r1.ebuild b/dev-libs/check/check-0.9.13-r1.ebuild
new file mode 100644
index 00000000000..ba016495e6c
--- /dev/null
+++ b/dev-libs/check/check-0.9.13-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+
+inherit autotools autotools-multilib eutils
+
+DESCRIPTION="A unit test framework for C"
+HOMEPAGE="http://sourceforge.net/projects/check/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs subunit"
+
+DEPEND="subunit? ( >=dev-python/subunit-0.0.10-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ # See multilib_src_test(), disable sleep()-based tests because they
+ # just take a long time doing pretty much nothing.
+ export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}"
+}
+
+src_prepare() {
+ sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
+
+ # fix out-of-sourcedir build having inconsistent check.h files, for
+ # example breaks USE=subunit.
+ rm src/check.h || die
+
+ # Fix automake warnings being treated as errors, bug #420373
+ sed -i -e s/-Werror// configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-dependency-tracking
+ $(use_enable subunit)
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ )
+ autotools-multilib_src_configure
+}
+
+multilib_src_test() {
+ elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run the"
+ elog "entire testsuite for dev-libs/check, ensure that"
+ elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS."
+ default_src_test
+}
+
+src_install() {
+ autotools-multilib_src_install
+ dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
+
+ rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
+}
diff --git a/dev-libs/check/check-0.9.13.ebuild b/dev-libs/check/check-0.9.13.ebuild
new file mode 100644
index 00000000000..a53189f7f9c
--- /dev/null
+++ b/dev-libs/check/check-0.9.13.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+
+inherit autotools autotools-multilib eutils
+
+DESCRIPTION="A unit test framework for C"
+HOMEPAGE="http://sourceforge.net/projects/check/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs subunit"
+
+DEPEND="subunit? ( dev-python/subunit )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ # See multilib_src_test(), disable sleep()-based tests because they
+ # just take a long time doing pretty much nothing.
+ export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}"
+}
+
+src_prepare() {
+ sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
+
+ # fix out-of-sourcedir build having inconsistent check.h files, for
+ # example breaks USE=subunit.
+ rm src/check.h || die
+
+ # Fix automake warnings being treated as errors, bug #420373
+ sed -i -e s/-Werror// configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-dependency-tracking
+ $(use_enable subunit)
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ )
+ autotools-multilib_src_configure
+}
+
+multilib_src_test() {
+ elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run the"
+ elog "entire testsuite for dev-libs/check, ensure that"
+ elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS."
+ default_src_test
+}
+
+src_install() {
+ autotools-multilib_src_install
+ dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
+
+ rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
+}
diff --git a/dev-libs/check/check-0.9.8-r1.ebuild b/dev-libs/check/check-0.9.8-r1.ebuild
new file mode 100644
index 00000000000..bb35a75b7d7
--- /dev/null
+++ b/dev-libs/check/check-0.9.8-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit autotools autotools-utils eutils
+
+DESCRIPTION="A unit test framework for C"
+HOMEPAGE="http://sourceforge.net/projects/check/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs subunit"
+
+DEPEND="subunit? ( dev-python/subunit )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.9.6-AM_PATH_CHECK.patch \
+ "${FILESDIR}"/${PN}-0.9.6-64bitsafe.patch
+
+ sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
+
+ # fix out-of-sourcedir build having inconsistent check.h files, for
+ # example breaks USE=subunit.
+ rm src/check.h || die
+
+ # Fix automake warnings being treated as errors, bug #420373
+ sed -i -e s/-Werror// configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-dependency-tracking
+ $(use_enable subunit)
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
+
+ rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
+ find "${ED}" -name '*.la' -exec rm -f {} + || die
+}
diff --git a/dev-libs/check/files/check-0.9.10-AM_PATH_CHECK.patch b/dev-libs/check/files/check-0.9.10-AM_PATH_CHECK.patch
new file mode 100644
index 00000000000..a433549a363
--- /dev/null
+++ b/dev-libs/check/files/check-0.9.10-AM_PATH_CHECK.patch
@@ -0,0 +1,33 @@
+Index: doc/example/tests/Makefile.am
+===================================================================
+--- doc/example/tests/Makefile.am (revision 747)
++++ doc/example/tests/Makefile.am (working copy)
+@@ -3,5 +3,5 @@
+ TESTS = check_money
+ check_PROGRAMS = check_money
+ check_money_SOURCES = check_money.c $(top_builddir)/src/money.h
+-check_money_CFLAGS = @CHECK_CFLAGS@
+-check_money_LDADD = $(top_builddir)/src/libmoney.la @CHECK_LIBS@
++check_money_CFLAGS = $(CHECK_CFLAGS)
++check_money_LDADD = $(top_builddir)/src/libmoney.la $(CHECK_LIBS)
+Index: doc/example/configure.ac
+===================================================================
+--- doc/example/configure.ac (revision 747)
++++ doc/example/configure.ac (working copy)
+@@ -20,12 +20,10 @@
+
+ # Checks for libraries.
+
+-# This macro is defined in check.m4 and tests if check.h and
+-# libcheck.a are installed in your system. It sets CHECK_CFLAGS and
+-# CHECK_LIBS accordingly.
+-# AM_PATH_CHECK([MINIMUM-VERSION,
+-# [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+-AM_PATH_CHECK()
++# Use pkg-config instead of upstream-provided and possibly-broken
++# AM_PATH_CHECK. This command sets CHECK_CFLAGS and CHECK_LIBS
++# appropriately.
++PKG_CHECK_MODULES([CHECK], [check])
+
+ # Checks for header files.
+ AC_HEADER_STDC
diff --git a/dev-libs/check/files/check-0.9.6-64bitsafe.patch b/dev-libs/check/files/check-0.9.6-64bitsafe.patch
new file mode 100644
index 00000000000..ec73ed6a0ea
--- /dev/null
+++ b/dev-libs/check/files/check-0.9.6-64bitsafe.patch
@@ -0,0 +1,13 @@
+Index: check-0.9.6/configure.ac
+===================================================================
+--- check-0.9.6.orig/configure.ac
++++ check-0.9.6/configure.ac
+@@ -17,6 +17,8 @@ AC_CONFIG_AUX_DIR([build-aux])
+ # really severe build strictness
+ AM_INIT_AUTOMAKE([-Wall -Werror gnits 1.9.6])
+
++AC_USE_SYSTEM_EXTENSIONS
++
+ # FIXME: find the other places this stuff is used
+
+ CHECK_MAJOR_VERSION=0
diff --git a/dev-libs/check/files/check-0.9.6-AM_PATH_CHECK.patch b/dev-libs/check/files/check-0.9.6-AM_PATH_CHECK.patch
new file mode 100644
index 00000000000..7bb30618720
--- /dev/null
+++ b/dev-libs/check/files/check-0.9.6-AM_PATH_CHECK.patch
@@ -0,0 +1,12 @@
+diff -Naur check-0.9.5-orig/doc/example/configure.ac check-0.9.5/doc/example/configure.ac
+--- check-0.9.5-orig/doc/example/configure.ac 2006-11-21 17:19:14.000000000 -0600
++++ check-0.9.5/doc/example/configure.ac 2008-12-04 21:45:13.000000000 -0600
+@@ -25,7 +25,7 @@
+ # CHECK_LIBS accordingly.
+ # AM_PATH_CHECK([MINIMUM-VERSION,
+ # [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+-AM_PATH_CHECK()
++PKG_CHECK_MODULES([check], [], [])
+
+ # Checks for header files.
+ AC_HEADER_STDC
diff --git a/dev-libs/check/metadata.xml b/dev-libs/check/metadata.xml
new file mode 100644
index 00000000000..127cc640dcc
--- /dev/null
+++ b/dev-libs/check/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>binki@gentoo.org</email>
+ <name>Nathan Phillip Brink</name>
+ </maintainer>
+ <use>
+ <flag name="subunit">Enable support for the subunit unit test protocol</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">check</remote-id>
+ </upstream>
+</pkgmetadata>