summaryrefslogtreecommitdiff
path: root/archivers/libarchive
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2016-01-23 05:18:16 +0000
committerryoon <ryoon@pkgsrc.org>2016-01-23 05:18:16 +0000
commitade08dcd67138786a99be63f51ade9bffb9dd01f (patch)
treec728a53be12fd83672f1e85d0921dbd9853c3ebf /archivers/libarchive
parenteca8c413b8a287311dd3a051f153a027bbfb2d91 (diff)
downloadpkgsrc-ade08dcd67138786a99be63f51ade9bffb9dd01f.tar.gz
Fix build on DragonFly 4.4.1
Diffstat (limited to 'archivers/libarchive')
-rw-r--r--archivers/libarchive/files/libarchive/archive_read_disk_posix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/archivers/libarchive/files/libarchive/archive_read_disk_posix.c b/archivers/libarchive/files/libarchive/archive_read_disk_posix.c
index a13dbbf812c..974ec92977f 100644
--- a/archivers/libarchive/files/libarchive/archive_read_disk_posix.c
+++ b/archivers/libarchive/files/libarchive/archive_read_disk_posix.c
@@ -1475,8 +1475,12 @@ setup_current_filesystem(struct archive_read_disk *a)
struct tree *t = a->tree;
struct statfs sfs;
#if defined(HAVE_GETVFSBYNAME) && defined(VFCF_SYNTHETIC)
+#if defined(__DragonFly__)
+ struct vfsconf vfc;
+#else
struct xvfsconf vfc;
#endif
+#endif
int r, xr = 0;
#if !defined(HAVE_STRUCT_STATFS_F_NAMEMAX)
long nm;