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 3ABFB15ACFB for ; Sat, 22 Apr 2023 17:02:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E80AE0895; Sat, 22 Apr 2023 17:02:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 578E0E0895 for ; Sat, 22 Apr 2023 17:02:08 +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 8B4D5341326 for ; Sat, 22 Apr 2023 17:02:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDC1CA48 for ; Sat, 22 Apr 2023 17:02:05 +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: <1682182866.ecba6d4dcd645e58a0a5861f484f452b65f21eac.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libptytty/, dev-libs/libptytty/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libptytty/files/libptytty-2.0-configure-clang16.patch dev-libs/libptytty/libptytty-2.0-r1.ebuild dev-libs/libptytty/libptytty-2.0.ebuild X-VCS-Directories: dev-libs/libptytty/ dev-libs/libptytty/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ecba6d4dcd645e58a0a5861f484f452b65f21eac X-VCS-Branch: master Date: Sat, 22 Apr 2023 17:02:05 +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: e35d0cfb-f6c4-44a7-b7d3-875dcdfd8f2d X-Archives-Hash: 1d4476e89b72c8cfbf0902bf48f02f83 commit: ecba6d4dcd645e58a0a5861f484f452b65f21eac Author: Sam James gentoo org> AuthorDate: Sat Apr 22 17:01:06 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 22 17:01:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecba6d4d dev-libs/libptytty: fix w/ clang 16 Signed-off-by: Sam James gentoo.org> .../libptytty/files/libptytty-2.0-configure-clang16.patch | 15 +++++++++++++++ .../{libptytty-2.0.ebuild => libptytty-2.0-r1.ebuild} | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/dev-libs/libptytty/files/libptytty-2.0-configure-clang16.patch b/dev-libs/libptytty/files/libptytty-2.0-configure-clang16.patch new file mode 100644 index 000000000000..99b49e26e737 --- /dev/null +++ b/dev-libs/libptytty/files/libptytty-2.0-configure-clang16.patch @@ -0,0 +1,15 @@ +http://lists.schmorp.de/pipermail/rxvt-unicode/2023q2/002652.html + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -95,7 +95,8 @@ check_function_exists(setreuid HAVE_SETREUID) + check_function_exists(setresuid HAVE_SETRESUID) + + check_c_source_compiles( +- "#include ++ "#define _XOPEN_SOURCE 500 ++ #include + + int main () + { + diff --git a/dev-libs/libptytty/libptytty-2.0.ebuild b/dev-libs/libptytty/libptytty-2.0-r1.ebuild similarity index 88% rename from dev-libs/libptytty/libptytty-2.0.ebuild rename to dev-libs/libptytty/libptytty-2.0-r1.ebuild index cfa4b8a6b1fc..6622e0666ff1 100644 --- a/dev-libs/libptytty/libptytty-2.0.ebuild +++ b/dev-libs/libptytty/libptytty-2.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,6 +15,7 @@ KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" PATCHES=( "${FILESDIR}"/${PN}-2.0-rundir.patch + "${FILESDIR}"/${PN}-2.0-configure-clang16.patch ) DOCS=( Changes README )