aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/package/gawk/broken-tests.patch57
-rw-r--r--internal/rosa/package/gawk/musl-errno.patch16
-rw-r--r--internal/rosa/package/gawk/package.az7
3 files changed, 63 insertions, 17 deletions
diff --git a/internal/rosa/package/gawk/broken-tests.patch b/internal/rosa/package/gawk/broken-tests.patch
index 400567f0..b5e7cc0a 100644
--- a/internal/rosa/package/gawk/broken-tests.patch
+++ b/internal/rosa/package/gawk/broken-tests.patch
@@ -1,8 +1,17 @@
diff --git a/test/Makefile.am b/test/Makefile.am
-index 88e15ef1f..bfc279fcb 100644
+index 0e915a8ac..f9e565e4d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
-@@ -1726,7 +1726,7 @@ LOCALE_CHARSET_TESTS = \
+@@ -1702,7 +1702,7 @@ BASIC_TESTS = \
+ aryprm7 aryprm8 aryprm9 arysubnm aryunasgn asgext assignnumfield \
+ assignnumfield2 assignnumfield3 awkpath \
+ back89 backgsub badassign1 badbuild \
+- callparam case-check childin clobber close_status closebad clsflnam \
++ callparam childin clobber close_status closebad clsflnam \
+ cmdlinefsbacknl cmdlinefsbacknl2 compare compare2 concat1 concat2 concat3 \
+ concat4 concat5 convfmt \
+ datanonl defref delargv delarpm2 delarprm delfunc dfacheck2 dfamb1 \
+@@ -1818,7 +1818,7 @@ LOCALE_CHARSET_TESTS = \
SHLIB_TESTS = \
apiterm filefuncs fnmatch fork fork2 fts functab4 functab5 \
getfile indirectbuiltin2 inplace1 inplace2 inplace2bcomp inplace3 \
@@ -11,11 +20,29 @@ index 88e15ef1f..bfc279fcb 100644
readdir_test readfile readfile2 revout revtwoway rwarray \
testext time
+@@ -1878,7 +1878,7 @@ NEED_LOCALE_C = \
+
+ NEED_LOCALE_EN = \
+ mbprintf5 \
+- backbigs1 backsmalls1 backsmalls2 case-check commas concat4 dfamb1 greek-equiv \
++ backbigs1 backsmalls1 backsmalls2 commas concat4 dfamb1 greek-equiv \
+ greek-utf gsubnulli18n ignrcas2 lc_num1 mbfw1 mbprintf1 mbprintf3 mbprintf4 \
+ mbstr1 mbstr2 mtchi18n2 posix_compare printhuge reint2 rri1 subamp subi18n \
+ unicode1 wideidx wideidx2 widesub widesub2 widesub3 widesub4
diff --git a/test/Makefile.in b/test/Makefile.in
-index 2d4eeaa5a..7930af8d5 100644
+index 83b0ad2a8..124b8b2e9 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
-@@ -1986,7 +1986,7 @@ LOCALE_CHARSET_TESTS = \
+@@ -1965,7 +1965,7 @@ BASIC_TESTS = \
+ aryprm7 aryprm8 aryprm9 arysubnm aryunasgn asgext assignnumfield \
+ assignnumfield2 assignnumfield3 awkpath \
+ back89 backgsub badassign1 badbuild \
+- callparam case-check childin clobber close_status closebad clsflnam \
++ callparam childin clobber close_status closebad clsflnam \
+ cmdlinefsbacknl cmdlinefsbacknl2 compare compare2 concat1 concat2 concat3 \
+ concat4 concat5 convfmt \
+ datanonl defref delargv delarpm2 delarprm delfunc dfacheck2 dfamb1 \
+@@ -2077,7 +2077,7 @@ LOCALE_CHARSET_TESTS = \
SHLIB_TESTS = \
apiterm filefuncs fnmatch fork fork2 fts functab4 functab5 \
getfile indirectbuiltin2 inplace1 inplace2 inplace2bcomp inplace3 \
@@ -24,6 +51,28 @@ index 2d4eeaa5a..7930af8d5 100644
readdir_test readfile readfile2 revout revtwoway rwarray \
testext time
+@@ -2143,7 +2143,7 @@ NEED_LOCALE_C = \
+
+ NEED_LOCALE_EN = \
+ mbprintf5 \
+- backbigs1 backsmalls1 backsmalls2 case-check commas concat4 dfamb1 greek-equiv \
++ backbigs1 backsmalls1 backsmalls2 commas concat4 dfamb1 greek-equiv \
+ greek-utf gsubnulli18n ignrcas2 lc_num1 mbfw1 mbprintf1 mbprintf3 mbprintf4 \
+ mbstr1 mbstr2 mtchi18n2 posix_compare printhuge reint2 rri1 subamp subi18n \
+ unicode1 wideidx wideidx2 widesub widesub2 widesub3 widesub4
+@@ -3475,12 +3475,6 @@ callparam:
+ @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(srcdir)/checkmany.sh "$@" "$(srcdir)"
+
+-case-check:
+- @echo $@
+- @-[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
+- AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+- @-$(srcdir)/checkmany.sh "$@" "$(srcdir)"
+-
+ childin:
+ @echo $@
+ @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk < "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
diff --git a/test/clos1way6.ok b/test/clos1way6.ok
index 5768617d3..be4d73e79 100644
--- a/test/clos1way6.ok
diff --git a/internal/rosa/package/gawk/musl-errno.patch b/internal/rosa/package/gawk/musl-errno.patch
index 7949fec3..e8027460 100644
--- a/internal/rosa/package/gawk/musl-errno.patch
+++ b/internal/rosa/package/gawk/musl-errno.patch
@@ -1,7 +1,7 @@
-diff --git a/test/testext-mpfr.ok b/test/testext-mpfr.ok
-index 6a5f98147..adf8685e2 100644
---- a/test/testext-mpfr.ok
-+++ b/test/testext-mpfr.ok
+diff --git a/test/testext.ok b/test/testext.ok
+index 3e0c1328c..11d150fe3 100644
+--- a/test/testext.ok
++++ b/test/testext.ok
@@ -21,7 +21,7 @@ var_test: sym_update of ARGC failed - correctly
var_test: sym_update("testvar") succeeded
var_test() returned 1, test_var = 42
@@ -11,10 +11,10 @@ index 6a5f98147..adf8685e2 100644
fubar = 9
rumpus = -5
-diff --git a/test/testext.ok b/test/testext.ok
-index 3e0c1328c..11d150fe3 100644
---- a/test/testext.ok
-+++ b/test/testext.ok
+diff --git a/test/testext.ok-mpfr b/test/testext.ok-mpfr
+index 6a5f98147..adf8685e2 100644
+--- a/test/testext.ok-mpfr
++++ b/test/testext.ok-mpfr
@@ -21,7 +21,7 @@ var_test: sym_update of ARGC failed - correctly
var_test: sym_update("testvar") succeeded
var_test() returned 1, test_var = 42
diff --git a/internal/rosa/package/gawk/package.az b/internal/rosa/package/gawk/package.az
index 18215337..4153056e 100644
--- a/internal/rosa/package/gawk/package.az
+++ b/internal/rosa/package/gawk/package.az
@@ -3,13 +3,10 @@ package gawk {
website = "https://www.gnu.org/software/gawk";
anitya = 868;
- block = "regressions introduced in 5.4.1, "+
- "does not even pass its own test suite";
-
- version# = "5.4.0";
+ version# = "5.4.2";
source = remoteTar {
url = "https://mirrors.kernel.org/gnu/gawk/gawk-"+version+".tar.gz";
- checksum = "m0RkIolC-PI7EY5q8pcx5Y-0twlIW0Yp3wXXmV-QaHorSdf8BhZ7kW9F8iWomz0C";
+ checksum = "Ircn9CdYOwy-R7QUGbtLSCXWph4zfZ5tfC5pAeMyCv3DMRddNjX7sHAktVpfAd9u";
compress = gzip;
};
patches = [