summaryrefslogtreecommitdiff
path: root/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-08-09 10:43:34 +0200
committerMichał Górny <mgorny@gentoo.org>2015-08-09 10:47:50 +0200
commit33cf38e4f1eb6b456df0874b34ff54a8961cf97e (patch)
tree41777587297a3b0614b5f2dd2deb5c727b53b228 /dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch
parentafad29a8b43f1ccf53f95e95a9b12e430183f8bb (diff)
downloadgentoo-33cf38e4f1eb6b456df0874b34ff54a8961cf97e.tar.gz
gentoo-33cf38e4f1eb6b456df0874b34ff54a8961cf97e.tar.bz2
gentoo-33cf38e4f1eb6b456df0874b34ff54a8961cf97e.zip
Move 3.2 to ::python. Remove old patches.
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch')
-rw-r--r--dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch b/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch
deleted file mode 100644
index a905839a2544..000000000000
--- a/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=476426
-http://bugs.python.org/issue17998
-diff -r d91da96a55bf Modules/_sre.c
---- a/Modules/_sre.c Thu May 16 22:47:47 2013 +0100
-+++ b/Modules/_sre.c Fri May 17 21:02:48 2013 +0300
-@@ -1028,7 +1028,7 @@
- TRACE(("|%p|%p|REPEAT_ONE %d %d\n", ctx->pattern, ctx->ptr,
- ctx->pattern[1], ctx->pattern[2]));
-
-- if (ctx->pattern[1] > end - ctx->ptr)
-+ if ((Py_ssize_t) ctx->pattern[1] > end - ctx->ptr)
- RETURN_FAILURE; /* cannot match */
-
- state->ptr = ctx->ptr;
-@@ -1111,7 +1111,7 @@
- TRACE(("|%p|%p|MIN_REPEAT_ONE %d %d\n", ctx->pattern, ctx->ptr,
- ctx->pattern[1], ctx->pattern[2]));
-
-- if (ctx->pattern[1] > end - ctx->ptr)
-+ if ((Py_ssize_t) ctx->pattern[1] > end - ctx->ptr)
- RETURN_FAILURE; /* cannot match */
-
- state->ptr = ctx->ptr;