aboutsummaryrefslogtreecommitdiff
path: root/devel/gmake/files
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2002-08-23 15:04:02 +0000
committerAde Lovett <ade@FreeBSD.org>2002-08-23 15:04:02 +0000
commit0649b373c8a53f3f481d7fac51fd4c7bf4237e4a (patch)
treef806605dad5bd5492e31070064d10713c91588b2 /devel/gmake/files
parent38ec7d50e7005de8a694496d886fbafad08ee1bd (diff)
downloadports-0649b373c8a53f3f481d7fac51fd4c7bf4237e4a.tar.gz
ports-0649b373c8a53f3f481d7fac51fd4c7bf4237e4a.zip
Notes
Diffstat (limited to 'devel/gmake/files')
-rw-r--r--devel/gmake/files/patch-glob.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/gmake/files/patch-glob.h b/devel/gmake/files/patch-glob.h
new file mode 100644
index 000000000000..1d1985248735
--- /dev/null
+++ b/devel/gmake/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