summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-06-18 13:11:46 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-06-18 13:11:46 +0000
commit4e2e42d87b3de1456153ffa44e327ac017637060 (patch)
tree3a8dc856850c2464e673d386bf26a792d96c3773 /dev-libs
parentkeyword ~x86-fbsd and call elibtoolize for a sane .so versionning. (diff)
downloadgentoo-2-4e2e42d87b3de1456153ffa44e327ac017637060.tar.gz
gentoo-2-4e2e42d87b3de1456153ffa44e327ac017637060.tar.bz2
gentoo-2-4e2e42d87b3de1456153ffa44e327ac017637060.zip
Fix gcc-4.4 compilation issues. Bug 273828
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/boolstuff/ChangeLog8
-rw-r--r--dev-libs/boolstuff/boolstuff-0.1.12-r1.ebuild27
2 files changed, 34 insertions, 1 deletions
diff --git a/dev-libs/boolstuff/ChangeLog b/dev-libs/boolstuff/ChangeLog
index 6a366493bd00..02a9f2d23d78 100644
--- a/dev-libs/boolstuff/ChangeLog
+++ b/dev-libs/boolstuff/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/boolstuff
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boolstuff/ChangeLog,v 1.1 2009/05/30 18:16:18 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boolstuff/ChangeLog,v 1.2 2009/06/18 13:11:46 hwoarang Exp $
+
+*boolstuff-0.1.12-r1 (18 Jun 2009)
+
+ 18 Jun 2009; Markos Chandras <hwoarang@gentoo.org>
+ +boolstuff-0.1.12-r1.ebuild:
+ Fix gcc-4.4 compilation issues. Bug 273828
*boolstuff-0.1.12 (30 May 2009)
diff --git a/dev-libs/boolstuff/boolstuff-0.1.12-r1.ebuild b/dev-libs/boolstuff/boolstuff-0.1.12-r1.ebuild
new file mode 100644
index 000000000000..bcb62cb51662
--- /dev/null
+++ b/dev-libs/boolstuff/boolstuff-0.1.12-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boolstuff/boolstuff-0.1.12-r1.ebuild,v 1.1 2009/06/18 13:11:46 hwoarang Exp $
+
+EAPI="2"
+
+DESCRIPTION="A C++ library that supports a few operations on boolean expression binary trees."
+HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/boolstuff.html"
+SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static"
+
+src_prepare(){
+ # Since gcc-4.4 getopt returns -1 instead of EOF. Works for <gcc-4.3 as well
+ sed -i "s/EOF/-1/" src/commands/booldnf.cpp || die "gcc-4.4 sed failed"
+}
+
+src_configure(){
+ econf $(use_enable static)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "install failed"
+}