From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A39551581F3 for ; Tue, 26 Nov 2024 06:34:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D586CE07EA; Tue, 26 Nov 2024 06:34:01 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 370FDE07EA for ; Tue, 26 Nov 2024 06:34:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11836343065 for ; Tue, 26 Nov 2024 06:34:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 778DC1EC5 for ; Tue, 26 Nov 2024 06:33:58 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1732601794.687a4d374bc87c9d49fe30f3c871d73e11c51c8f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsmi/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libsmi/libsmi-0.5.0-r5.ebuild X-VCS-Directories: net-libs/libsmi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 687a4d374bc87c9d49fe30f3c871d73e11c51c8f X-VCS-Branch: master Date: Tue, 26 Nov 2024 06:33:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e9366040-71bb-41db-b662-6e843303b6d0 X-Archives-Hash: e70c056d78cb4abbde4dc0b4ecfb4c9f commit: 687a4d374bc87c9d49fe30f3c871d73e11c51c8f Author: Sam James gentoo org> AuthorDate: Tue Nov 26 06:16:34 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Nov 26 06:16:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687a4d37 net-libs/libsmi: build w/ -std=gnu17 Brittle enough. Closes: https://bugs.gentoo.org/944131 Signed-off-by: Sam James gentoo.org> net-libs/libsmi/libsmi-0.5.0-r5.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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