dev-python/enable: Fix gcc5 patch (#599738 by Philippe Trottier)
authorPacho Ramos <pacho@gentoo.org>
Sun, 22 Apr 2018 09:00:09 +0000 (11:00 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 22 Apr 2018 09:00:36 +0000 (11:00 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

dev-python/enable/files/enable-4.5.1-gcc-5.patch

index b18b8eae7bb73593ad90dc7db42a6894c1474fad..700b0b3774f90cecfb5a38c8ff2d395d461ad99f 100644 (file)
@@ -16,7 +16,7 @@ index 5b4d458..c6e290a 100644
          line0 = f.readline()
          f.close()
 -        m = re.match(r'.+?\s(3|4)\.\d+', line0)
-+        m = re.match(r'.+?\s([3-5])\.\d+', line0)
++        m = re.match(r'.+?\s([3-8])\.\d+', line0)
          if int(m.group(1)) < 4:
              use_32bit_workaround = True