summaryrefslogtreecommitdiff
path: root/security/john/files/patch-git-4f5f6fc8dc
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-11-26 07:34:18 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-11-26 07:34:25 +0000
commit4b7f7b97f1fffa5b008504c7255289f5a2948ba2 (patch)
tree873f4cd3bc649cb9d627ee87cf9cfc71807c92cb /security/john/files/patch-git-4f5f6fc8dc
parentnet-p2p/amule: fix pkg-plist for AMULEGUI as well. (diff)
security/john: belatedly update JtR to version 1.9.0-jumbo-1
Despite what Solar Designer had said earlier, community enhancements were not offered as separate patch, so the top comment about JUMBO option still stands. Because supported SIMD features are detected during configure, force SSE2 for x86 packages as reasonable default which most modern CPUs should support these days. Ideally we should probably do several build rounds and produce binaries targeting different SIMD features (e.g. like Arch Linux is doing this), but that's the task for another day. Actualize the lists of binaries and symlinks (some programs had become standalone, others had been converted to scripts offered as extras). Drop BROKEN_mips64: it was added in r425682 five years ago for a different version, since then similar breakage for aarch64 had been fixed, and looking at the configure script, mips64 should be supported (even if it's really not, that particular error message is no longer accurate per grepping the sources). Adjust LICENSE (GPLv2 or later) and fix the build with OpenCL support. PR: 247229, 254922
Diffstat (limited to 'security/john/files/patch-git-4f5f6fc8dc')
-rw-r--r--security/john/files/patch-git-4f5f6fc8dc14
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;