diff options
Diffstat (limited to 'app-crypt/johntheripper-jumbo/files/johntheripper-jumbo-1.9.0-opencl-fix.patch')
-rw-r--r-- | app-crypt/johntheripper-jumbo/files/johntheripper-jumbo-1.9.0-opencl-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-crypt/johntheripper-jumbo/files/johntheripper-jumbo-1.9.0-opencl-fix.patch b/app-crypt/johntheripper-jumbo/files/johntheripper-jumbo-1.9.0-opencl-fix.patch new file mode 100644 index 000000000000..6fe7693276be --- /dev/null +++ b/app-crypt/johntheripper-jumbo/files/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; |