[Python-modules-commits] [pycurl] 05/140: update debian/patches directory
Barry Warsaw
barry at moszumanska.debian.org
Wed Oct 1 21:44:59 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 38ba16a5e726f52b3985bd62a56b298e99c0a11b
Author: Barry Warsaw <barry at python.org>
Date: Wed Oct 1 16:43:20 2014 -0400
update debian/patches directory
---
debian/.git-dpm | 2 +-
.../0001-changes-in-pycurl_7.13.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 8a1bf31..a3eb559 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,5 +1,5 @@
# see git-dpm(1) from git-dpm package
-NONE
+75fa32ffea410429bef4188ddf543ed85343597d
75fa32ffea410429bef4188ddf543ed85343597d
5cdfa85e9eb0e7c8d73ce4e8a9a1ae8839a39b66
5cdfa85e9eb0e7c8d73ce4e8a9a1ae8839a39b66
diff --git a/debian/patches/0001-changes-in-pycurl_7.13.0-1.diff.gz.patch b/debian/patches/0001-changes-in-pycurl_7.13.0-1.diff.gz.patch
new file mode 100644
index 0000000..6edbe6c
--- /dev/null
+++ b/debian/patches/0001-changes-in-pycurl_7.13.0-1.diff.gz.patch
@@ -0,0 +1,37 @@
+From 75fa32ffea410429bef4188ddf543ed85343597d Mon Sep 17 00:00:00 2001
+From: Domenico Andreoli <cavok at debian.org>
+Date: Sat, 12 Feb 2005 23:52:49 +0100
+Subject: changes in pycurl_7.13.0-1.diff.gz
+
+---
+ src/pycurl.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/src/pycurl.c b/src/pycurl.c
+index 504e0d0..6beb4af 100644
+--- a/src/pycurl.c
++++ b/src/pycurl.c
+@@ -1159,6 +1159,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);
+@@ -1180,6 +1185,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..7822229
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-changes-in-pycurl_7.13.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