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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 862FC1580B9 for ; Thu, 26 Aug 2021 22:32:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A8FCE0893; Thu, 26 Aug 2021 22:32:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5682FE0893 for ; Thu, 26 Aug 2021 22:32:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F47A342C52 for ; Thu, 26 Aug 2021 22:32:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26615202 for ; Thu, 26 Aug 2021 22:32:44 +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: <1630017151.879530c9d5c8958c94b3cc19184dc920971337fb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/perl/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/perl/files/perl-5.30.3-darwin-macos11.patch X-VCS-Directories: dev-lang/perl/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 879530c9d5c8958c94b3cc19184dc920971337fb X-VCS-Branch: master Date: Thu, 26 Aug 2021 22:32:44 +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: e3d9c89a-f86d-4a97-b879-180648398da9 X-Archives-Hash: 67d1cafa3d2e311b06cb120ff1d43ab7 commit: 879530c9d5c8958c94b3cc19184dc920971337fb Author: Michael Mair-Keimberger levelnine at> AuthorDate: Wed Aug 25 14:36:55 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 26 22:32:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879530c9 dev-lang/perl: remove unused patch Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Sam James gentoo.org> .../perl/files/perl-5.30.3-darwin-macos11.patch | 180 --------------------- 1 file changed, 180 deletions(-) diff --git a/dev-lang/perl/files/perl-5.30.3-darwin-macos11.patch b/dev-lang/perl/files/perl-5.30.3-darwin-macos11.patch deleted file mode 100644 index 73879b398c4..00000000000 --- a/dev-lang/perl/files/perl-5.30.3-darwin-macos11.patch +++ /dev/null @@ -1,180 +0,0 @@ -https://github.com/Perl/perl5/pull/17946 -https://bugs.gentoo.org/757249 ---- -From b382aafc793fe1007f9058a5145a1d39d56cef70 Mon Sep 17 00:00:00 2001 -From: Adam Hartley -Date: Mon, 6 Jul 2020 22:59:42 +0100 -Subject: [PATCH 1/7] Add 11.x support for darwin.sh - ---- - hints/darwin.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/hints/darwin.sh b/hints/darwin.sh -index 0a91bc083c0..c0f06de1cab 100644 ---- a/hints/darwin.sh -+++ b/hints/darwin.sh -@@ -301,7 +301,7 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x - # We now use MACOSX_DEPLOYMENT_TARGET, if set, as an override by - # capturing its value and adding it to the flags. - case "$MACOSX_DEPLOYMENT_TARGET" in -- 10.*) -+ 10.* | 11.*) - add_macosx_version_min ccflags $MACOSX_DEPLOYMENT_TARGET - add_macosx_version_min ldflags $MACOSX_DEPLOYMENT_TARGET - ;; -@@ -327,7 +327,7 @@ EOM - # "ProductVersion: 10.11" "10.11" - prodvers=`sw_vers|awk '/^ProductVersion:/{print $2}'|awk -F. '{print $1"."$2}'` - case "$prodvers" in -- 10.*) -+ 10.* | 11.*) - add_macosx_version_min ccflags $prodvers - add_macosx_version_min ldflags $prodvers - ;; - -From 960d1a5c4225d1dd12636a469e10a568464e4e7c Mon Sep 17 00:00:00 2001 -From: Adam Hartley -Date: Wed, 8 Jul 2020 19:10:33 +0100 -Subject: [PATCH 3/7] Update error message - ---- - hints/darwin.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/hints/darwin.sh b/hints/darwin.sh -index c0f06de1cab..988b766c4f4 100644 ---- a/hints/darwin.sh -+++ b/hints/darwin.sh -@@ -313,7 +313,7 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x - - *** Unexpected MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET - *** --*** Please either set it to 10.something, or to empty. -+*** Please either set it to 10.something, 11.something or to empty. - - EOM - exit 1 - -From d633cced1d5174e19c5f2234a9fb4c7603cfb9db Mon Sep 17 00:00:00 2001 -From: Adam Hartley -Date: Sat, 11 Jul 2020 11:41:27 +0100 -Subject: [PATCH 4/7] Update deprecated syscall check for 11.x and greater - ---- - hints/darwin.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/hints/darwin.sh b/hints/darwin.sh -index 988b766c4f4..4f73a9995e7 100644 ---- a/hints/darwin.sh -+++ b/hints/darwin.sh -@@ -342,11 +342,11 @@ EOM - exit 1 - esac - -- # The X in 10.X -+ prodvers_major=$(echo $prodvers|awk -F. '{print $1}') - prodvers_minor=$(echo $prodvers|awk -F. '{print $2}') - - # macOS (10.12) deprecated syscall(). -- if [ "$prodvers_minor" -ge 12 ]; then -+ if [[ ( "$prodvers_minor" -ge 12 && "$prodvers_major" -eq 10 ) || "$prodvers_major" -ge 11 ]]; then - d_syscall='undef' - # If deploying to pre-10.12, suppress Time::HiRes's detection of the system clock_gettime() - case "$MACOSX_DEPLOYMENT_TARGET" in - -From 9c3890f8521a7db6d9b2aa21561c7d0dae9fb91d Mon Sep 17 00:00:00 2001 -From: Adam Hartley -Date: Wed, 22 Jul 2020 13:15:30 +0100 -Subject: [PATCH 5/7] Simplify syscall check - ---- - hints/darwin.sh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/hints/darwin.sh b/hints/darwin.sh -index 4f73a9995e7..40c84cf267a 100644 ---- a/hints/darwin.sh -+++ b/hints/darwin.sh -@@ -342,11 +342,10 @@ EOM - exit 1 - esac - -- prodvers_major=$(echo $prodvers|awk -F. '{print $1}') -- prodvers_minor=$(echo $prodvers|awk -F. '{print $2}') -+ darwin_major=$(echo $osvers|awk -F. '{print $1}') - -- # macOS (10.12) deprecated syscall(). -- if [[ ( "$prodvers_minor" -ge 12 && "$prodvers_major" -eq 10 ) || "$prodvers_major" -ge 11 ]]; then -+ # macOS 10.12 (darwin 6.0.0) deprecated syscall(). -+ if [ "$darwin_major" -ge 6 ]; then - d_syscall='undef' - # If deploying to pre-10.12, suppress Time::HiRes's detection of the system clock_gettime() - case "$MACOSX_DEPLOYMENT_TARGET" in - -From 99ff8934992102a3db63805e8ba9710577de164e Mon Sep 17 00:00:00 2001 -From: Adam Hartley -Date: Wed, 22 Jul 2020 13:15:53 +0100 -Subject: [PATCH 6/7] Update darwin.sh - ---- - hints/darwin.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/hints/darwin.sh b/hints/darwin.sh -index 40c84cf267a..1709d224f7c 100644 ---- a/hints/darwin.sh -+++ b/hints/darwin.sh -@@ -344,8 +344,8 @@ EOM - - darwin_major=$(echo $osvers|awk -F. '{print $1}') - -- # macOS 10.12 (darwin 6.0.0) deprecated syscall(). -- if [ "$darwin_major" -ge 6 ]; then -+ # macOS 10.12 (darwin 16.0.0) deprecated syscall(). -+ if [ "$darwin_major" -ge 16 ]; then - d_syscall='undef' - # If deploying to pre-10.12, suppress Time::HiRes's detection of the system clock_gettime() - case "$MACOSX_DEPLOYMENT_TARGET" in - -From 1b712e4b359d9508461a0a832d06baa6e589b955 Mon Sep 17 00:00:00 2001 -From: Adam Hartley -Date: Thu, 23 Jul 2020 19:53:07 +0100 -Subject: [PATCH 7/7] Future proof version check - ---- - hints/darwin.sh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/hints/darwin.sh b/hints/darwin.sh -index 1709d224f7c..fdfbdd4a3b9 100644 ---- a/hints/darwin.sh -+++ b/hints/darwin.sh -@@ -301,7 +301,7 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x - # We now use MACOSX_DEPLOYMENT_TARGET, if set, as an override by - # capturing its value and adding it to the flags. - case "$MACOSX_DEPLOYMENT_TARGET" in -- 10.* | 11.*) -+ [1-9][0-9].*) - add_macosx_version_min ccflags $MACOSX_DEPLOYMENT_TARGET - add_macosx_version_min ldflags $MACOSX_DEPLOYMENT_TARGET - ;; -@@ -313,7 +313,7 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x - - *** Unexpected MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET - *** --*** Please either set it to 10.something, 11.something or to empty. -+*** Please either set it to a valid macOS version number (e.g., 10.15) or to empty. - - EOM - exit 1 -@@ -327,7 +327,7 @@ EOM - # "ProductVersion: 10.11" "10.11" - prodvers=`sw_vers|awk '/^ProductVersion:/{print $2}'|awk -F. '{print $1"."$2}'` - case "$prodvers" in -- 10.* | 11.*) -+ [1-9][0-9].*) - add_macosx_version_min ccflags $prodvers - add_macosx_version_min ldflags $prodvers - ;;