[arch-commits] Commit in gawk/repos/testing-x86_64 (5 files)

Jan Steffens heftig at gemini.archlinux.org
Mon Sep 5 15:38:40 UTC 2022


    Date: Monday, September 5, 2022 @ 15:38:40
  Author: heftig
Revision: 455042

archrelease: copy trunk to testing-x86_64

Added:
  gawk/repos/testing-x86_64/0001-Add-missing-UPREF.patch
    (from rev 455041, gawk/trunk/0001-Add-missing-UPREF.patch)
  gawk/repos/testing-x86_64/PKGBUILD
    (from rev 455041, gawk/trunk/PKGBUILD)
  gawk/repos/testing-x86_64/keys/
Deleted:
  gawk/repos/testing-x86_64/PKGBUILD
  gawk/repos/testing-x86_64/keys/

------------------------------+
 0001-Add-missing-UPREF.patch |   24 ++++++++++++
 PKGBUILD                     |   77 ++++++++++++++++++++++-------------------
 2 files changed, 67 insertions(+), 34 deletions(-)

Copied: gawk/repos/testing-x86_64/0001-Add-missing-UPREF.patch (from rev 455041, gawk/trunk/0001-Add-missing-UPREF.patch)
===================================================================
--- 0001-Add-missing-UPREF.patch	                        (rev 0)
+++ 0001-Add-missing-UPREF.patch	2022-09-05 15:38:40 UTC (rev 455042)
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <heftig at 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;
+ 

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-05 15:38:35 UTC (rev 455041)
+++ PKGBUILD	2022-09-05 15:38:40 UTC (rev 455042)
@@ -1,34 +0,0 @@
-# Maintainer:
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=gawk
-pkgver=5.2.0
-pkgrel=2
-pkgdesc="GNU version of awk"
-arch=('x86_64')
-url="https://www.gnu.org/software/gawk/"
-license=('GPL')
-groups=('base-devel')
-depends=('sh' 'glibc' 'mpfr')
-provides=('awk')
-options=('debug')
-source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
-validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
-sha256sums=('ef5af4449cb0269faf3af24bf4c02273d455f0741bf3c50f86ddc09332d6cf56'
-            'SKIP')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --without-libsigsegv
-  make
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  make check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}

Copied: gawk/repos/testing-x86_64/PKGBUILD (from rev 455041, gawk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-05 15:38:40 UTC (rev 455042)
@@ -0,0 +1,43 @@
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=5.2.0
+pkgrel=3
+pkgdesc="GNU version of awk"
+arch=('x86_64')
+url="https://www.gnu.org/software/gawk/"
+license=('GPL')
+groups=('base-devel')
+depends=('sh' 'glibc' 'mpfr')
+provides=('awk')
+options=('debug')
+source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}
+        0001-Add-missing-UPREF.patch)
+validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
+sha256sums=('ef5af4449cb0269faf3af24bf4c02273d455f0741bf3c50f86ddc09332d6cf56'
+            'SKIP'
+            'd39fa487f89c743ba55ed0b5eeb9fe33db4bd7010bf5f61f8aa1a9541a18775e')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # https://bugs.gentoo.org/868567
+  patch -Np1 -i ../0001-Add-missing-UPREF.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --without-libsigsegv
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list