openbsd-ports/security/pgp/patches/patch-fileio_c
2011-07-08 11:19:35 +00:00

17 lines
656 B
Plaintext

$OpenBSD: patch-fileio_c,v 1.1 2011/07/08 11:19:35 jasper Exp $
--- fileio.c.orig Wed Apr 24 18:53:56 1996
+++ fileio.c Fri Jul 8 13:16:26 2011
@@ -1636,7 +1636,11 @@ char const *const manual_dirs[] =
PGP_SYSTEM_DIR, "SYS$LOGIN:", "SYS$LOGIN:[pgp]",
"SYS$LOGIN:[pgp26]", "SYS$LOGIN:[pgp263]", "[-]",
#elif defined(UNIX)
- "$PGPPATH", "", "pgp", "pgp26", "pgp263", PGP_SYSTEM_DIR,
+ "$PGPPATH",
+#ifdef PGP_DOC_DIR
+ PGP_DOC_DIR,
+#endif
+ "", "pgp", "pgp26", "pgp263", PGP_SYSTEM_DIR,
"$HOME/.pgp", "$HOME", "$HOME/pgp", "$HOME/pgp26", "..",
#elif defined(AMIGA)
"$PGPPATH", "", "pgp", "pgp26", ":pgp", ":pgp26", ":pgp263",