diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-25 21:38:13 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-25 21:38:13 +0000 |
commit | 5e2dbf17b7d2310473d7e5c464d6f0140dc0b5a7 (patch) | |
tree | 6b2049081fdef6903519991f61bdc91af9c878e5 /archivers/zchunk/files | |
parent | Update to version 1.8.3, mostly bugfix release. (diff) |
New port: archivers/zchunk: Compressed file format that splits the file into independent chunks
Notes
Notes:
svn path=/head/; revision=550085
Diffstat (limited to 'archivers/zchunk/files')
-rw-r--r-- | archivers/zchunk/files/patch-meson.build | 22 | ||||
-rw-r--r-- | archivers/zchunk/files/patch-src_lib_index_index__read.c | 14 |
2 files changed, 36 insertions, 0 deletions
diff --git a/archivers/zchunk/files/patch-meson.build b/archivers/zchunk/files/patch-meson.build new file mode 100644 index 000000000000..aad04c686dbe --- /dev/null +++ b/archivers/zchunk/files/patch-meson.build @@ -0,0 +1,22 @@ +--- meson.build.orig 2020-03-14 23:03:28 UTC ++++ meson.build +@@ -31,9 +31,18 @@ endif + if get_option('with-openssl') == 'disabled' + openssl_dep = dependency('', required : false) + else +- openssl_dep = dependency('openssl', required : get_option('with-openssl') == 'enabled') ++ openssl_dep = dependency('openssl', required: false) + if openssl_dep.found() + add_project_arguments('-DZCHUNK_OPENSSL', language : 'c') ++ else ++ openssl_dep = [ ++ cc.find_library('ssl', required: get_option('with-openssl') == 'enabled'), ++ cc.find_library('crypto', required: get_option('with-openssl') == 'enabled') ++ ] ++ openssl_dep = openssl_dep[0] ++ if openssl_dep.found() ++ add_project_arguments('-DZCHUNK_OPENSSL', language : 'c') ++ endif + endif + endif + diff --git a/archivers/zchunk/files/patch-src_lib_index_index__read.c b/archivers/zchunk/files/patch-src_lib_index_index__read.c new file mode 100644 index 000000000000..99172b56fa74 --- /dev/null +++ b/archivers/zchunk/files/patch-src_lib_index_index__read.c @@ -0,0 +1,14 @@ +--- src/lib/index/index_read.c.orig 2020-09-25 20:29:27 UTC ++++ src/lib/index/index_read.c +@@ -28,7 +28,11 @@ + #include <stdint.h> + #include <stdbool.h> + #include <string.h> ++#if !defined(__FreeBSD__) + #include <endian.h> ++#else ++#include <sys/endian.h> ++#endif + #include <zck.h> + + #include "zck_private.h" |