1 |
commit: ac593a5e7f2472d3651bdfb6551497449fd9853f |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 2 21:48:10 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 2 21:49:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac593a5e |
7 |
|
8 |
dev-util/diffball: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics |
9 |
|
10 |
Gentoo-Bug: 548316 |
11 |
* EAPI=6 |
12 |
|
13 |
Package-Manager: portage-2.2.28 |
14 |
|
15 |
dev-util/diffball/diffball-1.0.1.ebuild | 18 +++++++++++------- |
16 |
1 file changed, 11 insertions(+), 7 deletions(-) |
17 |
|
18 |
diff --git a/dev-util/diffball/diffball-1.0.1.ebuild b/dev-util/diffball/diffball-1.0.1.ebuild |
19 |
index ba9d483..5239321 100644 |
20 |
--- a/dev-util/diffball/diffball-1.0.1.ebuild |
21 |
+++ b/dev-util/diffball/diffball-1.0.1.ebuild |
22 |
@@ -1,7 +1,11 @@ |
23 |
-# Copyright 1999-2012 Gentoo Foundation |
24 |
+# Copyright 1999-2016 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
# $Id$ |
27 |
|
28 |
+EAPI=6 |
29 |
+ |
30 |
+inherit flag-o-matic |
31 |
+ |
32 |
DESCRIPTION="Delta compression suite for using/generating binary patches" |
33 |
HOMEPAGE="https://diffball.googlecode.com/" |
34 |
SRC_URI="https://diffball.googlecode.com/files/${P}.tar.bz2" |
35 |
@@ -20,12 +24,12 @@ DEPEND="${RDEPEND} |
36 |
# Invalid RESTRICT for source package. Investigate. |
37 |
RESTRICT="strip" |
38 |
|
39 |
-src_compile() { |
40 |
- econf $(use_enable debug asserts) |
41 |
- emake || die "emake failed" |
42 |
+src_prepare() { |
43 |
+ # fix bug 548316 by restoring pre-GCC5 inline semantics |
44 |
+ append-cflags -std=gnu89 |
45 |
+ default |
46 |
} |
47 |
|
48 |
-src_install() { |
49 |
- emake DESTDIR="${D}" install || die |
50 |
- dodoc AUTHORS ChangeLog README TODO |
51 |
+src_configure() { |
52 |
+ econf $(use_enable debug asserts) |
53 |
} |