diff --git a/srcpkgs/phantomjs/template b/srcpkgs/phantomjs/template index 595142a94a3..ea87c53803e 100644 --- a/srcpkgs/phantomjs/template +++ b/srcpkgs/phantomjs/template @@ -12,12 +12,13 @@ license="BSD, MIT, LGPL-2.1" homepage="http://phantomjs.org/" distfiles="https://bitbucket.org/ariya/${pkgname}/downloads/${pkgname}-${version}-source.zip" checksum=cc81249eaa059cc138414390cade9cb6509b9d6fa0df16f4f43de70b174b3bfe -broken="libressl-2.3/SSLv3_client_method" nopie=yes nocross=yes do_configure() { + sed -i 's,SSLv3_,SSLv23_,g' src/qt/qtbase/src/network/ssl/qsslcontext.cpp \ + src/qt/qtbase/src/network/ssl/qsslsocket_openssl_symbols_p.h sed -e "s|-O2|${CXXFLAGS}|" \ -i src/qt/qtbase/mkspecs/common/{g++,gcc}-base.conf sed -e "/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g" \