[Python-modules-commits] [pycurl] 10/140: update debian/patches directory

Barry Warsaw barry at moszumanska.debian.org
Wed Oct 1 21:45:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository pycurl.

commit 5ac67f20fa2ec46c3ffdd9946835febc3fa4e26e
Author: Barry Warsaw <barry at python.org>
Date:   Wed Oct 1 16:43:22 2014 -0400

    update debian/patches directory
---
 debian/.git-dpm                                    |  2 +-
 .../0001-changes-in-pycurl_7.13.1-1.diff.gz.patch  | 37 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 debian/source/format                               |  1 +
 4 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 94fbe87..c3c2f25 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,5 +1,5 @@
 # see git-dpm(1) from git-dpm package
-NONE
+5b70601b4693421b3cdd5d313791646c99bc9dd6
 5b70601b4693421b3cdd5d313791646c99bc9dd6
 b401d0dc66c1b82e8420352d99bc27d68a2b1977
 b401d0dc66c1b82e8420352d99bc27d68a2b1977
diff --git a/debian/patches/0001-changes-in-pycurl_7.13.1-1.diff.gz.patch b/debian/patches/0001-changes-in-pycurl_7.13.1-1.diff.gz.patch
new file mode 100644
index 0000000..df87a57
--- /dev/null
+++ b/debian/patches/0001-changes-in-pycurl_7.13.1-1.diff.gz.patch
@@ -0,0 +1,37 @@
+From 5b70601b4693421b3cdd5d313791646c99bc9dd6 Mon Sep 17 00:00:00 2001
+From: Domenico Andreoli <cavok at debian.org>
+Date: Mon, 7 Mar 2005 14:51:16 +0100
+Subject: changes in pycurl_7.13.1-1.diff.gz
+
+---
+ src/pycurl.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/src/pycurl.c b/src/pycurl.c
+index 6f5f699..ce1749c 100644
+--- a/src/pycurl.c
++++ b/src/pycurl.c
+@@ -1175,6 +1175,11 @@ do_curl_setopt(CurlObject *self, PyObject *args)
+         return Py_None;
+     }
+ 
++#ifndef PY_LONG_LONG
++#define PY_LONG_LONG long long
++#define PY_LONG_LONG_CAVOK_HACK
++#endif
++
+     /* Handle the case of long arguments (used by *_LARGE options) */
+     if (PyLong_Check(obj)) {
+         PY_LONG_LONG d = PyLong_AsLongLong(obj);
+@@ -1196,6 +1201,11 @@ do_curl_setopt(CurlObject *self, PyObject *args)
+         return Py_None;
+     }
+ 
++#ifdef PY_LONG_LONG_CAVOK_HACK
++#undef PY_LONG_LONG
++#undef PY_LONG_LONG_CAVOK_HACK
++#endif
++
+ #undef IS_LONG_OPTION
+ #undef IS_OFF_T_OPTION
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..44af837
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-changes-in-pycurl_7.13.1-1.diff.gz.patch
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pycurl.git



More information about the Python-modules-commits mailing list