diff -r 028461eee75e -r 42a22f73f3bc components/gawk/patches/patch_awk.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/gawk/patches/patch_awk.patch Wed Jan 13 13:09:32 2016 -0800 @@ -0,0 +1,15 @@ +Fix build problem with SunStudio compiler under Solaris. Patch taken +from here: + +http://lists.gnu.org/archive/html/bug-gawk/2011-07/msg00008.html + +--- gawk-4.1.3/awk.h.orig 2013-04-07 18:54:28.000000000 +0100 ++++ gawk-4.1.3/awk.h 2013-12-26 19:03:34.000000000 +0000 +@@ -69,7 +69,7 @@ + #endif /* LOCALEDIR */ + #endif + +-#if !defined(__STDC__) || __STDC__ < 1 ++#if !defined(__STDC__) || __STDC__ < 1 && !defined(__EXTENSIONS__) + #error "gawk no longer supports non-C89 environments (no __STDC__ or __STDC__ < 1)" + #endif