1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/weex/fix-ssl-in-configure.patch
Milan P. Stanić 1c4bd6edb3 testing/weex: fix segmentation fault when connecting
issue and fix are described on https://sourceforge.net/p/weex/bugs/10/

modernize and clean somewhat APKBUILD
2020-07-19 15:55:17 +00:00

14 lines
528 B
Diff

fixes segmentation fault, described on next url
URL: https://sourceforge.net/p/weex/bugs/10/
--- a/configure.in 2017-02-08 15:01:12.000000000 +0100
+++ b/configure.in 2020-07-19 13:56:55.097748342 +0200
@@ -33,7 +33,7 @@
AC_CHECK_LIB(socket,socket)
AC_CHECK_LIB(nsl,gethostbyname)
AC_CHECK_LIB([crypto],[CRYPTO_new_ex_data],
- AC_CHECK_LIB([ssl],[OPENSSL_init_ssl],
+ AC_CHECK_LIB([ssl],[SSL_connect],
[LIBS="$LIBS -lssl -lcrypto"; CFLAGS="$CFLAGS -DUSE_SSL=1"], AC_MSG_ERROR([OpenSSL is not installed]))
)