diff options
author | 2024-11-26 06:16:34 +0000 | |
---|---|---|
committer | 2024-11-26 06:16:34 +0000 | |
commit | 687a4d374bc87c9d49fe30f3c871d73e11c51c8f (patch) | |
tree | 6319f58a0b393e5e2b9ed9c66802c4a34739002d /net-libs | |
parent | sys-libs/gpm: drop 1.20.7-r5 (diff) | |
download | gentoo-687a4d374bc87c9d49fe30f3c871d73e11c51c8f.tar.gz gentoo-687a4d374bc87c9d49fe30f3c871d73e11c51c8f.tar.bz2 gentoo-687a4d374bc87c9d49fe30f3c871d73e11c51c8f.zip |
net-libs/libsmi: build w/ -std=gnu17
Brittle enough.
Closes: https://bugs.gentoo.org/944131
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libsmi/libsmi-0.5.0-r5.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net-libs/libsmi/libsmi-0.5.0-r5.ebuild b/net-libs/libsmi/libsmi-0.5.0-r5.ebuild index 8ad62583bc6f..ceb218402dd4 100644 --- a/net-libs/libsmi/libsmi-0.5.0-r5.ebuild +++ b/net-libs/libsmi/libsmi-0.5.0-r5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="A Library to Access SMI MIB Information" HOMEPAGE="https://www.ibr.cs.tu-bs.de/projects/libsmi/ https://gitlab.ibr.cs.tu-bs.de/nm/libsmi" @@ -31,6 +31,13 @@ src_prepare() { eautoreconf } +src_configure() { + # bug #944131 + append-cflags -std=gnu17 + + econf +} + src_test() { # sming test is known to fail and some other fail if LC_ALL!=C: # https://mail.ibr.cs.tu-bs.de/pipermail/libsmi/2008-March/001014.html |