components/gawk/patches/patch_awk.patch
author Craig Mohrman <craig.mohrman@oracle.com>
Mon, 18 Apr 2016 13:01:02 -0700
changeset 5797 432ac76de3b0
parent 5267 42a22f73f3bc
permissions -rw-r--r--
23078956 adjust the remainder of the userland components to use perl 5.22 22909079 resume testing in several perl modules 22909338 xml-parsers pkg manifests should be cleaned up once 5.12 threaded is gone 23051223 dbd-sqlite's clobber doesn't remove generated DBD-SQLite.license file 23057814 graphviz perl package depends on other obsolete perl packages 22991554 DBD-SQLite has an unlisted build dependency on library/perl-5/database et al
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5267
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
     1
Fix build problem with SunStudio compiler under Solaris. Patch taken
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
     2
from here:
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
     3
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
     4
http://lists.gnu.org/archive/html/bug-gawk/2011-07/msg00008.html
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
     5
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
     6
--- gawk-4.1.3/awk.h.orig       2013-04-07 18:54:28.000000000 +0100
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
     7
+++ gawk-4.1.3/awk.h    2013-12-26 19:03:34.000000000 +0000
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
     8
@@ -69,7 +69,7 @@
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
     9
 #endif /* LOCALEDIR */
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
    10
 #endif
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
    11
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
    12
-#if !defined(__STDC__) || __STDC__ < 1
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
    13
+#if !defined(__STDC__) || __STDC__ < 1 && !defined(__EXTENSIONS__)
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
    14
 #error "gawk no longer supports non-C89 environments (no __STDC__ or __STDC__ < 1)"
42a22f73f3bc 16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff changeset
    15
 #endif