Dominique Leuenberger 2021-05-06 20:51:31 +00:00 committed by Git OBS Bridge
commit 3c6be7e684
5 changed files with 14 additions and 19 deletions

View File

@ -1,12 +0,0 @@
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)

3
zchunk-1.1.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:febbbfb1de7720641e7e36cef6ae0ce8ed18684e3faf539f703a5497f830267f
size 1449758

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e9bac8bb92e86eba50dc7fcf1f79e7835534c3aa15274355ffd84a8bcc03f91
size 1449219

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon May 3 16:19:29 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 1.1.11
* Fix memory leak of zck->prep_digest
* Fix argp detection
* Handle certain rare web servers that don't start with \r\n
- Drop upstream merged fix-test-argp.patch
-------------------------------------------------------------------
Mon Apr 26 21:13:02 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -22,15 +22,13 @@
%global devname libzck-devel
Name: zchunk
Version: 1.1.9
Version: 1.1.11
Release: 0
Summary: Compressed file format that allows easy deltas
License: BSD-2-Clause AND MIT
Group: Productivity/Archiving/Compression
URL: https://github.com/zchunk/zchunk
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/zchunk/zchunk/pull/39
Patch0: fix-test-argp.patch
BuildRequires: meson >= 0.44.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcurl)