diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-09-07 23:01:31 +0800 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-09-07 23:01:31 +0800 |
commit | 4dbe74aff5d94ed2168faf9f62e395f67fda3c6c (patch) | |
tree | ca713d3381af03d3eb645de4d29809f3fa7219ff /app-admin/eselect-python/files/wrapper.patch | |
parent | mass purge of old broken files (diff) | |
download | improvise-master.tar.gz improvise-master.tar.bz2 improvise-master.zip |
Package-Manager: portage-2.2.20
Diffstat (limited to 'app-admin/eselect-python/files/wrapper.patch')
-rw-r--r-- | app-admin/eselect-python/files/wrapper.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/app-admin/eselect-python/files/wrapper.patch b/app-admin/eselect-python/files/wrapper.patch deleted file mode 100644 index f15ca2e..0000000 --- a/app-admin/eselect-python/files/wrapper.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -ur eselect-python-20111108.orig/python-wrapper.c eselect-python-20111108/python-wrapper.c ---- python-wrapper.c 2011-11-09 07:15:22.000000000 +0800 -+++ python-wrapper.c 2012-06-06 15:14:49.712818087 +0800 -@@ -82,7 +82,7 @@ - /* True if a valid file name, and not "python" */ - int valid_interpreter(const char* name) - { -- if (! name || ! *name || (strcmp(name, "python") == 0)) -+ if (! name || ! *name || (strcmp(name, "python") == 0) || (strncmp(name, "pypy-c", 6) == 0) ) - { - return 0; - } -@@ -91,10 +91,9 @@ - - int get_version(const char* name) - { -- /* Only find files beginning with "python" - this is a fallback, -- * so we only want CPython -+ /* Find files beginning with "python" && "pypy-c1"; so we want CPython && pypy. - */ -- if (! valid_interpreter(name) || strncmp(name, "python", 6) != 0) -+ if (! (valid_interpreter(name)) || strncmp(name, "python", 6) != 0 || (strncmp(name, "pypy-c", 6) != 0)) - return -1; - int pos = 6; - int major = 0; |