aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2002-08-23 23:04:02 +0800
committerade <ade@FreeBSD.org>2002-08-23 23:04:02 +0800
commit1354f01510579218d65d9a6974e105541a2114e3 (patch)
treeb2cc3160db4fab2aa3591d3c52e56f769bc20f08 /devel
parent3490ef70a322c73e63d07d4b5252eb38e3e9b289 (diff)
downloadfreebsd-ports-gnome-1354f01510579218d65d9a6974e105541a2114e3.tar.gz
freebsd-ports-gnome-1354f01510579218d65d9a6974e105541a2114e3.tar.zst
freebsd-ports-gnome-1354f01510579218d65d9a6974e105541a2114e3.zip
Fix build on -current
Submitted by: mike
Diffstat (limited to 'devel')
-rw-r--r--devel/gmake/files/patch-glob.h20
-rw-r--r--devel/gmake381/files/patch-glob.h20
2 files changed, 40 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
diff --git a/devel/gmake381/files/patch-glob.h b/devel/gmake381/files/patch-glob.h
new file mode 100644
index 000000000000..1d1985248735
--- /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