summaryrefslogtreecommitdiffstats
path: root/archivers/rpm
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-09-23 16:53:05 +0000
committersobomax <sobomax@FreeBSD.org>2002-09-23 16:53:05 +0000
commit021c35df9bc3d465781bddb0d58c14b81e23a684 (patch)
treeacfdb3fe1ae12a5a362afa12837857be2293297e /archivers/rpm
parent2f4cb24278504742499b2ea15d54f19048d62e6d (diff)
downloadFreeBSD-ports-021c35df9bc3d465781bddb0d58c14b81e23a684.zip
FreeBSD-ports-021c35df9bc3d465781bddb0d58c14b81e23a684.tar.gz
Fix on -current.
Diffstat (limited to 'archivers/rpm')
-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 0000000..214f185
--- /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
OpenPOWER on IntegriCloud