freebsd-ports/security/john/files/patch-params.h
Alexey Dokuchaev 026cfe3180 - Update to version 1.7.5 and the latest contributed patchset [*]
- Prefer HTTP mirrors as they are generally more accessible than FTP ones
- Install support scripts in addition to datafiles
- Simplify PORTDOCS handling, utilize BUILD_WRKSRC, and clean up things

PR:		ports/146114 [*]
Submitted by:	lme
2010-05-22 11:08:09 +00:00

14 lines
313 B
C

--- src/params.h.orig
+++ src/params.h
@@ -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"