From 277c1164df171586ef2f57f228bcd400c88f2b64 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Fri, 21 Dec 2012 20:28:40 +0100 Subject: [PATCH] pycurl: link with gcrypt library --- packages/3rdparty/web/pycurl/meta | 3 +-- .../patches/pycurl-7.19.0-linking_with_gcrypt.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 packages/3rdparty/web/pycurl/patches/pycurl-7.19.0-linking_with_gcrypt.patch diff --git a/packages/3rdparty/web/pycurl/meta b/packages/3rdparty/web/pycurl/meta index 6916697c7e..77df467de9 100644 --- a/packages/3rdparty/web/pycurl/meta +++ b/packages/3rdparty/web/pycurl/meta @@ -26,11 +26,10 @@ PKG_LICENSE="GPL-2" PKG_SITE="http://pycurl.sourceforge.net/" PKG_URL="http://pycurl.sourceforge.net/download/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="Python curl" -PKG_BUILD_DEPENDS="toolchain Python distutilscross curl" +PKG_BUILD_DEPENDS="toolchain Python distutilscross curl libgcrypt" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="pycurl: a Python interface to libcurl" PKG_LONGDESC="PycURL is a Python interface to libcurl. PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module. PycURL is mature, very fast, and supports a lot of features." PKG_IS_ADDON="no" - PKG_AUTORECONF="no" diff --git a/packages/3rdparty/web/pycurl/patches/pycurl-7.19.0-linking_with_gcrypt.patch b/packages/3rdparty/web/pycurl/patches/pycurl-7.19.0-linking_with_gcrypt.patch new file mode 100644 index 0000000000..5940c7d3d7 --- /dev/null +++ b/packages/3rdparty/web/pycurl/patches/pycurl-7.19.0-linking_with_gcrypt.patch @@ -0,0 +1,11 @@ +diff -uNr pycurl-7.19.0-orig/setup.py pycurl-7.19.0-new/setup.py +--- pycurl-7.19.0-orig/setup.py 2012-12-21 19:20:27.000000000 +0100 ++++ pycurl-7.19.0-new/setup.py 2012-12-21 19:31:11.000000000 +0100 +@@ -104,6 +104,7 @@ + if e[2:] == 'ssl': + define_macros.append(('HAVE_CURL_OPENSSL', 1)) + if e[2:] == 'gnutls': ++ libraries.append("gcrypt") + define_macros.append(('HAVE_CURL_GNUTLS', 1)) + elif e[:2] == "-L": + library_dirs.append(e[2:])