commit:     19ccf51b5c79a78516470d81b4232ae7f96a4433
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 10:42:49 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 11:32:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ccf51b

dev-python/pyparted: Set CFLAGS=-fcommon

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=706904
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-python/pyparted/pyparted-3.11.3.ebuild | 7 ++++++-
 dev-python/pyparted/pyparted-999999.ebuild | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyparted/pyparted-3.11.3.ebuild 
b/dev-python/pyparted/pyparted-3.11.3.ebuild
index 53553209b62..a058461368a 100644
--- a/dev-python/pyparted/pyparted-3.11.3.ebuild
+++ b/dev-python/pyparted/pyparted-3.11.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 PYTHON_COMPAT=( python{2_7,3_6} )
-inherit distutils-r1
+inherit distutils-r1 flag-o-matic
 
 DESCRIPTION="Python bindings for sys-block/parted"
 HOMEPAGE="https://github.com/rhinstaller/pyparted/";
@@ -22,3 +22,8 @@ DEPEND="
        virtual/pkgconfig
 "
 RESTRICT="test"
+
+src_configure() {
+       append-cflags -fcommon
+       default
+}

diff --git a/dev-python/pyparted/pyparted-999999.ebuild 
b/dev-python/pyparted/pyparted-999999.ebuild
index c31f8041199..b34350ec163 100644
--- a/dev-python/pyparted/pyparted-999999.ebuild
+++ b/dev-python/pyparted/pyparted-999999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 PYTHON_COMPAT=( python{2_7,3_6} )
-inherit distutils-r1 git-r3
+inherit distutils-r1 flag-o-matic git-r3
 
 DESCRIPTION="Python bindings for sys-block/parted"
 HOMEPAGE="https://github.com/rhinstaller/pyparted/";
@@ -22,3 +22,8 @@ DEPEND="
        virtual/pkgconfig
 "
 RESTRICT="test"
+
+src_configure() {
+       append-cflags -fcommon
+       default
+}

Reply via email to