commit:     353a59910102231bbb60fe5735251d57c64782f0
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 10:50:26 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=353a5991

x11-misc/read-edid: Set CFLAGS=-fcommon

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

 x11-misc/read-edid/read-edid-3.0.2.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/x11-misc/read-edid/read-edid-3.0.2.ebuild 
b/x11-misc/read-edid/read-edid-3.0.2.ebuild
index f55ccb264aa..cef6d33015a 100644
--- a/x11-misc/read-edid/read-edid-3.0.2.ebuild
+++ b/x11-misc/read-edid/read-edid-3.0.2.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-
-inherit cmake-utils
+inherit cmake-utils flag-o-matic
 
 DESCRIPTION="Program that can get information from a PnP monitor"
 HOMEPAGE="http://www.polypux.org/projects/read-edid/";
@@ -21,3 +20,8 @@ src_prepare() {
                CMakeLists.txt || die
        cmake-utils_src_prepare
 }
+
+src_configure() {
+       append-cflags -fcommon
+       cmake-utils_src_configure
+}

Reply via email to