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 9BEA115ACFB for ; Sun, 23 Apr 2023 19:06:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDD3DE0B61; Sun, 23 Apr 2023 19:06:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 AE65AE0B61 for ; Sun, 23 Apr 2023 19:06:02 +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 9A79F340B66 for ; Sun, 23 Apr 2023 19:06:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73CC47DE for ; Sun, 23 Apr 2023 19:05:59 +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: <1682276722.7b275b0494c46be76ee85251716d5f7e3dc0fddf.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/, dev-libs/elfutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/elfutils/elfutils-0.189-r1.ebuild dev-libs/elfutils/files/elfutils-0.189-clang16-tests.patch X-VCS-Directories: dev-libs/elfutils/files/ dev-libs/elfutils/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7b275b0494c46be76ee85251716d5f7e3dc0fddf X-VCS-Branch: master Date: Sun, 23 Apr 2023 19:05:59 +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: 3cf43f4f-5036-4f38-9285-be9d2e329336 X-Archives-Hash: 7d3a3f6d3e592042a6ebbabc35d35d9d commit: 7b275b0494c46be76ee85251716d5f7e3dc0fddf Author: Sam James gentoo org> AuthorDate: Sun Apr 23 19:05:22 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 23 19:05:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b275b04 dev-libs/elfutils: fix tests w/ clang 16 Signed-off-by: Sam James gentoo.org> dev-libs/elfutils/elfutils-0.189-r1.ebuild | 1 + .../files/elfutils-0.189-clang16-tests.patch | 26 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/dev-libs/elfutils/elfutils-0.189-r1.ebuild b/dev-libs/elfutils/elfutils-0.189-r1.ebuild index 285cb3c8c192..16bea52ed18d 100644 --- a/dev-libs/elfutils/elfutils-0.189-r1.ebuild +++ b/dev-libs/elfutils/elfutils-0.189-r1.ebuild @@ -45,6 +45,7 @@ BDEPEND=" PATCHES=( "${WORKDIR}"/${PN}-0.187-patches/ "${FILESDIR}"/${P}-configure-bashisms.patch + "${FILESDIR}"/${P}-clang16-tests.patch ) src_unpack() { diff --git a/dev-libs/elfutils/files/elfutils-0.189-clang16-tests.patch b/dev-libs/elfutils/files/elfutils-0.189-clang16-tests.patch new file mode 100644 index 000000000000..8dede51cbb23 --- /dev/null +++ b/dev-libs/elfutils/files/elfutils-0.189-clang16-tests.patch @@ -0,0 +1,26 @@ +https://sourceware.org/git/?p=elfutils.git;a=commit;h=51373aa9a77ef53d237edc1af664efcbb49f1bf5 + +From 51373aa9a77ef53d237edc1af664efcbb49f1bf5 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Sat, 22 Apr 2023 21:37:09 +0200 +Subject: [PATCH] testsuite: Avoid C99 compatibility issues in + run-native-test.sh + +Include for the pause function, and add the return type +of main. Avoids an implicit function declaration and implicit int. + +Signed-off-by: Florian Weimer +--- a/tests/run-native-test.sh ++++ b/tests/run-native-test.sh +@@ -27,7 +27,8 @@ + # in all builds. + + tempfiles native.c native +-echo 'main () { while (1) pause (); }' > native.c ++printf '#include \nint main (void) { while (1) pause (); }\n' \ ++ > native.c + + native=0 + kill_native() +-- +2.31.1