summaryrefslogtreecommitdiff
path: root/www/cadaver/files/patch-aa
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-20 21:19:17 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-20 21:19:17 +0000
commit27dc3749e5d6dfd651609dd1c0a64c6c10c33d2b (patch)
tree5329e3a35a574fb5a689674fd4946da6da4b1957 /www/cadaver/files/patch-aa
parentFix build on -current and respect CC and CFLAGS (diff)
Fix build on -current (don't redefine __size_t; same code as in proftpd)
Notes
Notes: svn path=/head/; revision=68436
Diffstat (limited to 'www/cadaver/files/patch-aa')
-rw-r--r--www/cadaver/files/patch-aa11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/cadaver/files/patch-aa b/www/cadaver/files/patch-aa
new file mode 100644
index 000000000000..a7687a337c33
--- /dev/null
+++ b/www/cadaver/files/patch-aa
@@ -0,0 +1,11 @@
+--- lib/glob.h.orig Sun Oct 20 14:19:39 2002
++++ lib/glob.h Sun Oct 20 14:19:56 2002
+@@ -47,7 +47,7 @@
+ #endif /* C++ or ANSI C. */
+
+ /* We need `size_t' for the following definitions. */
+-#ifndef __size_t
++#if !defined(__size_t) && !defined(__FreeBSD__)
+ # if defined __GNUC__ && __GNUC__ >= 2
+ typedef __SIZE_TYPE__ __size_t;
+ # else