python-curl: update to 7.19.5.1.

This commit is contained in:
Eivind Uggedal 2015-01-08 07:01:04 +00:00
parent 2fcd2f9f55
commit 71b8d47edd
2 changed files with 3 additions and 29 deletions

View File

@ -1,26 +0,0 @@
From d834971874bddc389ea7a6313b4d72f46b68be72 Mon Sep 17 00:00:00 2001
From: JiCiT <jason@infinitebubble.com>
Date: Wed, 1 Oct 2014 17:32:30 -0400
Subject: [PATCH 1/4] Accept LibreSSL in lieu of OpenSSL at link-time. (PR
#209)
---
src/module.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/module.c b/src/module.c
index 1b3ee59..ff97f6c 100644
--- src/module.c
+++ src/module.c
@@ -299,6 +299,8 @@ initpycurl(void)
runtime_ssl_lib = "none/other";
} else if (!strncmp(vi->ssl_version, "OpenSSL/", 8)) {
runtime_ssl_lib = "openssl";
+ } else if (!strncmp(vi->ssl_version, "LibreSSL/", 9)) {
+ runtime_ssl_lib = "openssl";
} else if (!strncmp(vi->ssl_version, "GnuTLS/", 7)) {
runtime_ssl_lib = "gnutls";
} else if (!strncmp(vi->ssl_version, "NSS/", 4)) {
--
2.1.2

View File

@ -1,7 +1,7 @@
# Template file for 'python-curl'
pkgname=python-curl
version=7.19.5
revision=2
version=7.19.5.1
revision=1
wrksrc="pycurl-${version}"
build_style=python-module
python_versions="2.7 3.4"
@ -15,7 +15,7 @@ license="LGPL-2.1, MIT"
maintainer="Juan RP <xtraeme@gmail.com>"
update_pkgname="pycurl"
distfiles="http://pycurl.sourceforge.net/download/pycurl-${version}.tar.gz"
checksum=69a0aa7c9dddbfe4cebf4d1f674c490faccf739fc930d85d8990ce2fd0551a43
checksum=6e9770f80459757f73bd71af82fbb29cd398b38388cdf1beab31ea91a331bc6c
CFLAGS="-fno-strict-aliasing"