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 EAB3415806E for ; Tue, 16 May 2023 09:29:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 342E9E0819; Tue, 16 May 2023 09:29:06 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 160F2E0819 for ; Tue, 16 May 2023 09:29:06 +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 041CE340D0A for ; Tue, 16 May 2023 09:29:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44DD5A34 for ; Tue, 16 May 2023 09:29:03 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1684229338.ffe025f0307e48c94337b9bcff57a45abe30d816.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/, app-emulation/xen-tools/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/xen-tools/files/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch app-emulation/xen-tools/xen-tools-4.15.5_pre1-r1.ebuild app-emulation/xen-tools/xen-tools-4.15.5_pre1.ebuild app-emulation/xen-tools/xen-tools-4.16.4-r1.ebuild app-emulation/xen-tools/xen-tools-4.16.4.ebuild app-emulation/xen-tools/xen-tools-4.17.1-r1.ebuild app-emulation/xen-tools/xen-tools-4.17.1.ebuild X-VCS-Directories: app-emulation/xen-tools/files/ app-emulation/xen-tools/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: ffe025f0307e48c94337b9bcff57a45abe30d816 X-VCS-Branch: master Date: Tue, 16 May 2023 09:29:03 +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: 7bcd4263-002b-4c0a-bd4a-a44b90ec4c04 X-Archives-Hash: 49c6a845c4b8dd5c1dbb7c91a75bec8a commit: ffe025f0307e48c94337b9bcff57a45abe30d816 Author: Florian Schmaus gentoo org> AuthorDate: Tue May 16 09:26:14 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue May 16 09:28:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe025f0 app-emulation/xen-tools: apply patch fixing implicit function declarations in config Closes: https://bugs.gentoo.org/904449 Signed-off-by: Florian Schmaus gentoo.org> ....m4-tools-configure-add-linux-headers-for.patch | 39 ++++++++++++++++++++++ ...pre1.ebuild => xen-tools-4.15.5_pre1-r1.ebuild} | 4 +++ ...ls-4.16.4.ebuild => xen-tools-4.16.4-r1.ebuild} | 4 +++ ...ls-4.17.1.ebuild => xen-tools-4.17.1-r1.ebuild} | 4 +++ 4 files changed, 51 insertions(+) diff --git a/app-emulation/xen-tools/files/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch b/app-emulation/xen-tools/files/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch new file mode 100644 index 000000000000..02d1f0ff8b1f --- /dev/null +++ b/app-emulation/xen-tools/files/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch @@ -0,0 +1,39 @@ +From 873d4759aa7b0581bf34e8a7ebfcbeca789ed6e1 Mon Sep 17 00:00:00 2001 +From: Florian Schmaus +Date: Tue, 16 May 2023 09:56:48 +0200 +Subject: [PATCH] m4/ptyfuncs.m4 tools/configure: add linux headers for pty + functions + +To avoid implicit function declarations, which will cause an error on +modern compilers. See https://wiki.gentoo.org/wiki/Modern_C_porting + +Downstream Gentoo bug: https://bugs.gentoo.org/904449 + +Signed-off-by: Florian Schmaus +--- a/m4/ptyfuncs.m4 ++++ b/m4/ptyfuncs.m4 +@@ -19,6 +19,9 @@ AC_DEFUN([AX_CHECK_PTYFUNCS], [ + AC_LINK_IFELSE([AC_LANG_SOURCE([ + #ifdef INCLUDE_LIBUTIL_H + #include INCLUDE_LIBUTIL_H ++#else ++#include ++#include + #endif + int main(void) { + openpty(0,0,0,0,0); +--- a/tools/configure ++++ b/tools/configure +@@ -9002,6 +9002,9 @@ See \`config.log' for more details" "$LINENO" 5; } + + #ifdef INCLUDE_LIBUTIL_H + #include INCLUDE_LIBUTIL_H ++#else ++#include ++#include + #endif + int main(void) { + openpty(0,0,0,0,0); +-- +2.39.3 + diff --git a/app-emulation/xen-tools/xen-tools-4.15.5_pre1.ebuild b/app-emulation/xen-tools/xen-tools-4.15.5_pre1-r1.ebuild similarity index 99% rename from app-emulation/xen-tools/xen-tools-4.15.5_pre1.ebuild rename to app-emulation/xen-tools/xen-tools-4.15.5_pre1-r1.ebuild index 75003ae0412f..b4d296686754 100644 --- a/app-emulation/xen-tools/xen-tools-4.15.5_pre1.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.15.5_pre1-r1.ebuild @@ -209,6 +209,10 @@ QA_PREBUILT=" RESTRICT="test" +PATCHES=( + "${FILESDIR}/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch" +) + pkg_setup() { python_setup export "CONFIG_LOMOUNT=y" diff --git a/app-emulation/xen-tools/xen-tools-4.16.4.ebuild b/app-emulation/xen-tools/xen-tools-4.16.4-r1.ebuild similarity index 99% rename from app-emulation/xen-tools/xen-tools-4.16.4.ebuild rename to app-emulation/xen-tools/xen-tools-4.16.4-r1.ebuild index 578e95053175..fbeaed9743e8 100644 --- a/app-emulation/xen-tools/xen-tools-4.16.4.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.16.4-r1.ebuild @@ -208,6 +208,10 @@ QA_PREBUILT=" RESTRICT="test" +PATCHES=( + "${FILESDIR}/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch" +) + pkg_setup() { python_setup export "CONFIG_LOMOUNT=y" diff --git a/app-emulation/xen-tools/xen-tools-4.17.1.ebuild b/app-emulation/xen-tools/xen-tools-4.17.1-r1.ebuild similarity index 99% rename from app-emulation/xen-tools/xen-tools-4.17.1.ebuild rename to app-emulation/xen-tools/xen-tools-4.17.1-r1.ebuild index c1abdbc8c7f5..d324baad0b3a 100644 --- a/app-emulation/xen-tools/xen-tools-4.17.1.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.17.1-r1.ebuild @@ -208,6 +208,10 @@ QA_PREBUILT=" RESTRICT="test" +PATCHES=( + "${FILESDIR}/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch" +) + pkg_setup() { python_setup export "CONFIG_LOMOUNT=y"