summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/libmcpp')
-rw-r--r--dev-cpp/libmcpp/ChangeLog10
-rw-r--r--dev-cpp/libmcpp/Manifest15
-rw-r--r--dev-cpp/libmcpp/files/libmcpp-2.7-stpcpy-gcc4.3.patch12
-rw-r--r--dev-cpp/libmcpp/libmcpp-2.7.ebuild38
4 files changed, 62 insertions, 13 deletions
diff --git a/dev-cpp/libmcpp/ChangeLog b/dev-cpp/libmcpp/ChangeLog
index 7a68ec5c17f9..c08bcb4d7bb2 100644
--- a/dev-cpp/libmcpp/ChangeLog
+++ b/dev-cpp/libmcpp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-cpp/libmcpp
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libmcpp/ChangeLog,v 1.2 2008/08/23 18:26:45 maekke Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libmcpp/ChangeLog,v 1.3 2009/01/07 15:12:29 b33fc0d3 Exp $
+
+*libmcpp-2.7 (07 Jan 2009)
+
+ 07 Jan 2009; Ahmed Ammar <aammar@edge-techno.com> <b33fc0d3@gentoo.org>
+ +files/libmcpp-2.7-stpcpy-gcc4.3.patch, +libmcpp-2.7.ebuild:
+ Ebuild bump for libmcpp and new patch for gcc-4.3.
23 Aug 2008; Markus Meier <maekke@gentoo.org> libmcpp-2.6.4.ebuild:
add ~amd64, bug #235184
diff --git a/dev-cpp/libmcpp/Manifest b/dev-cpp/libmcpp/Manifest
index 66e87041de4d..b140e4f858bc 100644
--- a/dev-cpp/libmcpp/Manifest
+++ b/dev-cpp/libmcpp/Manifest
@@ -1,15 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX libmcpp-2.7-stpcpy-gcc4.3.patch 544 RMD160 818c7a37f74dfc754ab8245364a04e4918460d09 SHA1 e93fb40c3e3930f85cab0ac58b680530660de445 SHA256 cd97b9ba0626bf1fc68f7cd35490413b4316372b93fabe196d6b6f48ff254e26
AUX mcpp-2.6.4.patch.gz 10208 RMD160 400b4d63693be0b5a9d76bfa7fecd08882c4ad06 SHA1 d70d470f104d07a9e11977663f08672d7a290776 SHA256 99c0becbeea9d69cb464072cb0b311a24837e4d652cf63c9bbbc7d8d119a3679
DIST mcpp-2.6.4.tar.gz 1302617 RMD160 46fdf1587ef7e56eed5fdd72422e0cf69952c535 SHA1 11bd7f88e458fa9c4f66eddaacd758c7a8d0f551 SHA256 498ec0e2ef641e3e24c7f3114821a3219dfa2cf93c670b8cb72c529114f68752
+DIST mcpp-2.7.tar.gz 1376480 RMD160 0ff924d66c383dcdd092df0f7e165a7f59a8754a SHA1 3bb1c2a2f0fae9c73c2c4edaf98354b2140f4f53 SHA256 92ecb4d83682810cf207d248004d0d9e4e242c0ef0b96111d2eecde6fc6a3902
EBUILD libmcpp-2.6.4.ebuild 799 RMD160 85163062a4de463577f8d2256dc0de874964ec84 SHA1 247a04c0ca4d6d2dcd049b4976328f44130e109a SHA256 c9ce54c6513a2c84406ed967ec0d89cc5594fd3ed8b5653901313b586628a903
-MISC ChangeLog 460 RMD160 b8d69bc24c108396c74a5b2d97b8bf220b274f8d SHA1 5160f39465160a1891441abf123989c949510cbc SHA256 ffdd5daad251d98757dfd25d990c4af7d7d1f22f4561725471aae9e2d4e728b3
+EBUILD libmcpp-2.7.ebuild 761 RMD160 6a4129dcb01fcf5a7c865f809ed8b8ae9f9dc60b SHA1 cc8e584fd26fce6d44435f5e760e28041ff4eebc SHA256 1701a2333e45ca495105fbf15517c17de756453e1e2350c262792b40e6fea570
+MISC ChangeLog 681 RMD160 f5f6a35645cc5f01d0c999e3999f0641adfacba1 SHA1 b64d5ee9b8eefe6f3ee00641caa897b9c7e3b6a3 SHA256 31c320b71b327510983724630908a220ece1f45d8b874bae7f8bae53f7e25203
MISC metadata.xml 224 RMD160 bb2009757c340fc870e2e7fe5eee501303c70a62 SHA1 e89e8d75b54d9f07a8e7efc9b468a9b74b2d5eec SHA256 79754f25228240ec611264268d0e8dd94cdd8f6cd0473c430343741a2d293824
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkiwVrcACgkQkKaRLQcq0GIYiACgpNaJUhmTiGO6N149y+p0qqmc
-2n4An2hs5lhhOVbUkbFVLwI1ep7axi2V
-=jA32
------END PGP SIGNATURE-----
diff --git a/dev-cpp/libmcpp/files/libmcpp-2.7-stpcpy-gcc4.3.patch b/dev-cpp/libmcpp/files/libmcpp-2.7-stpcpy-gcc4.3.patch
new file mode 100644
index 000000000000..34ff1bb56c2d
--- /dev/null
+++ b/dev-cpp/libmcpp/files/libmcpp-2.7-stpcpy-gcc4.3.patch
@@ -0,0 +1,12 @@
+diff -Nru mcpp-2.7/src/internal.H mcpp-2.7-1.1/src/internal.H
+--- mcpp-2.7/src/internal.H 2008-03-11 17:04:07.000000000 +0100
++++ mcpp-2.7-1.1/src/internal.H 2008-04-04 10:58:37.000000000 +0200
+@@ -526,7 +526,7 @@
+ /* Do the final commands */
+ extern void print_heap( void);
+ /* Print blocks of heap memory */
+-#if ! HOST_HAVE_STPCPY || HOST_COMPILER == GNUC
++#if ! HOST_HAVE_STPCPY
+ extern char * stpcpy( char * dest, const char * src);
+ /* Non-Standard library function*/
+ #endif
diff --git a/dev-cpp/libmcpp/libmcpp-2.7.ebuild b/dev-cpp/libmcpp/libmcpp-2.7.ebuild
new file mode 100644
index 000000000000..f3491e587074
--- /dev/null
+++ b/dev-cpp/libmcpp/libmcpp-2.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libmcpp/libmcpp-2.7.ebuild,v 1.1 2009/01/07 15:12:29 b33fc0d3 Exp $
+
+inherit eutils
+
+MY_P=${P/lib/}
+
+DESCRIPTION="A portable C++ preprocessor"
+HOMEPAGE="http://mcpp.sourceforge.net"
+SRC_URI="mirror://sourceforge/mcpp/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~arm"
+IUSE=""
+
+DEPEND="app-arch/gzip"
+
+S=${WORKDIR}/${MY_P}
+
+QA_TEXTRELS="usr/lib/libmcpp.so.0.1.0"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-stpcpy-gcc4.3.patch"
+}
+
+src_compile() {
+ econf --enable-mcpplib
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+}