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 62356158094 for ; Mon, 19 Sep 2022 16:26:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7454DE07D3; Mon, 19 Sep 2022 16:26:53 +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 5BA0EE07D3 for ; Mon, 19 Sep 2022 16:26:53 +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 547DE33FE74 for ; Mon, 19 Sep 2022 16:26:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A7865DE for ; Mon, 19 Sep 2022 16:26:50 +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: <1663604801.328f45c63cf1a7cfdba7060b2b757badb953bfa5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/autoconf/files/autoconf-2.69-K-R-decls-clang.patch sys-devel/autoconf/files/autoconf-2.71-K-R-decls-clang.patch X-VCS-Directories: sys-devel/autoconf/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 328f45c63cf1a7cfdba7060b2b757badb953bfa5 X-VCS-Branch: master Date: Mon, 19 Sep 2022 16:26:50 +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: 24d2cc0b-69f7-4cfc-9349-7fc3b92037c9 X-Archives-Hash: cdec3597420b06f11e67c126dace803c commit: 328f45c63cf1a7cfdba7060b2b757badb953bfa5 Author: Sam James gentoo org> AuthorDate: Mon Sep 19 16:18:35 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Sep 19 16:26:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=328f45c6 sys-devel/autoconf: drop texinfo hunks in patch for K&R decl fixes We don't really want to re-generate the manuals just for this, but drop it from the patches in a separate commit for historical completeness. Signed-off-by: Sam James gentoo.org> .../files/autoconf-2.69-K-R-decls-clang.patch | 22 ---------------------- .../files/autoconf-2.71-K-R-decls-clang.patch | 22 ---------------------- 2 files changed, 44 deletions(-) diff --git a/sys-devel/autoconf/files/autoconf-2.69-K-R-decls-clang.patch b/sys-devel/autoconf/files/autoconf-2.69-K-R-decls-clang.patch index c0ae05540146..9f16bc93adba 100644 --- a/sys-devel/autoconf/files/autoconf-2.69-K-R-decls-clang.patch +++ b/sys-devel/autoconf/files/autoconf-2.69-K-R-decls-clang.patch @@ -11,28 +11,6 @@ From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Mon, 19 Sep 2022 12:11:24 +0200 Subject: [PATCH] backport K&R decl fixes ---- a/doc/autoconf.texi -+++ b/doc/autoconf.texi -@@ -5201,9 +5201,7 @@ the @samp{#undef malloc}): - #include - #undef malloc - --#include -- --void *malloc (); -+#include - - /* Allocate an N-byte block of memory from the heap. - If N is zero, allocate a 1-byte block. */ -@@ -8057,7 +8055,7 @@ needed: - # ifdef __cplusplus - extern "C" - # endif -- int F77_DUMMY_MAIN () @{ return 1; @} -+ int F77_DUMMY_MAIN (void) @{ return 1; @} - #endif - @end example - --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -97,7 +97,7 @@ m4_define([AC_LANG_PROGRAM(C)], diff --git a/sys-devel/autoconf/files/autoconf-2.71-K-R-decls-clang.patch b/sys-devel/autoconf/files/autoconf-2.71-K-R-decls-clang.patch index 098d3b9c6033..33cb728695bb 100644 --- a/sys-devel/autoconf/files/autoconf-2.71-K-R-decls-clang.patch +++ b/sys-devel/autoconf/files/autoconf-2.71-K-R-decls-clang.patch @@ -21,28 +21,6 @@ provokes fatal errors in some compilers nowadays. * tests/fortran.at (AC_F77_DUMMY_MAIN usage): * tests/semantics.at (AC_CHECK_DECLS): Don’t use () in a function decl. ---- a/doc/autoconf.texi -+++ b/doc/autoconf.texi -@@ -5460,9 +5460,7 @@ the @samp{#undef malloc}): - #include - #undef malloc - --#include -- --void *malloc (); -+#include - - /* Allocate an N-byte block of memory from the heap. - If N is zero, allocate a 1-byte block. */ -@@ -8297,7 +8295,7 @@ needed: - # ifdef __cplusplus - extern "C" - # endif -- int F77_DUMMY_MAIN () @{ return 1; @} -+ int F77_DUMMY_MAIN (void) @{ return 1; @} - #endif - @end example - --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -133,7 +133,7 @@ m4_if([$2], [main], ,