]> git.pld-linux.org Git - packages/serf.git/commitdiff
- rebuild with openssl 3.0.0, rel 3 auto/th/serf-1.3.9-3
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 29 Sep 2021 20:20:39 +0000 (22:20 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 29 Sep 2021 20:20:39 +0000 (22:20 +0200)
openssl3.patch [new file with mode: 0644]
serf.spec

diff --git a/openssl3.patch b/openssl3.patch
new file mode 100644 (file)
index 0000000..329bb3e
--- /dev/null
@@ -0,0 +1,12 @@
+--- serf-1.3.9/buckets/ssl_buckets.c~  2016-06-30 17:45:07.000000000 +0200
++++ serf-1.3.9/buckets/ssl_buckets.c   2021-09-29 22:19:11.602245223 +0200
+@@ -1325,8 +1325,7 @@
+                 return 0;
+             }
+             else {
+-                printf("OpenSSL cert error: %d %d %d\n", ERR_GET_LIB(err),
+-                       ERR_GET_FUNC(err),
++                printf("OpenSSL cert error: %d %d\n", ERR_GET_LIB(err),
+                        ERR_GET_REASON(err));
+                 PKCS12_free(p12);
+                 bio_meth_free(biom);
index 51fbeb1b53f03f91d21453fe3ba554f0279d93b7..8f78b9d80c504a4a86160b0e6c6f9bfb637eebcd 100644 (file)
--- a/serf.spec
+++ b/serf.spec
@@ -7,12 +7,13 @@ Summary:      A high-performance asynchronous HTTP client library
 Summary(pl.UTF-8):     Wysokowydajna biblioteka asynchronicznego klienta HTTP
 Name:          serf
 Version:       1.3.9
-Release:       2
+Release:       3
 License:       Apache v2.0
 Group:         Libraries
 Source0:       https://www.apache.org/dist/serf/%{name}-%{version}.tar.bz2
 # Source0-md5: 370a6340ff20366ab088012cd13f2b57
 Patch0:                %{name}-scons.patch
+Patch1:                openssl3.patch
 URL:           https://serf.apache.org/
 BuildRequires: apr-devel
 BuildRequires: apr-util-devel
@@ -67,6 +68,7 @@ Statyczne biblioteki serf.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %scons \
This page took 0.151724 seconds and 4 git commands to generate.