diff --git a/gawk.changes b/gawk.changes index 375f619..045d9b8 100644 --- a/gawk.changes +++ b/gawk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 13 17:43:05 UTC 2022 - Andreas Schwab + +- upref.patch: Add missing UPREF + ------------------------------------------------------------------- Mon Sep 5 08:49:14 UTC 2022 - Andreas Schwab diff --git a/gawk.spec b/gawk.spec index a4c5c77..0a85baf 100644 --- a/gawk.spec +++ b/gawk.spec @@ -29,6 +29,7 @@ Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.k Source4: gawk.rpmlintrc Patch0: pma.patch Patch1: nan-tests.patch +Patch2: upref.patch Provides: awk BuildRequires: mpfr-devel BuildRequires: readline-devel diff --git a/upref.patch b/upref.patch new file mode 100644 index 0000000..baed65f --- /dev/null +++ b/upref.patch @@ -0,0 +1,12 @@ +Index: gawk-5.2.0/interpret.h +=================================================================== +--- gawk-5.2.0.orig/interpret.h ++++ gawk-5.2.0/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; +