[Python-modules-commits] [pycurl] 15/140: update debian/patches directory
Barry Warsaw
barry at moszumanska.debian.org
Wed Oct 1 21:45:01 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 b700ba9603cce9f4d947412c0fcdffcc8f14cd3d
Author: Barry Warsaw <barry at python.org>
Date: Wed Oct 1 16:43:23 2014 -0400
update debian/patches directory
---
debian/.git-dpm | 2 +-
.../0001-changes-in-pycurl_7.13.2-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 5ce327e..01fa172 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,5 +1,5 @@
# see git-dpm(1) from git-dpm package
-NONE
+ebb0bf3156229ae3856efb3c22e224054476e92f
ebb0bf3156229ae3856efb3c22e224054476e92f
d9b601139a2cec5a81084dcead61ef9778ba6165
d9b601139a2cec5a81084dcead61ef9778ba6165
diff --git a/debian/patches/0001-changes-in-pycurl_7.13.2-1.diff.gz.patch b/debian/patches/0001-changes-in-pycurl_7.13.2-1.diff.gz.patch
new file mode 100644
index 0000000..14fd388
--- /dev/null
+++ b/debian/patches/0001-changes-in-pycurl_7.13.2-1.diff.gz.patch
@@ -0,0 +1,37 @@
+From ebb0bf3156229ae3856efb3c22e224054476e92f Mon Sep 17 00:00:00 2001
+From: Domenico Andreoli <cavok at debian.org>
+Date: Fri, 8 Apr 2005 18:13:35 +0200
+Subject: changes in pycurl_7.13.2-1.diff.gz
+
+---
+ src/pycurl.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/src/pycurl.c b/src/pycurl.c
+index 03566b6..ca49282 100644
+--- a/src/pycurl.c
++++ b/src/pycurl.c
+@@ -1177,6 +1177,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);
+@@ -1198,6 +1203,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..2800fab
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-changes-in-pycurl_7.13.2-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