summaryrefslogtreecommitdiff
path: root/package/gawk/patches/patch-configh_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/gawk/patches/patch-configh_in')
-rw-r--r--package/gawk/patches/patch-configh_in45
1 files changed, 45 insertions, 0 deletions
diff --git a/package/gawk/patches/patch-configh_in b/package/gawk/patches/patch-configh_in
new file mode 100644
index 000000000..fc0b26f6c
--- /dev/null
+++ b/package/gawk/patches/patch-configh_in
@@ -0,0 +1,45 @@
+--- gawk-3.1.7.orig/configh.in 2009-07-21 21:30:16.000000000 +0200
++++ gawk-3.1.7/configh.in 2010-02-23 21:33:27.689776531 +0100
+@@ -227,10 +227,10 @@
+ /* Define to 1 if you have the `strtoul' function. */
+ #undef HAVE_STRTOUL
+
+-/* Define to 1 if `st_blksize' is member of `struct stat'. */
++/* Define to 1 if `struct stat' is a member of `st_blksize'. */
+ #undef HAVE_STRUCT_STAT_ST_BLKSIZE
+
+-/* Define to 1 if `tm_zone' is member of `struct tm'. */
++/* Define to 1 if `struct tm' is a member of `tm_zone'. */
+ #undef HAVE_STRUCT_TM_TM_ZONE
+
+ /* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
+@@ -345,6 +345,9 @@
+ /* Define to the one symbol short name of this package. */
+ #undef PACKAGE_TARNAME
+
++/* Define to the home page for this package. */
++#undef PACKAGE_URL
++
+ /* Define to the version of this package. */
+ #undef PACKAGE_VERSION
+
+@@ -452,13 +455,14 @@
+ nothing if this is not supported. Do not define if restrict is
+ supported directly. */
+ #undef restrict
+-/* Work around a bug in Sun C++: it does not support _Restrict, even
+- though the corresponding Sun C compiler does, which causes
+- "#define restrict _Restrict" in the previous line. Perhaps some future
+- version of Sun C++ will work with _Restrict; if so, it'll probably
+- define __RESTRICT, just as Sun C does. */
++/* Work around a bug in Sun C++: it does not support _Restrict or
++ __restrict__, even though the corresponding Sun C compiler ends up with
++ "#define restrict _Restrict" or "#define restrict __restrict__" in the
++ previous line. Perhaps some future version of Sun C++ will work with
++ restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
+ #if defined __SUNPRO_CC && !defined __RESTRICT
+ # define _Restrict
++# define __restrict__
+ #endif
+
+ /* Define to `unsigned int' if <sys/types.h> does not define. */