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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CBC7D15838C for ; Mon, 29 Jan 2024 11:03:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A7E3E29C3; Mon, 29 Jan 2024 11:03:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 E29FCE29C3 for ; Mon, 29 Jan 2024 11:03:07 +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 7148B343386 for ; Mon, 29 Jan 2024 11:03:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB004EC0 for ; Mon, 29 Jan 2024 11:03:04 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1706526117.c38258f864e03a8d09402f3b484c789a857e665d.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/, net-fs/nfs-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/nfs-utils/files/nfs-utils-2.6.4-C99-inline.patch net-fs/nfs-utils/nfs-utils-2.6.4-r3.ebuild X-VCS-Directories: net-fs/nfs-utils/files/ net-fs/nfs-utils/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: c38258f864e03a8d09402f3b484c789a857e665d X-VCS-Branch: master Date: Mon, 29 Jan 2024 11:03:04 +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: 2c6c4fa6-ae67-423b-9b3f-e2ac9635a3a7 X-Archives-Hash: 582a8c5092aa448e155d78c5dbcceea9 commit: c38258f864e03a8d09402f3b484c789a857e665d Author: David Seifert gentoo org> AuthorDate: Mon Jan 29 11:01:57 2024 +0000 Commit: David Seifert gentoo org> CommitDate: Mon Jan 29 11:01:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38258f8 net-fs/nfs-utils: fix C99 inline semantics Closes: https://bugs.gentoo.org/922958 Signed-off-by: David Seifert gentoo.org> .../files/nfs-utils-2.6.4-C99-inline.patch | 26 ++++++++++++++++++++++ net-fs/nfs-utils/nfs-utils-2.6.4-r3.ebuild | 1 + 2 files changed, 27 insertions(+) diff --git a/net-fs/nfs-utils/files/nfs-utils-2.6.4-C99-inline.patch b/net-fs/nfs-utils/files/nfs-utils-2.6.4-C99-inline.patch new file mode 100644 index 000000000000..2797249523f6 --- /dev/null +++ b/net-fs/nfs-utils/files/nfs-utils-2.6.4-C99-inline.patch @@ -0,0 +1,26 @@ +C99 `inline` is not guaranteed to emit an external definition +https://www.greenend.org.uk/rjk/tech/inline.html +Bug: https://bugs.gentoo.org/922958 + +--- a/utils/exportd/exportd.c ++++ b/utils/exportd/exportd.c +@@ -53,7 +53,7 @@ + */ + inline static void set_signals(void); + +-inline void ++inline static void + cleanup_lockfiles (void) + { + unlink(etab.lockfn); +--- a/utils/mountd/mountd.c ++++ b/utils/mountd/mountd.c +@@ -111,7 +111,7 @@ + nfs_svc_unregister(MOUNTPROG, MOUNTVERS_NFSV3); + } + +-static void ++inline static void + cleanup_lockfiles (void) + { + unlink(etab.lockfn); diff --git a/net-fs/nfs-utils/nfs-utils-2.6.4-r3.ebuild b/net-fs/nfs-utils/nfs-utils-2.6.4-r3.ebuild index 993fead7ae7c..1a00c46a24df 100644 --- a/net-fs/nfs-utils/nfs-utils-2.6.4-r3.ebuild +++ b/net-fs/nfs-utils/nfs-utils-2.6.4-r3.ebuild @@ -73,6 +73,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.5.2-no-werror.patch "${FILESDIR}"/${PN}-udev-sysctl.patch "${FILESDIR}"/${P}-includes.patch + "${FILESDIR}"/${P}-C99-inline.patch ) pkg_setup() {