aboutsummaryrefslogtreecommitdiff
path: root/deskutils/osmo/files/patch-src__backup.c
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/osmo/files/patch-src__backup.c')
-rw-r--r--deskutils/osmo/files/patch-src__backup.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/deskutils/osmo/files/patch-src__backup.c b/deskutils/osmo/files/patch-src__backup.c
new file mode 100644
index 000000000000..e9cce70a0757
--- /dev/null
+++ b/deskutils/osmo/files/patch-src__backup.c
@@ -0,0 +1,17 @@
+--- src/backup.c.orig 2014-10-19 00:26:19.000000000 +0900
++++ src/backup.c 2014-10-19 00:32:50.000000000 +0900
+@@ -41,6 +41,14 @@
+ #include <archive.h>
+ #include <archive_entry.h>
+
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#if __FreeBSD_version <= 1000008 /* r232154: bump for libarchive update */
++#define archive_read_support_filter_all(x) \
++ archive_read_support_compression_all(x)
++#endif
++#endif
++
+ /*------------------------------------------------------------------------------*/
+
+ int