components/python/pycairo/patches/02-waf-pickle.patch
changeset 6956 35dd98776277
equal deleted inserted replaced
6955:c48eb02e201d 6956:35dd98776277
       
     1 Patch from upstream bug https://bugs.freedesktop.org/show_bug.cgi?id=76759
       
     2 to fix build with Python 3.5
       
     3 
       
     4 --- pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Build.py.orig       2011-03-29 10:52:54.000000000 -0400
       
     5 +++ pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Build.py        
       
     6 @@ -162,6 +162,8 @@
       
     7  			try:
       
     8  				f=open(db+'.tmp','wb')
       
     9  				cPickle.dump(data,f)
       
    10 +			except AttributeError as err:
       
    11 +				print(format(err))
       
    12  			finally:
       
    13  				if f:
       
    14  					f.close()