diff options
Diffstat (limited to 'community/john/johntheripper-jumbo-1.9.0-opencl-fix.patch')
-rw-r--r-- | community/john/johntheripper-jumbo-1.9.0-opencl-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/community/john/johntheripper-jumbo-1.9.0-opencl-fix.patch b/community/john/johntheripper-jumbo-1.9.0-opencl-fix.patch new file mode 100644 index 00000000000..5512114e9e5 --- /dev/null +++ b/community/john/johntheripper-jumbo-1.9.0-opencl-fix.patch @@ -0,0 +1,12 @@ +--- a/src/opencl_common.h 2020-08-03 15:49:20.000000000 +0100 ++++ b/src/opencl_common.h 2020-08-03 15:55:23.081101690 +0100 +@@ -81,6 +81,9 @@ + + #ifndef CL_DEVICE_TOPOLOGY_AMD + #define CL_DEVICE_TOPOLOGY_AMD 0x4037 ++#endif ++ ++#ifndef CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD + typedef union { + struct { + cl_uint type; |