Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 01:43:17 +0000 (UTC)
From:      Alberto Villa <avilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330274 - in head/comms: libimobiledevice/files py-libimobiledevice
Message-ID:  <201310140143.r9E1hHTD051811@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avilla
Date: Mon Oct 14 01:43:16 2013
New Revision: 330274
URL: http://svnweb.freebsd.org/changeset/ports/330274

Log:
  - Backport patch to fix build of py-libimobiledevice.
  
  Reported by:	pkg-fallout
  
  - Adapt to LIB_DEPENDS change.
  - Enable stage support.

Added:
  head/comms/libimobiledevice/files/patch-git_62ab50f   (contents, props changed)
Modified:
  head/comms/py-libimobiledevice/Makefile

Added: head/comms/libimobiledevice/files/patch-git_62ab50f
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/libimobiledevice/files/patch-git_62ab50f	Mon Oct 14 01:43:16 2013	(r330274)
@@ -0,0 +1,11 @@
+--- ./cython/lockdown.pxi.orig	2013-03-07 23:05:33.000000000 +0100
++++ ./cython/lockdown.pxi	2013-10-14 02:44:26.489878883 +0200
+@@ -221,7 +221,7 @@
+             char* c_session_id = NULL
+             bint ssl_enabled
+             bytes session_id
+-        err = lockdownd_start_session(self._c_client, host_id, &c_session_id, &ssl_enabled)
++        err = lockdownd_start_session(self._c_client, host_id, &c_session_id, <int *>&ssl_enabled)
+         try:
+             self.handle_error(err)
+ 

Modified: head/comms/py-libimobiledevice/Makefile
==============================================================================
--- head/comms/py-libimobiledevice/Makefile	Mon Oct 14 01:30:33 2013	(r330273)
+++ head/comms/py-libimobiledevice/Makefile	Mon Oct 14 01:43:16 2013	(r330274)
@@ -7,7 +7,7 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	avilla@FreeBSD.org
 COMMENT=	Python bindings for libimobiledevice
 
-LIB_DEPENDS=	imobiledevice:${PORTSDIR}/${MASTER_PORT}
+LIB_DEPENDS=	libimobiledevice.so:${PORTSDIR}/${MASTER_PORT}
 BUILD_DEPENDS=	cython:${PORTSDIR}/lang/cython \
 		${PYTHON_SITELIBDIR}/plist.so:${PORTSDIR}/devel/py-libplist
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/plist.so:${PORTSDIR}/devel/py-libplist
@@ -24,7 +24,6 @@ PLIST_FILES=	${PYTHONPREFIX_SITELIBDIR:S
 		${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.la \
 		${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.so
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,../src/libimobiledevice.la,${LOCALBASE}/lib/libimobiledevice.la,' \
 		${BUILD_WRKSRC}/Makefile.in



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310140143.r9E1hHTD051811>