summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-09-23 16:53:05 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-09-23 16:53:05 +0000
commit9535bfbeb6a6a698ca4e1619b2d71e16cfd1c9e9 (patch)
tree0cdb655e6a55e346e4593fe469ebaaded637d218 /archivers
parentSince the master site is down, temporarily mirror the tarball at (diff)
Fix on -current.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rpm/files/patch-misc::glob.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/archivers/rpm/files/patch-misc::glob.h b/archivers/rpm/files/patch-misc::glob.h
new file mode 100644
index 000000000000..214f185e4b62
--- /dev/null
+++ b/archivers/rpm/files/patch-misc::glob.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- misc/glob.h 2002/09/23 16:45:45 1.1
++++ misc/glob.h 2002/09/23 16:46:23
+@@ -46,7 +46,7 @@
+ #endif /* C++ or ANSI C. */
+
+ /* We need `size_t' for the following definitions. */
+-#ifndef __size_t
++#if !defined(__size_t) && !defined(_SIZE_T_DECLARED)
+ # if defined __GNUC__ && __GNUC__ >= 2
+ typedef __SIZE_TYPE__ __size_t;
+ # ifdef _XOPEN_SOURCE