forked from pool/zchunk
- Update to version 1.1.9 * Handle zstd 1.4.7+ * Update documentation * unzck: require a *.zck extension * General bug fixes - Dropped upstream merged d2eae512bee09a4047cfe586de12f644d73b0736.patch - Add fix-test-argp.patch: Fix argp detection OBS-URL: https://build.opensuse.org/request/show/888804 OBS-URL: https://build.opensuse.org/package/show/Archiving/zchunk?expand=0&rev=27
13 lines
785 B
Diff
13 lines
785 B
Diff
diff -Nur zchunk-1.1.9/meson.build new/meson.build
|
|
--- zchunk-1.1.9/meson.build 2020-12-30 23:47:08.000000000 +0100
|
|
+++ new/meson.build 2021-04-27 00:18:38.152514197 +0200
|
|
@@ -28,7 +28,7 @@
|
|
|
|
curl_dep = dependency('libcurl')
|
|
|
|
-if build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include <argp.h>\nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); }; void main() {}')
|
|
+if build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include <argp.h>\nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}')
|
|
argplib = cc.find_library('argp')
|
|
else
|
|
argplib = dependency('', required : false)
|