Update to gawk-5.3.0.
This commit is contained in:
parent
1876a2be0f
commit
4af0f32860
|
@ -1,7 +1,7 @@
|
||||||
diff -Paur --no-dereference -- gawk.upstream/builtin.c gawk/builtin.c
|
diff -Paur --no-dereference -- gawk.upstream/builtin.c gawk/builtin.c
|
||||||
--- gawk.upstream/builtin.c
|
--- gawk.upstream/builtin.c
|
||||||
+++ gawk/builtin.c
|
+++ gawk/builtin.c
|
||||||
@@ -1192,10 +1192,18 @@
|
@@ -1249,10 +1249,18 @@
|
||||||
* Use snprintf return value to tell if there
|
* Use snprintf return value to tell if there
|
||||||
* is enough room in the buffer or not.
|
* is enough room in the buffer or not.
|
||||||
*/
|
*/
|
||||||
|
@ -23,7 +23,7 @@ diff -Paur --no-dereference -- gawk.upstream/builtin.c gawk/builtin.c
|
||||||
diff -Paur --no-dereference -- gawk.upstream/extension/filefuncs.c gawk/extension/filefuncs.c
|
diff -Paur --no-dereference -- gawk.upstream/extension/filefuncs.c gawk/extension/filefuncs.c
|
||||||
--- gawk.upstream/extension/filefuncs.c
|
--- gawk.upstream/extension/filefuncs.c
|
||||||
+++ gawk/extension/filefuncs.c
|
+++ gawk/extension/filefuncs.c
|
||||||
@@ -414,8 +414,12 @@
|
@@ -418,8 +418,12 @@
|
||||||
/* for block and character devices, add rdev, major and minor numbers */
|
/* for block and character devices, add rdev, major and minor numbers */
|
||||||
if (S_ISBLK(sbuf->st_mode) || S_ISCHR(sbuf->st_mode)) {
|
if (S_ISBLK(sbuf->st_mode) || S_ISCHR(sbuf->st_mode)) {
|
||||||
array_set_numeric(array, "rdev", sbuf->st_rdev);
|
array_set_numeric(array, "rdev", sbuf->st_rdev);
|
||||||
|
@ -51,7 +51,7 @@ diff -Paur --no-dereference -- gawk.upstream/io.c gawk/io.c
|
||||||
diff -Paur --no-dereference -- gawk.upstream/main.c gawk/main.c
|
diff -Paur --no-dereference -- gawk.upstream/main.c gawk/main.c
|
||||||
--- gawk.upstream/main.c
|
--- gawk.upstream/main.c
|
||||||
+++ gawk/main.c
|
+++ gawk/main.c
|
||||||
@@ -984,13 +984,7 @@
|
@@ -1063,13 +1063,7 @@
|
||||||
update_PROCINFO_num("api_minor", GAWK_API_MINOR_VERSION);
|
update_PROCINFO_num("api_minor", GAWK_API_MINOR_VERSION);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ diff -Paur --no-dereference -- gawk.upstream/main.c gawk/main.c
|
||||||
diff -Paur --no-dereference -- gawk.upstream/node.c gawk/node.c
|
diff -Paur --no-dereference -- gawk.upstream/node.c gawk/node.c
|
||||||
--- gawk.upstream/node.c
|
--- gawk.upstream/node.c
|
||||||
+++ gawk/node.c
|
+++ gawk/node.c
|
||||||
@@ -860,6 +860,8 @@
|
@@ -1005,6 +1005,8 @@
|
||||||
n->flags &= ~WSTRCUR;
|
n->flags &= ~WSTRCUR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ diff -Paur --no-dereference -- gawk.upstream/node.c gawk/node.c
|
||||||
static void __attribute__ ((unused))
|
static void __attribute__ ((unused))
|
||||||
dump_wstr(FILE *fp, const wchar_t *str, size_t len)
|
dump_wstr(FILE *fp, const wchar_t *str, size_t len)
|
||||||
{
|
{
|
||||||
@@ -869,6 +871,7 @@
|
@@ -1014,6 +1016,7 @@
|
||||||
for (; len--; str++)
|
for (; len--; str++)
|
||||||
putwc(*str, fp);
|
putwc(*str, fp);
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ diff -Paur --no-dereference -- gawk.upstream/node.c gawk/node.c
|
||||||
diff -Paur --no-dereference -- gawk.upstream/support/getopt.c gawk/support/getopt.c
|
diff -Paur --no-dereference -- gawk.upstream/support/getopt.c gawk/support/getopt.c
|
||||||
--- gawk.upstream/support/getopt.c
|
--- gawk.upstream/support/getopt.c
|
||||||
+++ gawk/support/getopt.c
|
+++ gawk/support/getopt.c
|
||||||
@@ -55,18 +55,9 @@
|
@@ -56,18 +56,9 @@
|
||||||
#ifndef ELIDE_CODE
|
#ifndef ELIDE_CODE
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
NAME=gawk
|
NAME=gawk
|
||||||
BUILD_LIBRARIES='libiconv? libintl? libgmp? libmpfr? libreadline?'
|
BUILD_LIBRARIES='libiconv? libintl? libgmp? libmpfr? libreadline?'
|
||||||
VERSION=4.2.0
|
VERSION=5.3.0
|
||||||
DISTNAME=$NAME-$VERSION
|
DISTNAME=$NAME-$VERSION
|
||||||
COMPRESSION=tar.xz
|
COMPRESSION=tar.xz
|
||||||
ARCHIVE=$DISTNAME.$COMPRESSION
|
ARCHIVE=$DISTNAME.$COMPRESSION
|
||||||
SHA256SUM=d4f3cd31c001fd0ed52832d4fbfbdfeaa38ad541c182f80ff8fdf87324a6a9f2
|
SHA256SUM=ca9c16d3d11d0ff8c69d79dc0b47267e1329a69b39b799895604ed447d3ca90b
|
||||||
UPSTREAM_SITE=https://ftp.gnu.org/gnu/gawk
|
UPSTREAM_SITE=https://ftp.gnu.org/gnu/gawk
|
||||||
UPSTREAM_ARCHIVE=$ARCHIVE
|
UPSTREAM_ARCHIVE=$ARCHIVE
|
||||||
|
LICENSE=GPL-3.0-or-later
|
||||||
BUILD_SYSTEM=configure
|
BUILD_SYSTEM=configure
|
||||||
POST_INSTALL=tix-eradicate-libtool-la
|
POST_INSTALL=tix-eradicate-libtool-la
|
||||||
|
|
Loading…
Reference in New Issue