diff options
author | joerg <joerg> | 2008-05-29 17:26:07 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-05-29 17:26:07 +0000 |
commit | 8dcfee40d8f14fdc2c97a23bc0a17da81d19bd8a (patch) | |
tree | a537f96fba49dd6082775dcf422b1a8f49a80de8 /archivers | |
parent | 8c40f091f704353de756ca027386a968dc25eca3 (diff) | |
download | pkgsrc-8dcfee40d8f14fdc2c97a23bc0a17da81d19bd8a.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')
-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; |