[arch-commits] Commit in edbrowse/trunk (PKGBUILD fix-build-with-curl-7.62.0.patch)
Alad Wenter
alad at archlinux.org
Sat Mar 2 15:49:48 UTC 2019
Date: Saturday, March 2, 2019 @ 15:49:47
Author: alad
Revision: 437373
edbrowse: update to 3.7.4
Added:
edbrowse/trunk/fix-build-with-curl-7.62.0.patch
Modified:
edbrowse/trunk/PKGBUILD
----------------------------------+
PKGBUILD | 6 +++---
fix-build-with-curl-7.62.0.patch | 26 ++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-02 15:44:24 UTC (rev 437372)
+++ PKGBUILD 2019-03-02 15:49:47 UTC (rev 437373)
@@ -5,13 +5,14 @@
# Contributor: aksr <aksr at t-com dot me>
pkgname=edbrowse
-pkgver=3.7.3
-pkgrel=2
+pkgver=3.7.4
+pkgrel=1
pkgdesc='Line-oriented editor, browser and mail client'
arch=('x86_64')
url="http://edbrowse.org/"
license=('GPL' 'MPL')
depends=('duktape' 'tidy' 'curl' 'pcre')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/CMB/edbrowse/archive/v$pkgver.tar.gz")
source=("$pkgname-$pkgver.tar.gz::https://github.com/CMB/edbrowse/archive/v$pkgver.tar.gz"
curl-7.62.patch)
sha256sums=('ae7717c4c30297a01185ae2705fd55a7cd5f5484db05d5dfc02b7932b5766498'
@@ -33,7 +34,6 @@
install -Dm644 README CHANGES -t "$pkgdir/usr/share/doc/$pkgname/README"
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
-
install -Dm644 doc/usersguide.html doc/sample.ebrc -t "$pkgdir/usr/share/doc/edbrowse"
install -Dm644 doc/man-edbrowse-debian.1 -T "$pkgdir/usr/share/man/man1/edbrowse.1"
}
Added: fix-build-with-curl-7.62.0.patch
===================================================================
--- fix-build-with-curl-7.62.0.patch (rev 0)
+++ fix-build-with-curl-7.62.0.patch 2019-03-02 15:49:47 UTC (rev 437373)
@@ -0,0 +1,26 @@
+From 5d2b9e21fdf019f461ebe62738d615428d5db963 Mon Sep 17 00:00:00 2001
+From: Po-Chuan Hsieh <sunpoet at 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
+--- a/src/http.c
++++ b/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;
+
More information about the arch-commits
mailing list