pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/serf serf: fix build with openssl3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed5e7d3a49f3
branches:  trunk
changeset: 391695:ed5e7d3a49f3
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Jan 12 11:44:48 2023 +0000

description:
serf: fix build with openssl3

diffstat:

 www/serf/distinfo                             |   3 ++-
 www/serf/patches/patch-buckets_ssl__buckets.c |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r b3d68337277b -r ed5e7d3a49f3 www/serf/distinfo
--- a/www/serf/distinfo Thu Jan 12 11:42:13 2023 +0000
+++ b/www/serf/distinfo Thu Jan 12 11:44:48 2023 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.26 2021/10/26 11:31:07 nia Exp $
+$NetBSD: distinfo,v 1.27 2023/01/12 11:44:48 markd Exp $
 
 BLAKE2s (serf-1.3.9.tar.bz2) = 5fd4011a036f0d6b3d6ab695214646acc85f8601bb6c3fe32ba808deefa07ade
 SHA512 (serf-1.3.9.tar.bz2) = 9f5418d991840a08d293d1ecba70cd9534a207696d002f22dbe62354e7b005955112a0d144a76c89c7f7ad3b4c882e54974441fafa0c09c4aa25c49c021ca75d
 Size (serf-1.3.9.tar.bz2) = 145132 bytes
 SHA1 (patch-SConstruct) = f5adb0e945fc22937ee8f7861d65735d7ffa0b2d
+SHA1 (patch-buckets_ssl__buckets.c) = 2b12c0e27ffc256a76a00b06891275ead5a58e16
diff -r b3d68337277b -r ed5e7d3a49f3 www/serf/patches/patch-buckets_ssl__buckets.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/serf/patches/patch-buckets_ssl__buckets.c     Thu Jan 12 11:44:48 2023 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-buckets_ssl__buckets.c,v 1.3 2023/01/12 11:44:48 markd Exp $
+
+openssl3 patch
+
+--- buckets/ssl_buckets.c.orig 2016-06-30 15:45:07.000000000 +0000
++++ buckets/ssl_buckets.c
+@@ -1204,6 +1204,10 @@ static void init_ssl_libraries(void)
+     }
+ }
+ 
++#ifndef ERR_GET_FUNC
++#define ERR_GET_FUNC(ec) (0)
++#endif
++
+ static int ssl_need_client_cert(SSL *ssl, X509 **cert, EVP_PKEY **pkey)
+ {
+     serf_ssl_context_t *ctx = SSL_get_app_data(ssl);



Home | Main Index | Thread Index | Old Index