File gawk-3.1.8.diff of Package gawk

--- doc/gawk.texi.orig
+++ doc/gawk.texi
@@ -1549,7 +1549,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.
@@ -27180,7 +27180,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
--- builtin.c.orig
+++ builtin.c
@@ -29,7 +29,6 @@
 #include <fcntl.h>
 #endif
 #include <math.h>
-#include "random.h"
 #include "floatmagic.h"
 
 #ifndef CHAR_BIT
@@ -60,11 +59,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;
--- Makefile.am.orig
+++ Makefile.am
@@ -103,11 +103,7 @@ base_sources = \
 	msg.c \
 	node.c \
 	protos.h \
-	random.c \
-	random.h \
 	re.c \
-	regex.c \
-	regex.h \
 	replace.c \
 	version.c \
 	xalloc.h
openSUSE Build Service is sponsored by