diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-lang/yasm/files | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-lang/yasm/files')
-rw-r--r-- | dev-lang/yasm/files/yasm-1.2.0-fix_cython_check.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-lang/yasm/files/yasm-1.2.0-fix_cython_check.patch b/dev-lang/yasm/files/yasm-1.2.0-fix_cython_check.patch deleted file mode 100644 index c894f821a2aa..000000000000 --- a/dev-lang/yasm/files/yasm-1.2.0-fix_cython_check.patch +++ /dev/null @@ -1,23 +0,0 @@ -http://tortall.lighthouseapp.com/projects/78676-yasm/tickets/249 - ---- m4/cython.m4 -+++ m4/cython.m4 -@@ -2,13 +2,14 @@ - dnl be set before this function is called. - dnl CYTHON_CHECK_VERSION([MIN-VERSION], [ACTION-IF-TRUE], [ACTION-IF-FALSE]) - AC_DEFUN([CYTHON_CHECK_VERSION], -- [prog="import sys -+ [prog="import re, sys - from Cython.Compiler.Version import version - def get_int(arg): -- try: -- return int(arg) -- except ValueError: -+ matched = re.match(r'\d+', arg) -+ if matched is None: - return 0 -+ else: -+ return int(matched.group(0)) - # split strings by '.' and convert to numeric. Append some zeros - # because we need at least 4 digits for the hex conversion. - ver = map(get_int, version.rstrip('abcdefghijklmnopqrstuvwxyz').split('.')) + [[0, 0, 0]] |