1 |
commit: 19ccf51b5c79a78516470d81b4232ae7f96a4433 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 29 10:42:49 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 29 11:32:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ccf51b |
7 |
|
8 |
dev-python/pyparted: Set CFLAGS=-fcommon |
9 |
|
10 |
Package-Manager: Portage-2.3.86, Repoman-2.3.20 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=706904 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
dev-python/pyparted/pyparted-3.11.3.ebuild | 7 ++++++- |
15 |
dev-python/pyparted/pyparted-999999.ebuild | 7 ++++++- |
16 |
2 files changed, 12 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pyparted/pyparted-3.11.3.ebuild b/dev-python/pyparted/pyparted-3.11.3.ebuild |
19 |
index 53553209b62..a058461368a 100644 |
20 |
--- a/dev-python/pyparted/pyparted-3.11.3.ebuild |
21 |
+++ b/dev-python/pyparted/pyparted-3.11.3.ebuild |
22 |
@@ -3,7 +3,7 @@ |
23 |
|
24 |
EAPI=7 |
25 |
PYTHON_COMPAT=( python{2_7,3_6} ) |
26 |
-inherit distutils-r1 |
27 |
+inherit distutils-r1 flag-o-matic |
28 |
|
29 |
DESCRIPTION="Python bindings for sys-block/parted" |
30 |
HOMEPAGE="https://github.com/rhinstaller/pyparted/" |
31 |
@@ -22,3 +22,8 @@ DEPEND=" |
32 |
virtual/pkgconfig |
33 |
" |
34 |
RESTRICT="test" |
35 |
+ |
36 |
+src_configure() { |
37 |
+ append-cflags -fcommon |
38 |
+ default |
39 |
+} |
40 |
|
41 |
diff --git a/dev-python/pyparted/pyparted-999999.ebuild b/dev-python/pyparted/pyparted-999999.ebuild |
42 |
index c31f8041199..b34350ec163 100644 |
43 |
--- a/dev-python/pyparted/pyparted-999999.ebuild |
44 |
+++ b/dev-python/pyparted/pyparted-999999.ebuild |
45 |
@@ -3,7 +3,7 @@ |
46 |
|
47 |
EAPI=7 |
48 |
PYTHON_COMPAT=( python{2_7,3_6} ) |
49 |
-inherit distutils-r1 git-r3 |
50 |
+inherit distutils-r1 flag-o-matic git-r3 |
51 |
|
52 |
DESCRIPTION="Python bindings for sys-block/parted" |
53 |
HOMEPAGE="https://github.com/rhinstaller/pyparted/" |
54 |
@@ -22,3 +22,8 @@ DEPEND=" |
55 |
virtual/pkgconfig |
56 |
" |
57 |
RESTRICT="test" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ append-cflags -fcommon |
61 |
+ default |
62 |
+} |