[Python-modules-commits] [pycurl] 24/140: update debian/patches directory
Barry Warsaw
barry at moszumanska.debian.org
Wed Oct 1 21:45:02 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 8720de7275480178253f875b12c34c419b4fee39
Author: Barry Warsaw <barry at python.org>
Date: Wed Oct 1 16:43:26 2014 -0400
update debian/patches directory
---
debian/.git-dpm | 2 +-
.../0001-changes-in-pycurl_7.14.0-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 f94cf4b..7ba6a3e 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,5 +1,5 @@
# see git-dpm(1) from git-dpm package
-NONE
+cbb16d5e2c856178d27e1c133d9b5b095603024c
cbb16d5e2c856178d27e1c133d9b5b095603024c
a2066ba66ca141550c04c0c87ac447adca4c394b
a2066ba66ca141550c04c0c87ac447adca4c394b
diff --git a/debian/patches/0001-changes-in-pycurl_7.14.0-1.diff.gz.patch b/debian/patches/0001-changes-in-pycurl_7.14.0-1.diff.gz.patch
new file mode 100644
index 0000000..8c7ff60
--- /dev/null
+++ b/debian/patches/0001-changes-in-pycurl_7.14.0-1.diff.gz.patch
@@ -0,0 +1,37 @@
+From cbb16d5e2c856178d27e1c133d9b5b095603024c Mon Sep 17 00:00:00 2001
+From: Domenico Andreoli <cavok at debian.org>
+Date: Mon, 20 Jun 2005 11:34:16 +0200
+Subject: changes in pycurl_7.14.0-1.diff.gz
+
+---
+ src/pycurl.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/src/pycurl.c b/src/pycurl.c
+index 2a59c0d..36aacd9 100644
+--- a/src/pycurl.c
++++ b/src/pycurl.c
+@@ -1178,6 +1178,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);
+@@ -1199,6 +1204,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..32b4b7e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-changes-in-pycurl_7.14.0-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