From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1453398-garchives=archives.gentoo.org@lists.gentoo.org> 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 47428158020 for <garchives@archives.gentoo.org>; Fri, 4 Nov 2022 05:37:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E5B1E0536; Fri, 4 Nov 2022 05:37:09 +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 D9ABEE041F for <gentoo-commits@lists.gentoo.org>; Fri, 4 Nov 2022 05:37: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5F5E3413BC for <gentoo-commits@lists.gentoo.org>; Fri, 4 Nov 2022 05:37:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F4C06EA for <gentoo-commits@lists.gentoo.org>; Fri, 4 Nov 2022 05:37:06 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1667540220.fd7c76475ecd44f34e09b6421b281e4ec4243a86.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/kpathsea/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch X-VCS-Directories: dev-libs/kpathsea/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fd7c76475ecd44f34e09b6421b281e4ec4243a86 X-VCS-Branch: master Date: Fri, 4 Nov 2022 05:37:06 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d8a5d751-83d6-4612-8318-6bc4e05c1f11 X-Archives-Hash: d9c17fba62113465e1854983d14a741d commit: fd7c76475ecd44f34e09b6421b281e4ec4243a86 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Nov 4 05:36:51 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Nov 4 05:37:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd7c7647 dev-libs/kpathsea: add upstream comment Also, add configure.ac part, but it doesn't get used because of the autotools quirks wrt texlive in ebuilds right now anyway. Signed-off-by: Sam James <sam <AT> gentoo.org> ...210325-Fix-Wimplicit-function-declaration.patch | 23 ++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch index ad8dc0e33342..89cf314856ae 100644 --- a/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch +++ b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch @@ -1,5 +1,24 @@ -diff --git a/configure b/configure -index be42b2e..6a7efb0 100755 +Sent upstream to tlbuild mailing list. Not yet in archive. + +From: Sam James <sam@gentoo.org> +Date: Fri, 4 Nov 2022 04:58:38 +0000 +Subject: [PATCH] Fix -Wimplicit-function-declaration + +Add <stdlib.h> includes for exit(). Clang 16 makes -Wimplicit-function-declaration an error by default. + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/configure.ac ++++ b/configure.ac +@@ -45,7 +45,8 @@ if test "x$ac_cv_func_getcwd" = xyes; then + # We only need to run this if we have getcwd. + AC_CACHE_CHECK([whether getcwd uses fork or vfork], + [kb_cv_func_getcwd_forks], +- [AC_RUN_IFELSE([AC_LANG_PROGRAM([[int fork() { exit(1); } ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h> ++ int fork() { exit(1); } + int vfork() { exit(1); } + extern char *getcwd(); + char path[100];]], --- a/configure +++ b/configure @@ -13920,6 +13920,7 @@ else