From c8e4048f855dddb46af07f673da03df8877b2cf3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 1 Apr 2016 05:42:07 +0200 Subject: [PATCH] libimobiledevice: unbreak for libressl-2.3. --- srcpkgs/libimobiledevice/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/libimobiledevice/template b/srcpkgs/libimobiledevice/template index 7191b705121..77c404317dc 100644 --- a/srcpkgs/libimobiledevice/template +++ b/srcpkgs/libimobiledevice/template @@ -2,7 +2,6 @@ pkgname=libimobiledevice version=1.2.0 revision=6 -broken="idevice.c:681:2: warning: implicit declaration of function 'SSLv3_method'" build_style=gnu-configure hostmakedepends="automake libtool pkg-config python-devel" makedepends="python-devel libglib-devel libressl-devel libusb-devel libplist-devel libusbmuxd-devel" @@ -14,6 +13,7 @@ distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.b checksum=786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037 pre_configure() { + sed -i 's,SSLv3_,SSLv23_,g' src/idevice.c sed -i 's,-L$(libdir),,g' cython/Makefile.am export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7" export PYTHON_LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -lpython2.7"