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
This commit is contained in:
Dirk Mueller 2022-09-15 08:30:32 +00:00 committed by Git OBS Bridge
parent dbb08c9c55
commit eca29aac39
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 13 17:43:05 UTC 2022 - Andreas Schwab <schwab@suse.de>
- upref.patch: Add missing UPREF
-------------------------------------------------------------------
Mon Sep 5 08:49:14 UTC 2022 - Andreas Schwab <schwab@suse.de>

View File

@ -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

12
upref.patch Normal file
View File

@ -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;