1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/security/john/files/patch-params.h
Vasil Dimov 39df57402b * Fix MMX detection logic
* Define custom paths using CFLAGS instead of patching the source [1]

PR:		ports/96991
Submitted by:	Rainer Alves <rainer.alves@gmail.com> (maintainer)
Requested by:	solar@openwall.com (author) [1]
2006-05-09 06:18:39 +00:00

15 lines
355 B
C

--- params.h.orig Mon May 8 15:14:13 2006
+++ params.h Mon May 8 15:16:41 2006
@@ -101,7 +101,11 @@
/*
* File names.
*/
+#if JOHN_SYSTEMWIDE
+#ifndef CFG_FULL_NAME
#define CFG_FULL_NAME "$JOHN/john.conf"
+#endif
+#endif
#define CFG_ALT_NAME "$JOHN/john.ini"
#if JOHN_SYSTEMWIDE
#define CFG_PRIVATE_FULL_NAME JOHN_PRIVATE_HOME "/john.conf"