awk/awk.patch

Wed, 29 Aug 2012 21:07:12 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 29 Aug 2012 21:07:12 +0200
changeset 649
c44c510c1c7f
permissions
-rw-r--r--

Back out libexec substitution now longer correct, remove manpages correspoding
to not installed binaries, and most importantly avoid linking to
cats_dummy which serves no other purpose than to sabotage runtime
operations of all binaries calling db_init_database(3) with a fatal
error message 'Please replace this dummy libbaccats library with a
proper one.' Disabling libtool use resolves this problem in the build
configuration (probably in src/cats/Makefile.in.)

michael@610 1 Index: b.c
michael@610 2 --- b.c.orig 2005-02-08 20:21:44 +0100
michael@610 3 +++ b.c 2006-09-15 19:24:23 +0200
michael@610 4 @@ -720,7 +720,7 @@
michael@610 5
michael@610 6 #ifndef HAS_ISBLANK
michael@610 7
michael@610 8 -int (isblank)(int c)
michael@610 9 +static int (awk_isblank)(int c)
michael@610 10 {
michael@610 11 return c==' ' || c=='\t';
michael@610 12 }
michael@610 13 @@ -734,7 +734,7 @@
michael@610 14 } charclasses[] = {
michael@610 15 { "alnum", 5, isalnum },
michael@610 16 { "alpha", 5, isalpha },
michael@610 17 - { "blank", 5, isblank },
michael@610 18 + { "blank", 5, awk_isblank },
michael@610 19 { "cntrl", 5, iscntrl },
michael@610 20 { "digit", 5, isdigit },
michael@610 21 { "graph", 5, isgraph },

mercurial