aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/growler-link')
-rw-r--r--dev-cpp/growler-link/ChangeLog7
-rw-r--r--dev-cpp/growler-link/Manifest2
-rw-r--r--dev-cpp/growler-link/files/0.3.7-gcc4.7.patch15
-rw-r--r--dev-cpp/growler-link/growler-link-0.3.7.ebuild28
-rw-r--r--dev-cpp/growler-link/metadata.xml12
5 files changed, 40 insertions, 24 deletions
diff --git a/dev-cpp/growler-link/ChangeLog b/dev-cpp/growler-link/ChangeLog
index a9c6f4299..52cf45f73 100644
--- a/dev-cpp/growler-link/ChangeLog
+++ b/dev-cpp/growler-link/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for dev-cpp/growler-link
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Oct 2012; Justin Lecher <jlec@gentoo.org> +files/0.3.7-gcc4.7.patch,
+ growler-link-0.3.7.ebuild, metadata.xml:
+ Fix for gcc-4.7; correct fortran-2.eclass usage; move to
+ autotools-utils.eclass
+
24 Jun 2011; Justin Lecher <jlec@gentoo.org> growler-link-0.3.7.ebuild:
Sort inherit and/or USE
diff --git a/dev-cpp/growler-link/Manifest b/dev-cpp/growler-link/Manifest
index 66f1e9593..572eaef10 100644
--- a/dev-cpp/growler-link/Manifest
+++ b/dev-cpp/growler-link/Manifest
@@ -1 +1 @@
-DIST growler-link-0.3.7.tar.gz 548768 RMD160 38153300e2ea8375116804ffe3823e0fabd3a831 SHA1 9384b97e7d9010d4a85c8cfbc26f71f312520943 SHA256 eec2e6f91146bc68004114adc7ee00617eab4b459649029cfcdcfc4db3d17719
+DIST growler-link-0.3.7.tar.gz 548768 SHA256 eec2e6f91146bc68004114adc7ee00617eab4b459649029cfcdcfc4db3d17719 SHA512 713118a7ba4c0364b3e0bb2f24a551eddfda6998e3b3ea5c5becdb2be49b4deda86eb2961d54e931c9936ef76db64660e3a11a695e3a7287255b22703746117b WHIRLPOOL 601265b6827599a73f93ed9b255396d13df449e02e1e50d1bc26f5a3504baac2ffc7779fd3182236c3dd1fee446ae976c1365551c5ccacfa38e179dd83eb7eb1
diff --git a/dev-cpp/growler-link/files/0.3.7-gcc4.7.patch b/dev-cpp/growler-link/files/0.3.7-gcc4.7.patch
new file mode 100644
index 000000000..f3939be89
--- /dev/null
+++ b/dev-cpp/growler-link/files/0.3.7-gcc4.7.patch
@@ -0,0 +1,15 @@
+ lib/strings.cxx | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/strings.cxx b/lib/strings.cxx
+index 1efa4fd..09488d8 100644
+--- a/lib/strings.cxx
++++ b/lib/strings.cxx
+@@ -26,6 +26,7 @@
+ #include <cstdio>
+ #include <cerrno>
+ #include <stdexcept>
++#include <unistd.h>
+
+ using namespace std;
+
diff --git a/dev-cpp/growler-link/growler-link-0.3.7.ebuild b/dev-cpp/growler-link/growler-link-0.3.7.ebuild
index fcca83ffb..3a44bb1ab 100644
--- a/dev-cpp/growler-link/growler-link-0.3.7.ebuild
+++ b/dev-cpp/growler-link/growler-link-0.3.7.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
-inherit eutils fortran-2
+inherit autotools-utils fortran-2
DESCRIPTION="The lowest-level Growler library"
HOMEPAGE="http://www.nas.nasa.gov/~bgreen/growler/"
@@ -16,24 +16,20 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc fortran static tcpd"
RDEPEND="
- virtual/fortran
dev-libs/boost
tcpd? ( sys-apps/tcp-wrappers )"
DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )"
+ doc? ( app-doc/doxygen )"
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PV}-gcc4.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${PV}-gcc4.patch
+ "${FILESDIR}"/${PV}-gcc4.7.patch )
src_configure() {
- econf \
- $(use_enable doc) \
- $(use_enable tcpd) \
- $(use_enable static) \
- $(use_enable fortran)
+ local myeconfargs=(
+ $(use_enable doc)
+ $(use_enable tcpd)
+ $(use_enable static)
+ )
+ autotools-utils_src_configure
}
diff --git a/dev-cpp/growler-link/metadata.xml b/dev-cpp/growler-link/metadata.xml
index 219475162..4d3fa5871 100644
--- a/dev-cpp/growler-link/metadata.xml
+++ b/dev-cpp/growler-link/metadata.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>cpp</herd>
-<maintainer>
-<email>bryan.d.green@nasa.gov</email>
-<name>Bryan Green</name>
-</maintainer>
-<longdescription>
+ <herd>cpp</herd>
+ <maintainer>
+ <email>bryan.d.green@nasa.gov</email>
+ <name>Bryan Green</name>
+ </maintainer>
+ <longdescription>
Growler-Link is the lowest-level Growler package. It provides basic support for
dynamic linking, components and modules, as well as several other of Growler's
commonly used API's, such as Clogger.