Skip to content

Commit fcb8932

Browse files
authored
gawk: New version 5.3.2 (#12707)
* gawk: New version 5.3.2 * gawk: Use cache.julialang.org * gawk: Download from savannah * gawk: Use a GitSource * gawk: Correct macOS builds
1 parent 170f9a4 commit fcb8932

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

G/gawk/build_tarballs.jl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
using BinaryBuilder
22

33
name = "gawk"
4-
version = v"5.3.1"
4+
version = v"5.3.2"
55

66
# Collection of sources required to complete build
77
sources = [
8-
ArchiveSource("https://ftp.gnu.org/gnu/gawk/gawk-$(version).tar.xz",
9-
"694db764812a6236423d4ff40ceb7b6c4c441301b72ad502bb5c27e00cd56f78")
8+
GitSource("https://git.savannah.gnu.org/git/gawk.git", "027ebff56b83600d88fd303b98c36201116a7560"),
9+
DirectorySource("bundled"),
1010
]
1111

1212
# Bash recipe for building across all platforms
1313
script = raw"""
1414
cd $WORKSPACE/srcdir/gawk*/
1515
16+
# Add missing #include for `_NSGetExecutablePath`
17+
atomic_patch -p1 $WORKSPACE/srcdir/patches/gawk_nsgep.patch
18+
19+
apk add texinfo
20+
1621
CONFIGURE_ARGS=()
1722
if [[ ${target} == aarch64-apple-darwin* ]]; then
1823
# See https://git.savannah.gnu.org/cgit/gawk.git/tree/README_d/README.macosx?h=gawk-5.2.1#n1
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- a/posix/gawkmisc.c
2+
+++ b/posix/gawkmisc.c
3+
@@ -35,6 +35,10 @@
4+
#include <sys/param.h>
5+
#endif
6+
7+
+#ifdef __APPLE__
8+
+#include <mach-o/dyld.h>
9+
+#endif
10+
+
11+
/* gawk_name --- pull out the "gawk" part from how the OS called us */
12+
13+
void

0 commit comments

Comments
 (0)