diff options
Diffstat (limited to 'app-arch/libarchive/files/libarchive-2.5.4b-glibc.patch')
-rw-r--r-- | app-arch/libarchive/files/libarchive-2.5.4b-glibc.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-arch/libarchive/files/libarchive-2.5.4b-glibc.patch b/app-arch/libarchive/files/libarchive-2.5.4b-glibc.patch new file mode 100644 index 000000000000..2b25204030c3 --- /dev/null +++ b/app-arch/libarchive/files/libarchive-2.5.4b-glibc.patch @@ -0,0 +1,15 @@ +Index: libarchive-2.5.4b/tar/subst.c +=================================================================== +--- libarchive-2.5.4b.orig/tar/subst.c ++++ libarchive-2.5.4b/tar/subst.c +@@ -29,6 +29,10 @@ __FBSDID("$FreeBSD$"); + #if HAVE_REGEX_H + #include "bsdtar.h" + ++#ifndef REG_BASIC ++# define REG_BASIC 0 ++#endif ++ + #include <errno.h> + #include <regex.h> + #include <stdlib.h> |