1 |
commit: 3458b955e8f14b93f045eff8f4557791903d8c11 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 25 16:04:53 2012 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 25 16:04:53 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3458b955 |
7 |
|
8 |
dev-cpp/growler-link: Fix for gcc-4.7; correct fortran-2.eclass usage; move to autotools-utils.eclass |
9 |
|
10 |
Package-Manager: portage-2.2.0_alpha141 |
11 |
|
12 |
--- |
13 |
dev-cpp/growler-link/ChangeLog | 7 +++++- |
14 |
dev-cpp/growler-link/files/0.3.7-gcc4.7.patch | 15 ++++++++++++ |
15 |
dev-cpp/growler-link/growler-link-0.3.7.ebuild | 28 ++++++++++------------- |
16 |
dev-cpp/growler-link/metadata.xml | 12 +++++----- |
17 |
4 files changed, 39 insertions(+), 23 deletions(-) |
18 |
|
19 |
diff --git a/dev-cpp/growler-link/ChangeLog b/dev-cpp/growler-link/ChangeLog |
20 |
index a9c6f42..52cf45f 100644 |
21 |
--- a/dev-cpp/growler-link/ChangeLog |
22 |
+++ b/dev-cpp/growler-link/ChangeLog |
23 |
@@ -1,7 +1,12 @@ |
24 |
# ChangeLog for dev-cpp/growler-link |
25 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
26 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
27 |
# $Header: $ |
28 |
|
29 |
+ 25 Oct 2012; Justin Lecher <jlec@g.o> +files/0.3.7-gcc4.7.patch, |
30 |
+ growler-link-0.3.7.ebuild, metadata.xml: |
31 |
+ Fix for gcc-4.7; correct fortran-2.eclass usage; move to |
32 |
+ autotools-utils.eclass |
33 |
+ |
34 |
24 Jun 2011; Justin Lecher <jlec@g.o> growler-link-0.3.7.ebuild: |
35 |
Sort inherit and/or USE |
36 |
|
37 |
|
38 |
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 |
39 |
new file mode 100644 |
40 |
index 0000000..f3939be |
41 |
--- /dev/null |
42 |
+++ b/dev-cpp/growler-link/files/0.3.7-gcc4.7.patch |
43 |
@@ -0,0 +1,15 @@ |
44 |
+ lib/strings.cxx | 1 + |
45 |
+ 1 file changed, 1 insertion(+) |
46 |
+ |
47 |
+diff --git a/lib/strings.cxx b/lib/strings.cxx |
48 |
+index 1efa4fd..09488d8 100644 |
49 |
+--- a/lib/strings.cxx |
50 |
++++ b/lib/strings.cxx |
51 |
+@@ -26,6 +26,7 @@ |
52 |
+ #include <cstdio> |
53 |
+ #include <cerrno> |
54 |
+ #include <stdexcept> |
55 |
++#include <unistd.h> |
56 |
+ |
57 |
+ using namespace std; |
58 |
+ |
59 |
|
60 |
diff --git a/dev-cpp/growler-link/growler-link-0.3.7.ebuild b/dev-cpp/growler-link/growler-link-0.3.7.ebuild |
61 |
index fcca83f..3a44bb1 100644 |
62 |
--- a/dev-cpp/growler-link/growler-link-0.3.7.ebuild |
63 |
+++ b/dev-cpp/growler-link/growler-link-0.3.7.ebuild |
64 |
@@ -1,10 +1,10 @@ |
65 |
-# Copyright 1999-2011 Gentoo Foundation |
66 |
+# Copyright 1999-2012 Gentoo Foundation |
67 |
# Distributed under the terms of the GNU General Public License v2 |
68 |
# $Header: $ |
69 |
|
70 |
EAPI=4 |
71 |
|
72 |
-inherit eutils fortran-2 |
73 |
+inherit autotools-utils fortran-2 |
74 |
|
75 |
DESCRIPTION="The lowest-level Growler library" |
76 |
HOMEPAGE="http://www.nas.nasa.gov/~bgreen/growler/" |
77 |
@@ -16,24 +16,20 @@ KEYWORDS="~amd64 ~x86" |
78 |
IUSE="doc fortran static tcpd" |
79 |
|
80 |
RDEPEND=" |
81 |
- virtual/fortran |
82 |
dev-libs/boost |
83 |
tcpd? ( sys-apps/tcp-wrappers )" |
84 |
DEPEND="${RDEPEND} |
85 |
- doc? ( app-doc/doxygen )" |
86 |
+ doc? ( app-doc/doxygen )" |
87 |
|
88 |
-pkg_setup() { |
89 |
- use fortran && fortran-2_pkg_setup |
90 |
-} |
91 |
- |
92 |
-src_prepare() { |
93 |
- epatch "${FILESDIR}"/${PV}-gcc4.patch |
94 |
-} |
95 |
+PATCHES=( |
96 |
+ "${FILESDIR}"/${PV}-gcc4.patch |
97 |
+ "${FILESDIR}"/${PV}-gcc4.7.patch ) |
98 |
|
99 |
src_configure() { |
100 |
- econf \ |
101 |
- $(use_enable doc) \ |
102 |
- $(use_enable tcpd) \ |
103 |
- $(use_enable static) \ |
104 |
- $(use_enable fortran) |
105 |
+ local myeconfargs=( |
106 |
+ $(use_enable doc) |
107 |
+ $(use_enable tcpd) |
108 |
+ $(use_enable static) |
109 |
+ ) |
110 |
+ autotools-utils_src_configure |
111 |
} |
112 |
|
113 |
diff --git a/dev-cpp/growler-link/metadata.xml b/dev-cpp/growler-link/metadata.xml |
114 |
index 2194751..4d3fa58 100644 |
115 |
--- a/dev-cpp/growler-link/metadata.xml |
116 |
+++ b/dev-cpp/growler-link/metadata.xml |
117 |
@@ -1,12 +1,12 @@ |
118 |
<?xml version="1.0" encoding="UTF-8"?> |
119 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
120 |
<pkgmetadata> |
121 |
-<herd>cpp</herd> |
122 |
-<maintainer> |
123 |
-<email>bryan.d.green@××××.gov</email> |
124 |
-<name>Bryan Green</name> |
125 |
-</maintainer> |
126 |
-<longdescription> |
127 |
+ <herd>cpp</herd> |
128 |
+ <maintainer> |
129 |
+ <email>bryan.d.green@××××.gov</email> |
130 |
+ <name>Bryan Green</name> |
131 |
+ </maintainer> |
132 |
+ <longdescription> |
133 |
Growler-Link is the lowest-level Growler package. It provides basic support for |
134 |
dynamic linking, components and modules, as well as several other of Growler's |
135 |
commonly used API's, such as Clogger. |