summaryrefslogtreecommitdiffstats
path: root/abs/extra/swig/pyint_fromsize_t.diff
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-02-10 22:57:21 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-02-10 22:57:21 (GMT)
commitd4655c2a343afa26b499f8c6d6a44b23faa1d67e (patch)
tree99da3c87c5ec9a24220a1045562ee33546693980 /abs/extra/swig/pyint_fromsize_t.diff
parent6fd34d813e48f35cad0c25aec4f3f7ac249d7437 (diff)
downloadlinhes_pkgbuild-d4655c2a343afa26b499f8c6d6a44b23faa1d67e.zip
linhes_pkgbuild-d4655c2a343afa26b499f8c6d6a44b23faa1d67e.tar.gz
linhes_pkgbuild-d4655c2a343afa26b499f8c6d6a44b23faa1d67e.tar.bz2
swig: update to 3.0.8
Diffstat (limited to 'abs/extra/swig/pyint_fromsize_t.diff')
-rw-r--r--abs/extra/swig/pyint_fromsize_t.diff18
1 files changed, 0 insertions, 18 deletions
diff --git a/abs/extra/swig/pyint_fromsize_t.diff b/abs/extra/swig/pyint_fromsize_t.diff
deleted file mode 100644
index 1c7727a..0000000
--- a/abs/extra/swig/pyint_fromsize_t.diff
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: Py3k: Map PyInt_FromSize_t to PyLong_FromSize_t
- The latest SWIG version introduced a usage of PyInt_FromSize_t, but
- does not define a compatibility macro for Python 3k as for the other
- PyInt_... functions. This patch adds that macro.
-
-Author: Torsten Landschoff <torsten@debian.org>
-
-
---- swig2.0-2.0.7.orig/Lib/python/pyhead.swg
-+++ swig2.0-2.0.7/Lib/python/pyhead.swg
-@@ -5,6 +5,7 @@
- #define PyInt_Check(x) PyLong_Check(x)
- #define PyInt_AsLong(x) PyLong_AsLong(x)
- #define PyInt_FromLong(x) PyLong_FromLong(x)
-+#define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
- #define PyString_Check(name) PyBytes_Check(name)
- #define PyString_FromString(x) PyUnicode_FromString(x)
- #define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)