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 55AA315ACFB for ; Fri, 14 Apr 2023 04:01:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36B02E0839; Fri, 14 Apr 2023 04:01:00 +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 7439AE081E for ; Fri, 14 Apr 2023 04:00: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 55C34340DEC for ; Fri, 14 Apr 2023 04:00:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5EEDA36 for ; Fri, 14 Apr 2023 04:00:56 +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: <1681444795.b244a654356443f6fad7f6bb717305d02b853ef4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/plplot/files/, sci-libs/plplot/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/plplot/files/plplot-5.15.0-configure-clang16.patch sci-libs/plplot/plplot-5.15.0-r104.ebuild sci-libs/plplot/plplot-5.15.0-r105.ebuild X-VCS-Directories: sci-libs/plplot/ sci-libs/plplot/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b244a654356443f6fad7f6bb717305d02b853ef4 X-VCS-Branch: master Date: Fri, 14 Apr 2023 04:00: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: af993e16-e26b-4b40-b929-46685aa21834 X-Archives-Hash: ea30390954f1657af0eb2dfb1ad7793e commit: b244a654356443f6fad7f6bb717305d02b853ef4 Author: Sam James gentoo org> AuthorDate: Fri Apr 14 03:45:37 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Apr 14 03:59:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b244a654 sci-libs/plplot: fix configure w/ clang 16 Closes: https://bugs.gentoo.org/898258 Signed-off-by: Sam James gentoo.org> .../plplot/files/plplot-5.15.0-configure-clang16.patch | 18 ++++++++++++++++++ ...ot-5.15.0-r104.ebuild => plplot-5.15.0-r105.ebuild} | 1 + 2 files changed, 19 insertions(+) diff --git a/sci-libs/plplot/files/plplot-5.15.0-configure-clang16.patch b/sci-libs/plplot/files/plplot-5.15.0-configure-clang16.patch new file mode 100644 index 000000000000..1f72da24ffb0 --- /dev/null +++ b/sci-libs/plplot/files/plplot-5.15.0-configure-clang16.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/898258 +https://sourceforge.net/p/plplot/patches/37/ + +Avoid implicitly declaring exit. Future compilers will not support +implicit function declarations, so this cmake probe will always fail. + +--- a/cmake/modules/TestForHighBitCharacters.c ++++ b/cmake/modules/TestForHighBitCharacters.c +@@ -17,6 +17,6 @@ int + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) +- exit(1); +- exit (0); ++ return 1; ++ return 0; + } + diff --git a/sci-libs/plplot/plplot-5.15.0-r104.ebuild b/sci-libs/plplot/plplot-5.15.0-r105.ebuild similarity index 99% rename from sci-libs/plplot/plplot-5.15.0-r104.ebuild rename to sci-libs/plplot/plplot-5.15.0-r105.ebuild index a36423a145f2..0f4ce8cab531 100644 --- a/sci-libs/plplot/plplot-5.15.0-r104.ebuild +++ b/sci-libs/plplot/plplot-5.15.0-r105.ebuild @@ -113,6 +113,7 @@ PATCHES=( "${FILESDIR}"/${PN}-5.15.0-ocaml.patch "${FILESDIR}"/${PN}-5.12.0-safe-string.patch "${FILESDIR}"/${PN}-5.15.0-QPainterPath-include.patch + "${FILESDIR}"/${PN}-5.15.0-configure-clang16.patch ) pkg_setup() {