gawk/gawk-3.1.8.diff
Philipp Thomas b9b219b847 Accepting request 175250 from home:namtrac:branches:Base:System
- Update to version 4.1.0
  * The three executables gawk, pgawk, and dgawk, have been merged into
    one, named just gawk.
  * The new -i option (from xgawk) is used for loading awk library files.
  * The new -l option (from xgawk) is used for loading dynamic extensions.
  * The dynamic extension interface has been completely redone.  There is
    now a defined API for C extensions to use.  A C extension acts like
    a function written in awk, except that it cannot do everything that awk
    code can. However, this allows interfacing to any facility that is
    available from C.
  * The "inplace" extension, built using the new facility, can be used to
    simulate the GNU "sed -i" feature.
  * The and(), or() and xor() functions now take any number of arguments,
    with a minimum of two.
  * New arrays: SYMTAB, FUNCTAB, and PROCINFO["identifiers"]. SYMTAB allows
    indirect access to any defined variable or array; it is possible to
    "walk" the symbol table, if that should be necessary.
- Refreshed gawk-3.1.8.diff
- Add older-automake.diff to support automake 1.12

OBS-URL: https://build.opensuse.org/request/show/175250
OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=33
2013-05-14 11:16:30 +00:00

76 lines
2.0 KiB
Diff

Index: gawk-4.1.0/builtin.c
===================================================================
--- gawk-4.1.0.orig/builtin.c
+++ gawk-4.1.0/builtin.c
@@ -29,7 +29,6 @@
#include <fcntl.h>
#endif
#include <math.h>
-#include "random.h"
#include "floatmagic.h"
#if defined(HAVE_POPEN_H)
@@ -64,12 +63,6 @@
static size_t mbc_byte_count(const char *ptr, size_t numchars);
static size_t mbc_char_count(const char *ptr, size_t numbytes);
-/* Can declare these, since we always use the random shipped with gawk */
-extern char *initstate(unsigned long seed, char *state, long n);
-extern char *setstate(char *state);
-extern long random(void);
-extern void srandom(unsigned long seed);
-
extern NODE **args_array;
extern int max_args;
extern NODE **fields_arr;
Index: gawk-4.1.0/doc/gawk.texi
===================================================================
--- gawk-4.1.0.orig/doc/gawk.texi
+++ gawk-4.1.0/doc/gawk.texi
@@ -1718,7 +1718,7 @@ and
Chuck Toporek.
@cindex Berry, Karl
-@cindex Chassell, Robert J.@:
+@cindex Chassell, Robert J.
@c @cindex Texinfo
Robert J.@: Chassell provided much valuable advice on
the use of Texinfo.
@@ -33767,7 +33767,7 @@ did the initial work to convert @command
GNU Automake and GNU @code{gettext}.
@item
-@cindex Broder, Alan J.@:
+@cindex Broder, Alan J.
Alan J.@: Broder
provided the initial version of the @code{asort()} function
as well as the code for the optional third argument to the
Index: gawk-4.1.0/Makefile.am
===================================================================
--- gawk-4.1.0.orig/Makefile.am
+++ gawk-4.1.0/Makefile.am
@@ -115,11 +115,7 @@ base_sources = \
node.c \
profile.c \
protos.h \
- random.c \
- random.h \
re.c \
- regex.c \
- regex.h \
replace.c \
str_array.c \
symbol.c \
Index: gawk-4.1.0/po/POTFILES.in
===================================================================
--- gawk-4.1.0.orig/po/POTFILES.in
+++ gawk-4.1.0/po/POTFILES.in
@@ -36,7 +36,6 @@ profile.c
random.c
re.c
regcomp.c
-regex.c
regex_internal.c
regexec.c
replace.c