commit:     5559adec4b13500fe445e1a591bd159177db3f2a
Author:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  8 09:52:00 2022 +0000
Commit:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Sat Jan  8 09:52:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5559adec

www-client/dillo: fix build with --disable-ssl

Closes: https://bugs.gentoo.org/830755
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>

 www-client/dillo/dillo-3.1_pre20181005.ebuild      |  3 ++-
 .../dillo/files/dillo-3.0.5-disable-ssl.patch      | 22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/www-client/dillo/dillo-3.1_pre20181005.ebuild 
b/www-client/dillo/dillo-3.1_pre20181005.ebuild
index 90df028cb417..5419571beac8 100644
--- a/www-client/dillo/dillo-3.1_pre20181005.ebuild
+++ b/www-client/dillo/dillo-3.1_pre20181005.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -30,6 +30,7 @@ DEPEND="
 PATCHES=(
        "${FILESDIR}"/${PN}2-inbuf.patch
        "${FILESDIR}"/${PN}-3.0.5-fno-common.patch
+       "${FILESDIR}"/${PN}-3.0.5-disable-ssl.patch
 )
 DOCS="AUTHORS ChangeLog README NEWS doc/*.txt doc/README"
 

diff --git a/www-client/dillo/files/dillo-3.0.5-disable-ssl.patch 
b/www-client/dillo/files/dillo-3.0.5-disable-ssl.patch
new file mode 100644
index 000000000000..de96ea6c1586
--- /dev/null
+++ b/www-client/dillo/files/dillo-3.0.5-disable-ssl.patch
@@ -0,0 +1,22 @@
+
+# HG changeset patch
+# User Johannes Hofmann <[email protected]>
+# Date 1612905342 -3600
+# Node ID 67b70f024568b505633524be61fcfbde5337849f
+# Parent  f60d55c0256759b578b54c577da94670a7737c8a
+fix build with --disable-ssl
+
+submitted-by: John DiMarco <[email protected]>
+
+diff -r f60d55c02567 -r 67b70f024568 src/IO/tls.h
+--- a/src/IO/tls.h     Fri Oct 05 22:05:08 2018 +0200
++++ b/src/IO/tls.h     Tue Feb 09 22:15:42 2021 +0100
+@@ -35,6 +35,7 @@
+ #define a_Tls_connect_ready(url) TLS_CONNECT_NEVER
+ #define a_Tls_reset_server_state(url) ;
+ #define a_Tls_handshake(fd, url) ;
++#define a_Tls_connect(fd, url) ;
+ #define a_Tls_connection(fd) NULL
+ #define a_Tls_freeall() ;
+ #define a_Tls_close_by_fd(fd) ;
+

Reply via email to