From 755b34b2cd795c06a90b35c2077b9c427d4ddf54 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 29 Sep 2017 06:54:51 +0200 Subject: community/ponyc: patch for openssl-1.0 --- community/ponyc/pony-ssl-1.0-compat.patch | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 community/ponyc/pony-ssl-1.0-compat.patch (limited to 'community/ponyc/pony-ssl-1.0-compat.patch') diff --git a/community/ponyc/pony-ssl-1.0-compat.patch b/community/ponyc/pony-ssl-1.0-compat.patch new file mode 100644 index 00000000..93fdf973 --- /dev/null +++ b/community/ponyc/pony-ssl-1.0-compat.patch @@ -0,0 +1,35 @@ +diff --git a/packages/crypto/digest.pony b/packages/crypto/digest.pony +index 9b88fb45..7afeb847 100644 +--- a/packages/crypto/digest.pony ++++ b/packages/crypto/digest.pony +@@ -1,5 +1,5 @@ + use "path:/usr/local/opt/libressl/lib" if osx +-use "lib:crypto" ++use "lib:/usr/lib/libcrypto.so.1.0.0" + + primitive _EVPMD + primitive _EVPCTX +diff --git a/packages/crypto/hash_fn.pony b/packages/crypto/hash_fn.pony +index b3edc5cf..2d48f99c 100644 +--- a/packages/crypto/hash_fn.pony ++++ b/packages/crypto/hash_fn.pony +@@ -1,5 +1,5 @@ + use "path:/usr/local/opt/libressl/lib" if osx +-use "lib:crypto" ++use "lib:/usr/lib/libcrypto.so.1.0.0" + + use "format" + +diff --git a/packages/net/ssl/_ssl_init.pony b/packages/net/ssl/_ssl_init.pony +index 26a48d26..e861a086 100644 +--- a/packages/net/ssl/_ssl_init.pony ++++ b/packages/net/ssl/_ssl_init.pony +@@ -1,6 +1,6 @@ + use "path:/usr/local/opt/libressl/lib" if osx +-use "lib:ssl" +-use "lib:crypto" ++use "lib:/usr/lib/libssl.so.1.0.0" ++use "lib:/usr/lib/libcrypto.so.1.0.0" + + primitive _SSLInit + """ -- cgit v1.2.3-70-g09d2