20
srcpkgs/opensc/patches/libressl.patch
Normal file
20
srcpkgs/opensc/patches/libressl.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
--- src/pkcs11/openssl.c.orig 2016-06-05 18:51:11.947157265 +0200
|
||||||
|
+++ src/pkcs11/openssl.c 2016-06-05 18:55:21.067170117 +0200
|
||||||
|
@@ -180,7 +180,7 @@
|
||||||
|
e = ENGINE_by_id("gost");
|
||||||
|
if (!e)
|
||||||
|
{
|
||||||
|
-#if !defined(OPENSSL_NO_STATIC_ENGINE) && !defined(OPENSSL_NO_GOST)
|
||||||
|
+#if !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_NO_STATIC_ENGINE) && !defined(OPENSSL_NO_GOST)
|
||||||
|
ENGINE_load_gost();
|
||||||
|
e = ENGINE_by_id("gost");
|
||||||
|
#else
|
||||||
|
@@ -195,7 +195,7 @@
|
||||||
|
ENGINE_free(e);
|
||||||
|
e = NULL;
|
||||||
|
}
|
||||||
|
-#endif /* !OPENSSL_NO_STATIC_ENGINE && !OPENSSL_NO_GOST */
|
||||||
|
+#endif /* !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_NO_STATIC_ENGINE) && !defined(OPENSSL_NO_GOST) */
|
||||||
|
}
|
||||||
|
if (e) {
|
||||||
|
ENGINE_set_default(e, ENGINE_METHOD_ALL);
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'opensc'
|
# Template file for 'opensc'
|
||||||
pkgname=opensc
|
pkgname=opensc
|
||||||
version=0.16.0
|
version=0.16.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-man --enable-sm --enable-static=no --enable-doc
|
configure_args="--enable-man --enable-sm --enable-static=no --enable-doc
|
||||||
--with-xsl-stylesheetsdir=/usr/share/xsl/docbook"
|
--with-xsl-stylesheetsdir=/usr/share/xsl/docbook"
|
||||||
|
|||||||
Reference in New Issue
Block a user