diff options
author | joerg <joerg> | 2005-12-08 17:46:16 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-12-08 17:46:16 +0000 |
commit | ae8b897bc53445fae2c1a30796207d2ee8e3fefe (patch) | |
tree | ce89dff84727b1bbdcdcae4960bf163ed2667923 /security/prngd/patches | |
parent | df5816d33d52eb1aee92c3f5e465d0990bddbc0b (diff) | |
download | pkgsrc-ae8b897bc53445fae2c1a30796207d2ee8e3fefe.tar.gz |
Use FreeBSD config.h fragment on FreeBSD and DragonFly.
Diffstat (limited to 'security/prngd/patches')
-rw-r--r-- | security/prngd/patches/patch-aa | 28 |
1 files changed, 28 insertions, 0 deletions
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 */ |