1 |
commit: 5559adec4b13500fe445e1a591bd159177db3f2a |
2 |
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 8 09:52:00 2022 +0000 |
4 |
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 8 09:52:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5559adec |
7 |
|
8 |
www-client/dillo: fix build with --disable-ssl |
9 |
|
10 |
Closes: https://bugs.gentoo.org/830755 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org> |
13 |
|
14 |
www-client/dillo/dillo-3.1_pre20181005.ebuild | 3 ++- |
15 |
.../dillo/files/dillo-3.0.5-disable-ssl.patch | 22 ++++++++++++++++++++++ |
16 |
2 files changed, 24 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/www-client/dillo/dillo-3.1_pre20181005.ebuild b/www-client/dillo/dillo-3.1_pre20181005.ebuild |
19 |
index 90df028cb417..5419571beac8 100644 |
20 |
--- a/www-client/dillo/dillo-3.1_pre20181005.ebuild |
21 |
+++ b/www-client/dillo/dillo-3.1_pre20181005.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
@@ -30,6 +30,7 @@ DEPEND=" |
29 |
PATCHES=( |
30 |
"${FILESDIR}"/${PN}2-inbuf.patch |
31 |
"${FILESDIR}"/${PN}-3.0.5-fno-common.patch |
32 |
+ "${FILESDIR}"/${PN}-3.0.5-disable-ssl.patch |
33 |
) |
34 |
DOCS="AUTHORS ChangeLog README NEWS doc/*.txt doc/README" |
35 |
|
36 |
|
37 |
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 |
38 |
new file mode 100644 |
39 |
index 000000000000..de96ea6c1586 |
40 |
--- /dev/null |
41 |
+++ b/www-client/dillo/files/dillo-3.0.5-disable-ssl.patch |
42 |
@@ -0,0 +1,22 @@ |
43 |
+ |
44 |
+# HG changeset patch |
45 |
+# User Johannes Hofmann <Johannes.Hofmann@×××.de> |
46 |
+# Date 1612905342 -3600 |
47 |
+# Node ID 67b70f024568b505633524be61fcfbde5337849f |
48 |
+# Parent f60d55c0256759b578b54c577da94670a7737c8a |
49 |
+fix build with --disable-ssl |
50 |
+ |
51 |
+submitted-by: John DiMarco <jdd@××××××××××.edu> |
52 |
+ |
53 |
+diff -r f60d55c02567 -r 67b70f024568 src/IO/tls.h |
54 |
+--- a/src/IO/tls.h Fri Oct 05 22:05:08 2018 +0200 |
55 |
++++ b/src/IO/tls.h Tue Feb 09 22:15:42 2021 +0100 |
56 |
+@@ -35,6 +35,7 @@ |
57 |
+ #define a_Tls_connect_ready(url) TLS_CONNECT_NEVER |
58 |
+ #define a_Tls_reset_server_state(url) ; |
59 |
+ #define a_Tls_handshake(fd, url) ; |
60 |
++#define a_Tls_connect(fd, url) ; |
61 |
+ #define a_Tls_connection(fd) NULL |
62 |
+ #define a_Tls_freeall() ; |
63 |
+ #define a_Tls_close_by_fd(fd) ; |
64 |
+ |