aboutsummaryrefslogtreecommitdiff
path: root/archivers/rpm4/files
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-11-14 21:47:47 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-11-14 21:47:47 +0000
commitc8144eafb489a824f1e279f7dfb9cfd84cffc336 (patch)
treeb517e7de29a830c3f13e765fcc338913f91282d8 /archivers/rpm4/files
parent34df09046fc692c7a987dec8a1a44efa9407c2c0 (diff)
Notes
Diffstat (limited to 'archivers/rpm4/files')
-rw-r--r--archivers/rpm4/files/patch-misc_glob.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/archivers/rpm4/files/patch-misc_glob.h b/archivers/rpm4/files/patch-misc_glob.h
new file mode 100644
index 000000000000..6d8b056c8d48
--- /dev/null
+++ b/archivers/rpm4/files/patch-misc_glob.h
@@ -0,0 +1,18 @@
+--- misc/glob.h.orig 2011-11-14 22:06:03.000000000 +0100
++++ misc/glob.h 2011-11-14 22:07:01.000000000 +0100
+@@ -110,10 +110,11 @@
+ #endif
+ typedef struct
+ {
+- __size_t gl_pathc; /* Count of paths matched by the pattern. */
+- char **gl_pathv; /* List of matched pathnames. */
+- __size_t gl_offs; /* Slots to reserve in `gl_pathv'. */
+- int gl_flags; /* Set to FLAGS, maybe | GLOB_MAGCHAR. */
++ __size_t gl_pathc; /* Count of total paths so far. */
++ __size_t gl_matchc; /* Count of paths matching pattern. */
++ __size_t gl_offs; /* Reserved at beginning of gl_pathv. */
++ int gl_flags; /* Copy of flags parameter to glob. */
++ char **gl_pathv; /* List of paths matching pattern. */
+
+ /* If the GLOB_ALTDIRFUNC flag is set, the following functions
+ are used instead of the normal file access functions. */