summaryrefslogtreecommitdiffstats
path: root/source/a/gawk
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-09-08 01:33:19 +0000
committer Eric Hameleers <alien@slackware.com>2022-09-08 07:00:15 +0200
commitd7e739bb58e86a0c43f54b7e2c2972dd5f62b3c3 (patch)
tree88bf131c609a7bbd6656498be96b854c43ae267f /source/a/gawk
parent64fbcd92b6a53a19a394db7fe96fa16cb31c4928 (diff)
downloadcurrent-d7e739bb58e86a0c43f54b7e2c2972dd5f62b3c3.tar.gz
current-d7e739bb58e86a0c43f54b7e2c2972dd5f62b3c3.tar.xz
Thu Sep 8 01:33:19 UTC 202220220908013319
a/hdparm-9.65-x86_64-1.txz: Upgraded. n/samba-4.16.5-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-102.2.2-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/102.2.2/releasenotes/
Diffstat (limited to 'source/a/gawk')
-rw-r--r--source/a/gawk/0001-Add-missing-UPREF.patch24
-rwxr-xr-xsource/a/gawk/gawk.SlackBuild4
2 files changed, 27 insertions, 1 deletions
diff --git a/source/a/gawk/0001-Add-missing-UPREF.patch b/source/a/gawk/0001-Add-missing-UPREF.patch
new file mode 100644
index 000000000..a9a5cda86
--- /dev/null
+++ b/source/a/gawk/0001-Add-missing-UPREF.patch
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
+Date: Mon, 5 Sep 2022 15:33:49 +0000
+Subject: [PATCH] Add missing UPREF.
+
+Fixes: d2e694ad66a379fa128137d19c10b77b942972f2
+Fixes: https://bugs.gentoo.org/868567
+Fixes: https://lists.gnu.org/archive/html/bug-gawk/2022-09/msg00006.html
+---
+ interpret.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/interpret.h b/interpret.h
+index 57d060e63f37..268655b2231f 100644
+--- a/interpret.h
++++ b/interpret.h
+@@ -238,6 +238,7 @@ uninitialized_scalar:
+ _("reference to uninitialized argument `%s'") :
+ _("reference to uninitialized variable `%s'"),
+ save_symbol->vname);
++ UPREF(m);
+ PUSH(m);
+ break;
+
diff --git a/source/a/gawk/gawk.SlackBuild b/source/a/gawk/gawk.SlackBuild
index 63d668eb7..7c0d701e0 100755
--- a/source/a/gawk/gawk.SlackBuild
+++ b/source/a/gawk/gawk.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gawk
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -82,6 +82,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+zcat $CWD/0001-Add-missing-UPREF.patch.gz | patch -p1 --verbose || exit 1
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \