diff options
author | joerg <joerg@pkgsrc.org> | 2008-05-29 17:26:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-05-29 17:26:07 +0000 |
commit | 8092a00587cd230cafe1a85c5ea3eb887f416d63 (patch) | |
tree | a537f96fba49dd6082775dcf422b1a8f49a80de8 /archivers/libarchive | |
parent | 42f3e3280b37fe3b28b1f85a2e631f078bfcdcba (diff) | |
download | pkgsrc-8092a00587cd230cafe1a85c5ea3eb887f416d63.tar.gz |
Apply change 142518 from Perforce master to fix PR 38787:
Minor portability enhancement; define REG_BASIC if it's not
already defined.
Diffstat (limited to 'archivers/libarchive')
-rw-r--r-- | archivers/libarchive/files/tar/subst.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archivers/libarchive/files/tar/subst.c b/archivers/libarchive/files/tar/subst.c index 9fcd4d95fcf..ea96d156b7a 100644 --- a/archivers/libarchive/files/tar/subst.c +++ b/archivers/libarchive/files/tar/subst.c @@ -34,6 +34,10 @@ __FBSDID("$FreeBSD$"); #include <stdlib.h> #include <string.h> +#ifndef REG_BASIC +#define REG_BASIC 0 +#endif + struct subst_rule { struct subst_rule *next; regex_t re; |