summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-12-14 10:56:48 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-12-14 10:56:48 +0000
commitae1c1bf922df790f2a478656b70f7f33ac5298c1 (patch)
tree717aacfc37d02fecbcd13171c03b05f45a5118f4 /dev-util/cppunit
parentFix dodoc in other ebuilds. (diff)
downloadhistorical-ae1c1bf922df790f2a478656b70f7f33ac5298c1.tar.gz
historical-ae1c1bf922df790f2a478656b70f7f33ac5298c1.tar.bz2
historical-ae1c1bf922df790f2a478656b70f7f33ac5298c1.zip
Revision bump to shutup annoying warnings when using cppunit in your code (pretty simple patch :)).
Package-Manager: portage-2.2.0_alpha80/cvs/Linux x86_64
Diffstat (limited to 'dev-util/cppunit')
-rw-r--r--dev-util/cppunit/ChangeLog9
-rw-r--r--dev-util/cppunit/Manifest22
-rw-r--r--dev-util/cppunit/cppunit-1.12.1-r1.ebuild47
-rw-r--r--dev-util/cppunit/files/cppunit-1.12.1-warnings.patch22
4 files changed, 94 insertions, 6 deletions
diff --git a/dev-util/cppunit/ChangeLog b/dev-util/cppunit/ChangeLog
index a4823098ec6c..71e398a05cec 100644
--- a/dev-util/cppunit/ChangeLog
+++ b/dev-util/cppunit/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/cppunit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/ChangeLog,v 1.52 2011/11/21 15:32:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/ChangeLog,v 1.53 2011/12/14 10:56:48 scarabeus Exp $
+
+*cppunit-1.12.1-r1 (14 Dec 2011)
+
+ 14 Dec 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ +cppunit-1.12.1-r1.ebuild, +files/cppunit-1.12.1-warnings.patch:
+ Revision bump to shutup annoying warnings when using cppunit in your code
+ (pretty simple patch :)).
21 Nov 2011; Justin Lecher <jlec@gentoo.org> cppunit-1.12.1.ebuild:
keyworded for ~x86-macos ~x64-macos, tested by Johan Hattne #390123
diff --git a/dev-util/cppunit/Manifest b/dev-util/cppunit/Manifest
index ae0949c21195..84fce9c247af 100644
--- a/dev-util/cppunit/Manifest
+++ b/dev-util/cppunit/Manifest
@@ -1,16 +1,28 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
AUX cppunit-1.10.2-asneeded.patch 396 RMD160 7bdcc185b259259e5bb0030bdd62d71ba42525be SHA1 4fe083eb6e0f6db189060bd6f192ed39684bef4f SHA256 024975af5f8917ba6c0f23fb94e14d3b8ec5a24fb6c4b334b67a1a50c26a3a64
AUX cppunit-1.12.1-add_missing_include.patch 565 RMD160 ae40405ae1d2c3f1374b5dcdb03955c95821680a SHA1 c91c8c646a10afc67949955828040a8c53b5b9bb SHA256 ee22a7c4e343c3a4e02c66dc0290af4e184325b15b7d08a15ad7860dbe71c9c0
+AUX cppunit-1.12.1-warnings.patch 1161 RMD160 64da0e92d906305966048ca541913c624869de57 SHA1 302ded55f2436e22dceebce0aa194012593174e7 SHA256 ecf2202f7f960ba555f7511241869d49c23ead4eb01ff678e88e5a3169f85bd8
DIST cppunit-1.12.1.tar.gz 762803 RMD160 c5f38b1d201afcba7913f2b53fb7558add3d21f5 SHA1 f1ab8986af7a1ffa6760f4bacf5622924639bf4a SHA256 ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a
+EBUILD cppunit-1.12.1-r1.ebuild 1274 RMD160 a90d6f68ab199ad3e2b1e6887677270a847b228f SHA1 fc75b52ebf8f73dc262a0b52c8b21606cfaf2d03 SHA256 eefabeaceb25b87d93fb041197f98823647e1f838dc78ac945a0fc9b9ce08f1d
EBUILD cppunit-1.12.1.ebuild 1258 RMD160 7a0ba6c44adb8aaf4120b213be21580d44c1c593 SHA1 eb3887d0944017323dbbf01848c5dfb9f0cf374a SHA256 7182f56e7da78dca36a79c531a495eb5ed284eda3c2d7c780588869efbdc8187
-MISC ChangeLog 6804 RMD160 0644a3480b6fa7ef14834f0ead2e94ad41435034 SHA1 da723bb3bdc70d0b1474a960355decf6dd0fe431 SHA256 be4b8f94c16b93b232191b55fe58ead7f88e0c80605b1dbae2499353c45b687b
+MISC ChangeLog 7070 RMD160 bf8063e086f17c8bf1615ef5af7d5f124e4bd7a6 SHA1 5be85ed3e90ae4131c6393c097aa55eeb33c6b66 SHA256 9cf66500aeae382e77a9bca801c692b0728a5535cb0ecc8d6d083f175cd3291f
MISC metadata.xml 156 RMD160 537178ef5a820896e97475fb9aded47d50474bef SHA1 2a4ef4879b918a28132d21cd6d1bbaa2a30dccde SHA256 0e8490f9c62cb74e5894b52f643a02de0024d97dbfebad43082dce6bcb39555f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEAREKAAYFAk7KbxsACgkQgAnW8HDreRZM8ACfTsuCBNM6gclXr1aGYadPR4vO
-VFMAniDA7+cDqSnaAPqZ/0AZ4WJvMKPV
-=5KAY
+iQIcBAEBAgAGBQJO6ID1AAoJEOSiRoyO7jvo+PkQAImGuIb1yhz6bMc26JpY52dr
+uIvOhsqb1k+DOqOZ+nwqhbNxYqRa6IKXkX9vaArhBeFFYXkwHRmOo3m2bn+ZCTV4
+dvIDPv6ADSkD8cRr8RHok6WK/dFeyLf4tUQ+6Lb2U4SjXA7ae6jtcPaBtllvDD/C
+ROrLPidE4Wwjuvg0Kj1p7HxV/Ub6YhZPIPJG5lqz77idjimNhaFR/YCF0IK37DHH
+SakUGU1KOmPQlo+AXE2UVN5dk78FBAa78c4QuGDJyMQdl1Lu5ctnbQL982zU2t8t
+LKc8dDJn2gz5Ws/VZvIWKBCnfrmCC6dYyaVel/cVFXv1WtnZtX0s3knl96C6cXdr
+tAcVpH5VadAL91JzsB0DkG+rqIq0+4WIhTU9GSBYwyrO8MXZioZIBIixW9XFTi9b
+tPvvDGTE/ap9HyhUpuK6OJjxkW8FePWpVXsKGDlrfUJEPuSmN4Jpyk/eji+sG14G
+PqalTYSr8d0d9idw9mQHqoeD9qI/9+REjpEzQytsIoiFdPJzUFTKR5pKzAD+/LdQ
+ZtlAfPLJdwfiVORKmBhgMzE4RkHQAjFD+/ArIkT+6VlMPqpa8+hX0NQAKGZS0ff/
+Ge987xTrua+kGc3oE1GeT0cyNDl8ruXu3lbBMYhQhTGPURIMKxMEb8Ojwk2g094p
+ZQivTFuzUkqU9vH4umAV
+=XBRN
-----END PGP SIGNATURE-----
diff --git a/dev-util/cppunit/cppunit-1.12.1-r1.ebuild b/dev-util/cppunit/cppunit-1.12.1-r1.ebuild
new file mode 100644
index 000000000000..540f8912b7ea
--- /dev/null
+++ b/dev-util/cppunit/cppunit-1.12.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-1.12.1-r1.ebuild,v 1.1 2011/12/14 10:56:48 scarabeus Exp $
+
+EAPI=3
+inherit autotools eutils
+
+DESCRIPTION="C++ port of the famous JUnit framework for unit testing"
+HOMEPAGE="http://cppunit.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc examples"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ media-gfx/graphviz )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.10.2-asneeded.patch" \
+ "${FILESDIR}/${P}-add_missing_include.patch"
+ eautoreconf
+}
+
+src_configure() {
+ # Anything else than -O0 breaks on alpha
+ use alpha && replace-flags "-O?" -O0
+
+ econf \
+ $(use_enable doc doxygen) \
+ $(use_enable doc dot) \
+ --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog BUGS NEWS README THANKS TODO doc/FAQ
+
+ if use examples ; then
+ find examples -iname "*.o" -delete
+ insinto /usr/share/${PN}
+ doins -r examples
+ fi
+}
diff --git a/dev-util/cppunit/files/cppunit-1.12.1-warnings.patch b/dev-util/cppunit/files/cppunit-1.12.1-warnings.patch
new file mode 100644
index 000000000000..39e804aff7f0
--- /dev/null
+++ b/dev-util/cppunit/files/cppunit-1.12.1-warnings.patch
@@ -0,0 +1,22 @@
+--- misc/cppunit-1.12.1/include/cppunit/plugin/TestPlugIn.h 2007-01-12 05:54:34.000000000 +0100
++++ misc/build/cppunit-1.12.1/include/cppunit/plugin/TestPlugIn.h 2009-12-02 15:33:29.639857272 +0100
+@@ -151,9 +151,7 @@
+ #include <windows.h>
+ #endif
+ #define CPPUNIT_PLUGIN_IMPLEMENT_MAIN() \
+- BOOL APIENTRY DllMain( HANDLE hModule, \
+- DWORD ul_reason_for_call, \
+- LPVOID lpReserved ) \
++ BOOL APIENTRY DllMain( HANDLE, DWORD, LPVOID ) \
+ { \
+ return TRUE; \
+ } \
+@@ -162,7 +160,7 @@
+ // Unix
+ #elif defined(CPPUNIT_HAVE_UNIX_DLL_LOADER) || defined(CPPUNIT_HAVE_UNIX_SHL_LOADER)
+ #define CPPUNIT_PLUGIN_IMPLEMENT_MAIN() \
+- int main( int argc, char *argv[] ) \
++ int main( int, char *[] ) \
+ { \
+ return 0; \
+ } \