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"