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 03606158094 for ; Mon, 11 Jul 2022 19:28:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4139FE1031; Mon, 11 Jul 2022 19:27:59 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 27BC9E1031 for ; Mon, 11 Jul 2022 19:27:59 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 64A77341113 for ; Mon, 11 Jul 2022 19:27:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F22CA480 for ; Mon, 11 Jul 2022 19:27:56 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1657567647.9b810c67bdeed3a2ea8ddea55034dbf7f3f33de7.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/moonbridge/files/, www-servers/moonbridge/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/moonbridge/files/moonbridge-1.0.1-fcntl.patch www-servers/moonbridge/moonbridge-1.0.1.ebuild X-VCS-Directories: www-servers/moonbridge/files/ www-servers/moonbridge/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 9b810c67bdeed3a2ea8ddea55034dbf7f3f33de7 X-VCS-Branch: master Date: Mon, 11 Jul 2022 19:27:56 +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: 9f18dc10-6b65-454c-9378-ed9c359cf5fb X-Archives-Hash: bde6a7a2be978d425cb64e13e542afc1 commit: 9b810c67bdeed3a2ea8ddea55034dbf7f3f33de7 Author: brahmajit das gmail com> AuthorDate: Mon Jul 11 19:24:41 2022 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Mon Jul 11 19:27:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b810c67 www-servers/moonbridge: Fix building on musl. Include fcntl It is explicitely required to include fcntl.h in musl. Else we get F_SETFD, FD_CLOEXEC undefined errors. Closes: https://bugs.gentoo.org/828671 Signed-off-by: brahmajit das gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26352 Signed-off-by: Alfredo Tupone gentoo.org> www-servers/moonbridge/files/moonbridge-1.0.1-fcntl.patch | 14 ++++++++++++++ www-servers/moonbridge/moonbridge-1.0.1.ebuild | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/www-servers/moonbridge/files/moonbridge-1.0.1-fcntl.patch b/www-servers/moonbridge/files/moonbridge-1.0.1-fcntl.patch new file mode 100644 index 000000000000..2a1d15b09238 --- /dev/null +++ b/www-servers/moonbridge/files/moonbridge-1.0.1-fcntl.patch @@ -0,0 +1,14 @@ +#It is explicitely required to include fcntl.h in musl. +#Else we get F_SETFD, FD_CLOEXEC undefined errors. +# +#Closes: https://bugs.gentoo.org/828671 +--- a/moonbridge.c ++++ b/moonbridge.c +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + #if defined(__FreeBSD__) || __has_include() + #include + #endif diff --git a/www-servers/moonbridge/moonbridge-1.0.1.ebuild b/www-servers/moonbridge/moonbridge-1.0.1.ebuild index 93fb08c942b9..c718ae8e1f34 100644 --- a/www-servers/moonbridge/moonbridge-1.0.1.ebuild +++ b/www-servers/moonbridge/moonbridge-1.0.1.ebuild @@ -27,7 +27,10 @@ BDEPEND="sys-devel/pmake S="${WORKDIR}"/${MYP} -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-fcntl.patch +) DOCS=( README reference.txt )