From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1629162-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 13C60158064 for <garchives@archives.gentoo.org>; Thu, 9 May 2024 01:31:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12DD42BC01D; Thu, 9 May 2024 01:31:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 EBA34E2DDA for <gentoo-commits@lists.gentoo.org>; Thu, 9 May 2024 01:31:30 +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 2851A3431D0 for <gentoo-commits@lists.gentoo.org>; Thu, 9 May 2024 01:31:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33B8D1A40 for <gentoo-commits@lists.gentoo.org>; Thu, 9 May 2024 01:31:28 +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: <1715218183.123d0c034e6dea5e23dfeedbbaa1751a85793a60.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/files/, sys-fs/progsreiserfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild X-VCS-Directories: sys-fs/progsreiserfs/files/ sys-fs/progsreiserfs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 123d0c034e6dea5e23dfeedbbaa1751a85793a60 X-VCS-Branch: master Date: Thu, 9 May 2024 01:31:28 +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: 5c2c7777-28c7-4906-b5a3-5686fa9aff84 X-Archives-Hash: 5f11bd10b27f7697f9281e8d04858f75 commit: 123d0c034e6dea5e23dfeedbbaa1751a85793a60 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu May 9 01:24:34 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu May 9 01:29:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123d0c03 sys-fs/progsreiserfs: fix modern C issues in configure (sort of) Not autoreconfing because it doesn't work w/ modern autoconf and the alternative here, rather than spending more time on it, is really to last-rite. Signed-off-by: Sam James <sam <AT> gentoo.org> .../progsreiserfs-0.3.1_rc8-c99-configure.patch | 93 ++++++++++++++++++++++ .../progsreiserfs-0.3.1_rc8-r1.ebuild | 3 +- 2 files changed, 95 insertions(+), 1 deletion(-) diff --git a/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch new file mode 100644 index 000000000000..23fec252657b --- /dev/null +++ b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch @@ -0,0 +1,93 @@ +configure-only as cannot regenerate with new autotools :( +--- a/configure ++++ b/configure +@@ -7486,6 +7486,7 @@ else + #line 7486 "configure" + #include "confdefs.h" + #include <ctype.h> ++#include <stdlib.h> + #if ((' ' & 0x0FF) == 0x020) + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +@@ -9698,6 +9699,7 @@ else + #line 9698 "configure" + #include "confdefs.h" + #include <ctype.h> ++#include <stdlib.h> + #if ((' ' & 0x0FF) == 0x020) + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +--- a/configure ++++ b/configure +@@ -2279,6 +2279,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF + #line 2280 "configure" + #include "confdefs.h" ++#include <stdlib.h> + $ac_declaration + int + main () +@@ -3088,6 +3089,7 @@ else + #include "confdefs.h" + + #include <stdio.h> ++ #include <stdlib.h> + #include <sys/types.h> + #include <unistd.h> + +@@ -6541,6 +6543,7 @@ else + #endif + + #include <stdio.h> ++#include <stdlib.h> + + #ifdef RTLD_GLOBAL + # define LT_DLGLOBAL RTLD_GLOBAL +@@ -6638,6 +6641,7 @@ else + #endif + + #include <stdio.h> ++#include <stdlib.h> + + #ifdef RTLD_GLOBAL + # define LT_DLGLOBAL RTLD_GLOBAL +@@ -8165,6 +8169,7 @@ else + cat >conftest.$ac_ext <<_ACEOF + #line 8165 "configure" + #include "confdefs.h" ++#include <stdlib.h> + int + find_stack_direction () + { +@@ -8368,6 +8373,7 @@ $ac_includes_default + + #include <fcntl.h> + #include <sys/mman.h> ++#include <stdlib.h> + + #if !STDC_HEADERS && !HAVE_STDLIB_H + char *malloc (); +@@ -9957,6 +9963,7 @@ else + cat >conftest.$ac_ext <<_ACEOF + #line 9956 "configure" + #include "confdefs.h" ++#include <stdlib.h> + int + main () + { +@@ -10438,6 +10445,7 @@ else + cat >conftest.$ac_ext <<_ACEOF + #line 10437 "configure" + #include "confdefs.h" ++#include <stdlib.h> + int + find_stack_direction () + { +@@ -10745,6 +10753,7 @@ $ac_includes_default + + #include <fcntl.h> + #include <sys/mman.h> ++#include <stdlib.h> + + #if !STDC_HEADERS && !HAVE_STDLIB_H + char *malloc (); diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild index e7fe27e0eefc..7032c07d8a37 100644 --- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -28,6 +28,7 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${P}-autotools.patch "${FILESDIR}"/${PN}-0.3.1_rc8-musl-getopt_internal-fix.patch + "${FILESDIR}"/${PN}-0.3.1_rc8-c99-configure.patch ) src_prepare() {