edbrowse: update to 3.7.5.

This commit is contained in:
Leah Neukirchen 2019-08-22 14:30:47 +02:00
parent 427d50c6a6
commit a548cc58b4
2 changed files with 3 additions and 30 deletions

View file

@ -1,27 +0,0 @@
From 5d2b9e21fdf019f461ebe62738d615428d5db963 Mon Sep 17 00:00:00 2001
From: Po-Chuan Hsieh <sunpoet@sunpoet.net>
Date: Sat, 3 Nov 2018 18:11:14 +0800
Subject: [PATCH] Fix build with curl 7.62.0
from CHANGES:
ssl: deprecate CURLE_SSL_CACERT in favour of a unified error code
Long live CURLE_PEER_FAILED_VERIFICATION
---
src/http.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/http.c b/src/http.c
index 56eebab..ccafc8f 100644
--- src/http.c
+++ src/http.c
@@ -1557,7 +1557,9 @@ void ebcurl_setError(CURLcode curlret, const char *url, int action,
break;
case CURLE_PEER_FAILED_VERIFICATION:
+#if LIBCURL_VERSION_NUM < 0x073e00
case CURLE_SSL_CACERT:
+#endif
(*fn) (MSG_NoCertify, host);
break;

View file

@ -1,7 +1,7 @@
# Template file for 'edbrowse'
pkgname=edbrowse
version=3.7.4
revision=3
version=3.7.5
revision=1
hostmakedepends="perl pkg-config"
build_style=cmake
makedepends="duktape-devel libcurl-devel libtidy5-devel pcre-devel
@ -11,7 +11,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="http://edbrowse.org/"
distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
checksum=b79e6417c1170c96ef68968c33d585725f0f2d27859e3fe807c980a9c33ea719
checksum=7d7c44d2c01cf23880ed0514c7fcfb8c19e21dff8ef937297cb14506fab1da7f
do_install() {
vbin build/edbrowse