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"