diff options
-rw-r--r-- | security/prngd/distinfo | 3 | ||||
-rw-r--r-- | security/prngd/patches/patch-aa | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/security/prngd/distinfo b/security/prngd/distinfo index f8c7d362c62..135fc719a71 100644 --- a/security/prngd/distinfo +++ b/security/prngd/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 13:10:12 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/12/08 17:46:16 joerg Exp $ SHA1 (prngd-0.9.29.tar.gz) = 72e82928b99a94e11fe379159d5fe3a5ddab4112 RMD160 (prngd-0.9.29.tar.gz) = 08a61c80ce18782e5accd5e7e7b7fd6482120eab Size (prngd-0.9.29.tar.gz) = 76392 bytes +SHA1 (patch-aa) = af3891375f135a69d3da14e6095d68d6554e83d8 diff --git a/security/prngd/patches/patch-aa b/security/prngd/patches/patch-aa new file mode 100644 index 00000000000..52870bc2e6a --- /dev/null +++ b/security/prngd/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1 2005/12/08 17:46:16 joerg Exp $ + +--- config.h.orig 2005-12-08 17:41:53.000000000 +0000 ++++ config.h +@@ -169,12 +169,13 @@ int getrusage(int who, struct rusage *ru + #define PATH_SYSLOG "/private/var/log/system.log" + #endif + +-#ifdef FREEBSD ++#if defined(__FreeBSD__) || defined(__DragonFly__) + #define HAVE_GETRUSAGE + /* not yet supported */ + #define O_RSYNC 0 + #ifndef O_SYNC + #define O_SYNC O_FSYNC ++#endif + #define PATH_TMP "/tmp" + #define PATH_VAR_TMP "/var/tmp" + #define PATH_PASSWD "/etc/passwd" +@@ -183,8 +184,6 @@ int getrusage(int who, struct rusage *ru + #define PATH_SYSLOG "/var/log/messages" + #endif + +-#endif +- + #ifdef NEXTSTEP + #define HAVE_GETRUSAGE + /* not supported */ |