pentoo-overlay/app-crypt/pyrit/files/pyrit-0.3.patch
2010-02-28 00:29:33 +00:00

21 lines
826 B
Diff

Index: cpyrit_opencl/setup.py
===================================================================
--- cpyrit_opencl/setup.py (revision 225)
+++ cpyrit_opencl/setup.py (working copy)
@@ -32,7 +32,7 @@
OPENCL_INC_DIRS = []
for path in ('/usr/local/opencl/OpenCL/common/inc', \
'/opt/opencl/OpenCL/common/inc', \
- '/usr/local/opencl/include'):
+ '/opt/ati-stream-sdk/include'):
if os.path.exists(path):
OPENCL_INC_DIRS.append(path)
break
@@ -91,6 +91,7 @@
libraries = ['ssl', 'OpenCL', 'z'],
sources = ['_cpyrit_opencl.c'],
include_dirs = OPENCL_INC_DIRS,
+ library_dirs = ['/opt/ati-stream-sdk/lib'],
extra_compile_args = EXTRA_COMPILE_ARGS)
setup_args = dict(