summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/macopix/files/macopix-3.4.0-openssl-1.1.0.patch10
-rw-r--r--x11-misc/macopix/macopix-3.4.0.ebuild7
2 files changed, 15 insertions, 2 deletions
diff --git a/x11-misc/macopix/files/macopix-3.4.0-openssl-1.1.0.patch b/x11-misc/macopix/files/macopix-3.4.0-openssl-1.1.0.patch
new file mode 100644
index 000000000000..7d816e7d5e50
--- /dev/null
+++ b/x11-misc/macopix/files/macopix-3.4.0-openssl-1.1.0.patch
@@ -0,0 +1,10 @@
+--- a/src/http-client.c
++++ b/src/http-client.c
+@@ -516,7 +516,6 @@
+ SSL_shutdown(ssl);
+ SSL_free(ssl);
+ SSL_CTX_free(ctx);
+- ERR_free_strings();
+
+ close(command_socket);
+
diff --git a/x11-misc/macopix/macopix-3.4.0.ebuild b/x11-misc/macopix/macopix-3.4.0.ebuild
index b7351081a80f..27f14273a81f 100644
--- a/x11-misc/macopix/macopix-3.4.0.ebuild
+++ b/x11-misc/macopix/macopix-3.4.0.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit autotools
DESCRIPTION="MaCoPiX (Mascot Constructive Pilot for X) is a desktop mascot application"
@@ -43,15 +44,17 @@ RDEPEND="
!gnutls? ( dev-libs/openssl:0= )
x11-libs/gtk+:3
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
"
+
PATCHES=(
"${FILESDIR}"/${PN}-3.4.0-CVE-2015-8614.patch
"${FILESDIR}"/${PN}-3.4.0-Werror.patch
"${FILESDIR}"/${PN}-3.4.0-fno-common.patch
"${FILESDIR}"/${PN}-3.4.0-windres.patch
+ "${FILESDIR}"/${PN}-3.4.0-openssl-1.1.0.patch
)
src_prepare() {