awk/awk.patch

Fri, 07 Sep 2012 19:08:07 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Sep 2012 19:08:07 +0200
changeset 667
9dacbd1d1aa2
permissions
-rw-r--r--

Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.

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