ports/devel/py-capstone/files/patch-capstone_____init____.py
Antoine Brodin 9af12d2d12 Update capstone3 and py-capstone to 3.0.5
PR:		230347
Approved by:	maintainer timeout (30 days)
2018-09-03 12:20:08 +00:00

10 lines
399 B
Python

--- capstone/__init__.py.orig 2018-07-18 16:17:10 UTC
+++ capstone/__init__.py
@@ -236,6 +236,7 @@ _cs = None
# - last-gasp attempt at some hardcoded paths on darwin and linux
_path_list = [os.getenv('LIBCAPSTONE_PATH', None),
+ '%%LOCALBASE%%/lib',
pkg_resources.resource_filename(__name__, 'lib'),
join(split(__file__)[0], 'lib'),
'',