File: gcc5.diff

package info (click to toggle)
python-enable 4.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,356 kB
  • sloc: cpp: 57,287; python: 26,955; makefile: 243; sh: 44
file content (23 lines) | stat: -rw-r--r-- 770 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From f7a00c0e5fe7642268754e7ac73a5a79ef3f38e7 Mon Sep 17 00:00:00 2001
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Thu, 8 Oct 2015 12:00:28 -0700
Subject: gcc5.diff

Patch-Name: gcc5.diff
---
 kiva/agg/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiva/agg/setup.py b/kiva/agg/setup.py
index c0df584..0bc5f84 100644
--- a/kiva/agg/setup.py
+++ b/kiva/agg/setup.py
@@ -84,7 +84,7 @@ def configuration(parent_package='', top_path=None):
         f = os.popen("g++ --version")
         line0 = f.readline()
         f.close()
-        m = re.match(r'.+?\s(3|4)\.\d+', line0)
+        m = re.match(r'.+?\s(3|4|5|6|7|8|9)\.\d+', line0)
         if int(m.group(1)) < 4:
             use_32bit_workaround = True