summaryrefslogtreecommitdiffstats
path: root/source/a/gawk/0001-Add-missing-UPREF.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/gawk/0001-Add-missing-UPREF.patch')
-rw-r--r--source/a/gawk/0001-Add-missing-UPREF.patch24
1 files changed, 24 insertions, 0 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;
+