From f0f7d17dc6e1c843a13f8171230c9933782f1813 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 11 Nov 2015 16:24:03 +0000 Subject: [PATCH] gawk: updated to 4.1.3 and updated mandir --- gawk/.footprint | 41 ++++++++++++++++++++++------------------- gawk/.md5sum | 3 +-- gawk/Pkgfile | 14 +++++--------- gawk/pipe.patch | 20 -------------------- 4 files changed, 28 insertions(+), 50 deletions(-) delete mode 100644 gawk/pipe.patch diff --git a/gawk/.footprint b/gawk/.footprint index 6c9198d..3244ad2 100644 --- a/gawk/.footprint +++ b/gawk/.footprint @@ -6,9 +6,6 @@ lrwxrwxrwx root/root usr/bin/awk -> gawk drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/gawkapi.h drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/awk/ --rwxr-xr-x root/root usr/lib/awk/grcat --rwxr-xr-x root/root usr/lib/awk/pwcat drwxr-xr-x root/root usr/lib/gawk/ -rwxr-xr-x root/root usr/lib/gawk/filefuncs.so -rwxr-xr-x root/root usr/lib/gawk/fnmatch.so @@ -22,22 +19,10 @@ drwxr-xr-x root/root usr/lib/gawk/ -rwxr-xr-x root/root usr/lib/gawk/rwarray.so -rwxr-xr-x root/root usr/lib/gawk/testext.so -rwxr-xr-x root/root usr/lib/gawk/time.so -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/gawk.1.gz --rw-r--r-- root/root usr/man/man1/igawk.1.gz -drwxr-xr-x root/root usr/man/man3/ --rw-r--r-- root/root usr/man/man3/filefuncs.3am.gz --rw-r--r-- root/root usr/man/man3/fnmatch.3am.gz --rw-r--r-- root/root usr/man/man3/fork.3am.gz --rw-r--r-- root/root usr/man/man3/inplace.3am.gz --rw-r--r-- root/root usr/man/man3/ordchr.3am.gz --rw-r--r-- root/root usr/man/man3/readdir.3am.gz --rw-r--r-- root/root usr/man/man3/readfile.3am.gz --rw-r--r-- root/root usr/man/man3/revoutput.3am.gz --rw-r--r-- root/root usr/man/man3/revtwoway.3am.gz --rw-r--r-- root/root usr/man/man3/rwarray.3am.gz --rw-r--r-- root/root usr/man/man3/time.3am.gz +drwxr-xr-x root/root usr/libexec/ +drwxr-xr-x root/root usr/libexec/awk/ +-rwxr-xr-x root/root usr/libexec/awk/grcat +-rwxr-xr-x root/root usr/libexec/awk/pwcat drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/awk/ -rw-r--r-- root/root usr/share/awk/assert.awk @@ -54,11 +39,29 @@ drwxr-xr-x root/root usr/share/awk/ -rw-r--r-- root/root usr/share/awk/noassign.awk -rw-r--r-- root/root usr/share/awk/ord.awk -rw-r--r-- root/root usr/share/awk/passwd.awk +-rw-r--r-- root/root usr/share/awk/processarray.awk -rw-r--r-- root/root usr/share/awk/quicksort.awk -rw-r--r-- root/root usr/share/awk/readable.awk -rw-r--r-- root/root usr/share/awk/readfile.awk -rw-r--r-- root/root usr/share/awk/rewind.awk -rw-r--r-- root/root usr/share/awk/round.awk +-rw-r--r-- root/root usr/share/awk/shellquote.awk -rw-r--r-- root/root usr/share/awk/strtonum.awk -rw-r--r-- root/root usr/share/awk/walkarray.awk -rw-r--r-- root/root usr/share/awk/zerofile.awk +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/gawk.1.gz +-rw-r--r-- root/root usr/share/man/man1/igawk.1.gz +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/filefuncs.3am.gz +-rw-r--r-- root/root usr/share/man/man3/fnmatch.3am.gz +-rw-r--r-- root/root usr/share/man/man3/fork.3am.gz +-rw-r--r-- root/root usr/share/man/man3/inplace.3am.gz +-rw-r--r-- root/root usr/share/man/man3/ordchr.3am.gz +-rw-r--r-- root/root usr/share/man/man3/readdir.3am.gz +-rw-r--r-- root/root usr/share/man/man3/readfile.3am.gz +-rw-r--r-- root/root usr/share/man/man3/revoutput.3am.gz +-rw-r--r-- root/root usr/share/man/man3/revtwoway.3am.gz +-rw-r--r-- root/root usr/share/man/man3/rwarray.3am.gz +-rw-r--r-- root/root usr/share/man/man3/time.3am.gz diff --git a/gawk/.md5sum b/gawk/.md5sum index d74ac51..ecc26d1 100644 --- a/gawk/.md5sum +++ b/gawk/.md5sum @@ -1,2 +1 @@ -a2a26543ce410eb74bc4a508349ed09a gawk-4.1.1.tar.xz -a4a238239f48aa2f408fcaeef99da9be pipe.patch +97f8f44149ea9b9e94be97f68988be87 gawk-4.1.3.tar.xz diff --git a/gawk/Pkgfile b/gawk/Pkgfile index 6e8339f..53ccaaa 100644 --- a/gawk/Pkgfile +++ b/gawk/Pkgfile @@ -1,23 +1,20 @@ -# Description: A pattern scanning and processing language +#1 Description: A pattern scanning and processing language # URL: http://www.gnu.org/software/gawk/gawk.html # Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu -# Depends on: +# Depends on: readline libmpfr name=gawk -version=4.1.1 +version=4.1.3 release=2 -source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz pipe.patch) +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { cd $name-$version - patch -p1 -i $SRC/pipe.patch + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ - --libexecdir=/usr/lib \ - --mandir=/usr/man \ - --enable-switch \ --disable-nls make @@ -25,5 +22,4 @@ build() { rm -r $PKG/usr/share/info rm $PKG/usr/bin/gawk-$version - rm $PKG/usr/lib/gawk/*.la } diff --git a/gawk/pipe.patch b/gawk/pipe.patch deleted file mode 100644 index 27ea2d3..0000000 --- a/gawk/pipe.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/io.c b/io.c -index a6e786f..2bb8f28 100644 ---- a/io.c -+++ b/io.c -@@ -2078,6 +2078,7 @@ use_pipes: - || close(ctop[0]) == -1 || close(ctop[1]) == -1) - fatal(_("close of pipe failed (%s)"), strerror(errno)); - /* stderr does NOT get dup'ed onto child's stdout */ -+ signal(SIGPIPE, SIG_DFL); - execl("/bin/sh", "sh", "-c", str, NULL); - _exit(errno == ENOENT ? 127 : 126); - } -@@ -2271,6 +2272,7 @@ gawk_popen(const char *cmd, struct redirect *rp) - fatal(_("moving pipe to stdout in child failed (dup: %s)"), strerror(errno)); - if (close(p[0]) == -1 || close(p[1]) == -1) - fatal(_("close of pipe failed (%s)"), strerror(errno)); -+ signal(SIGPIPE, SIG_DFL); - execl("/bin/sh", "sh", "-c", cmd, NULL); - _exit(errno == ENOENT ? 127 : 126); - } -- 2.26.2