summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-12-05 10:17:48 +0000
committerjperkin <jperkin@pkgsrc.org>2022-12-05 10:17:48 +0000
commit8589072fafef67a64c32a691daec5355660fe50e (patch)
tree52dc31d85f18784965743890a9038ab10aa856c4
parentf4029eb35f27463e50371c105125bb3ea78c6027 (diff)
downloadpkgsrc-8589072fafef67a64c32a691daec5355660fe50e.tar.gz
gawk: Fix build on Darwin/aarch64.
-rw-r--r--lang/gawk/distinfo4
-rw-r--r--lang/gawk/patches/patch-configure15
-rw-r--r--lang/gawk/patches/patch-extension_configure15
3 files changed, 33 insertions, 1 deletions
diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo
index 2a224394343..b8db9c0c83c 100644
--- a/lang/gawk/distinfo
+++ b/lang/gawk/distinfo
@@ -1,10 +1,12 @@
-$NetBSD: distinfo,v 1.47 2022/11/27 23:11:29 wiz Exp $
+$NetBSD: distinfo,v 1.48 2022/12/05 10:17:48 jperkin Exp $
BLAKE2s (gawk-5.2.1.tar.xz) = 5459d82a3018dd78e2974641d31c34adbc1972714c1e74d0d2bf64f9f0493e60
SHA512 (gawk-5.2.1.tar.xz) = f81da3e61987d1460326dc79fdbabacfd4660219bf66ec8ba18877500fd24e160761e401a5b868067f82bec46a6a808098f3f6a1f4c8b710e439cd3f99ffa56c
Size (gawk-5.2.1.tar.xz) = 3411420 bytes
SHA1 (patch-Makefile.in) = dd9f67382e8300a56b8f6b28c3c7813ea4971f60
+SHA1 (patch-configure) = 56037c88fa7477cefa94d840749b73614ff9a0c6
SHA1 (patch-extension_Makefile.in) = 07184d54caadbdc4193d1ba2ee52eb557900bdf3
+SHA1 (patch-extension_configure) = 7ba39bced6c2af806ca47e8ec0515868bff8d90f
SHA1 (patch-extension_gawkfts.c) = a88ac0ed14be5133cf081bf25ab8663f0f3372a7
SHA1 (patch-extension_inplace.c) = 84b1d8f18ed78a872cd7befa65def30b4bcb3252
SHA1 (patch-test_Makefile.in) = 6d73f09b72fba7bec340d35d5d3c70691db814cd
diff --git a/lang/gawk/patches/patch-configure b/lang/gawk/patches/patch-configure
new file mode 100644
index 00000000000..1f4e2535da7
--- /dev/null
+++ b/lang/gawk/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2022/12/05 10:17:48 jperkin Exp $
+
+Remove ugly upstream hack that breaks the build on Darwin.
+
+--- configure.orig 2022-11-17 16:16:51.000000000 +0000
++++ configure
+@@ -12618,7 +12618,7 @@ else $as_nop
+ fi
+
+ ;;
+- *darwin*)
++ *notdarwin*)
+ # 23 October 2022: See README_d/README.macosx for
+ # the details on what's happening here. See also
+ # the manual.
diff --git a/lang/gawk/patches/patch-extension_configure b/lang/gawk/patches/patch-extension_configure
new file mode 100644
index 00000000000..75c43668f4d
--- /dev/null
+++ b/lang/gawk/patches/patch-extension_configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-extension_configure,v 1.3 2022/12/05 10:17:48 jperkin Exp $
+
+Remove ugly upstream hack that breaks the build on Darwin.
+
+--- extension/configure.orig 2022-11-17 16:17:25.000000000 +0000
++++ extension/configure
+@@ -8832,7 +8832,7 @@ else $as_nop
+ fi
+
+ ;;
+- *darwin*)
++ *notdarwin*)
+ # 23 October 2022: See README_d/README.macosx for
+ # the details on what's happening here. See also
+ # the manual.