diff options
Diffstat (limited to 'security/john/files/patch-git-4f5f6fc8dc')
| -rw-r--r-- | security/john/files/patch-git-4f5f6fc8dc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/security/john/files/patch-git-4f5f6fc8dc b/security/john/files/patch-git-4f5f6fc8dc new file mode 100644 index 000000000000..a310cd464635 --- /dev/null +++ b/security/john/files/patch-git-4f5f6fc8dc @@ -0,0 +1,14 @@ +diff --git a/src/opencl_common.h b/src/opencl_common.h +index 50428ce976..264825d48b 100644 +--- a/src/opencl_common.h ++++ b/src/opencl_common.h +@@ -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; |
