commit:     9a92effc20c1e89a19994ed08f8e3d54515f51c0
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 13:54:07 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 13:54:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a92effc

sci-electronics/xcircuit: kick it until it builds

-std=gnu89 -Wno-incompatible-function-pointer-types

Closes: https://bugs.gentoo.org/870553
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sci-electronics/xcircuit/xcircuit-3.10.30-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-electronics/xcircuit/xcircuit-3.10.30-r2.ebuild 
b/sci-electronics/xcircuit/xcircuit-3.10.30-r2.ebuild
index 5b7a88dac467..7868c9e7ae7b 100644
--- a/sci-electronics/xcircuit/xcircuit-3.10.30-r2.ebuild
+++ b/sci-electronics/xcircuit/xcircuit-3.10.30-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Circuit drawing and schematic capture program"
 SRC_URI="http://opencircuitdesign.com/xcircuit/archive/${P}.tgz";
@@ -39,6 +39,7 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cflags -std=gnu89 -Wno-incompatible-function-pointer-types
        local myeconfargs=(
                --with-cairo
                --with-ngspice

Reply via email to