From afe69bfd26435db77d76aa37e597b23d12ca24f0 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 13 Apr 2017 10:32:25 +0200 Subject: [PATCH] trousers: fix libressl --- srcpkgs/trousers/patches/fix-libressl.patch | 11 +++++++++++ srcpkgs/trousers/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/trousers/patches/fix-libressl.patch diff --git a/srcpkgs/trousers/patches/fix-libressl.patch b/srcpkgs/trousers/patches/fix-libressl.patch new file mode 100644 index 00000000000..b7ac6243444 --- /dev/null +++ b/srcpkgs/trousers/patches/fix-libressl.patch @@ -0,0 +1,11 @@ +--- src/trspi/crypto/openssl/rsa.c 2016-11-21 03:16:10 UTC ++++ src/trspi/crypto/openssl/rsa.c +@@ -38,7 +38,7 @@ + #define DEBUG_print_openssl_errors() + #endif + +-#if OPENSSL_VERSION_NUMBER < 0x10100001L ++#if OPENSSL_VERSION_NUMBER < 0x10100001L || defined(LIBRESSL_VERSION_NUMBER) + static int + RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template index 641a4fcc437..0caf4ea74b3 100644 --- a/srcpkgs/trousers/template +++ b/srcpkgs/trousers/template @@ -1,7 +1,7 @@ # Template file for 'trousers' pkgname=trousers version=0.3.14 -revision=1 +revision=2 build_style=gnu-configure conf_files="/etc/tcsd.conf" makedepends="libressl-devel"