Unbreak with Python 3.6

This commit is contained in:
shadchin 2017-01-03 18:57:23 +00:00
parent 023286d19f
commit f91cf20b67
2 changed files with 13 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2016/11/06 18:07:54 jca Exp $
# $OpenBSD: Makefile,v 1.12 2017/01/03 18:57:23 shadchin Exp $
# no libGL (toolchain issue)
NOT_FOR_ARCHS= m88k
@ -9,7 +9,7 @@ VERSION= 1.10.0
DISTNAME= pycairo-${VERSION}
PKGNAME= py3-cairo-${VERSION}
EXTRACT_SUFX= .tar.bz2
REVISION= 4
REVISION= 5
CATEGORIES= graphics

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-_waf3-waflib_Build_py,v 1.1 2017/01/03 18:57:23 shadchin Exp $
--- waf3/waflib/Build.py.orig Wed Dec 28 00:29:57 2016
+++ waf3/waflib/Build.py Wed Dec 28 00:30:06 2016
@@ -151,6 +151,7 @@ class BuildContext(Context.Context):
f.close()
self.init_dirs()
def store(self):
+ return
data={}
for x in SAVED_ATTRS:
data[x]=getattr(self,x)