summaryrefslogtreecommitdiffstats
path: root/devel/gmake381
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2002-08-23 15:04:02 +0000
committerade <ade@FreeBSD.org>2002-08-23 15:04:02 +0000
commit1354f01510579218d65d9a6974e105541a2114e3 (patch)
treeb2cc3160db4fab2aa3591d3c52e56f769bc20f08 /devel/gmake381
parent3490ef70a322c73e63d07d4b5252eb38e3e9b289 (diff)
downloadFreeBSD-ports-1354f01510579218d65d9a6974e105541a2114e3.zip
FreeBSD-ports-1354f01510579218d65d9a6974e105541a2114e3.tar.gz
Fix build on -current
Submitted by: mike
Diffstat (limited to 'devel/gmake381')
-rw-r--r--devel/gmake381/files/patch-glob.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/gmake381/files/patch-glob.h b/devel/gmake381/files/patch-glob.h
new file mode 100644
index 0000000..1d198524
--- /dev/null
+++ b/devel/gmake381/files/patch-glob.h
@@ -0,0 +1,20 @@
+--- glob/glob.h.orig Sat Jan 22 00:43:03 2000
++++ glob/glob.h Fri Aug 23 02:37:03 2002
+@@ -47,6 +47,9 @@
+
+ /* We need `size_t' for the following definitions. */
+ #ifndef __size_t
++#if defined __FreeBSD__
++#define __size_t size_t
++#else
+ # if defined __GNUC__ && __GNUC__ >= 2
+ typedef __SIZE_TYPE__ __size_t;
+ # else
+@@ -59,6 +62,7 @@
+ */
+ #if !(defined __DECC && defined __SIZE_T)
+ typedef unsigned long int __size_t;
++#endif
+ #endif
+ # endif
+ #else
OpenPOWER on IntegriCloud