From eca29aac39446545256182d1db71af80a49f019284f02501d433857f565a9db0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 15 Sep 2022 08:30:32 +0000 Subject: [PATCH] Accepting request 1003376 from home:Andreas_Schwab:Factory - upref.patch: Add missing UPREF OBS-URL: https://build.opensuse.org/request/show/1003376 OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=89 --- gawk.changes | 5 +++++ gawk.spec | 1 + upref.patch | 12 ++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 upref.patch 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; +