diff options
author | rillig <rillig@pkgsrc.org> | 2008-01-06 17:17:14 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-01-06 17:17:14 +0000 |
commit | e00e021ee12445cf072a2f748604525a117c3e0c (patch) | |
tree | a42be2d49ae06509e04c135e557d98845e167f6e /audio/rtunes | |
parent | b39f85e7b36fa52aefb8a4f7e3e88c1ef98e2fdc (diff) | |
download | pkgsrc-e00e021ee12445cf072a2f748604525a117c3e0c.tar.gz |
NetBSD defines KERN_ARND to a value different to 37.
Diffstat (limited to 'audio/rtunes')
-rw-r--r-- | audio/rtunes/distinfo | 4 | ||||
-rw-r--r-- | audio/rtunes/patches/patch-ai | 19 |
2 files changed, 17 insertions, 6 deletions
diff --git a/audio/rtunes/distinfo b/audio/rtunes/distinfo index e3fca51cc5c..eb8b465b442 100644 --- a/audio/rtunes/distinfo +++ b/audio/rtunes/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2007/12/29 19:54:02 joerg Exp $ +$NetBSD: distinfo,v 1.3 2008/01/06 17:17:14 rillig Exp $ SHA1 (rtunes-snap-20071122.tar.bz2) = 8de9a4e7811785bf2fa05f1da85319942a38c000 RMD160 (rtunes-snap-20071122.tar.bz2) = 8442a8f90a1a94bdeb61fb8bf1d94bcd861169ab @@ -11,4 +11,4 @@ SHA1 (patch-ae) = 45afb27cd512e77aee74c4da1607f85fd5d15ee1 SHA1 (patch-af) = d3cec3bcf6054eacb5567080ae9f7472926e5268 SHA1 (patch-ag) = e5fb147e809875404a1cd239751b7d8667e0b927 SHA1 (patch-ah) = 7c04858f66bce0e9def8689b4ecf0f1a5d2c3948 -SHA1 (patch-ai) = 6a770a3eed2874c6d7663dabbea4d779de1ad505 +SHA1 (patch-ai) = aeef0d06c04eb03e4cf6f0786a3e1c518e9cb82a diff --git a/audio/rtunes/patches/patch-ai b/audio/rtunes/patches/patch-ai index 5452e1ea5e0..2d29ca95a0a 100644 --- a/audio/rtunes/patches/patch-ai +++ b/audio/rtunes/patches/patch-ai @@ -1,10 +1,21 @@ -$NetBSD: patch-ai,v 1.1 2007/12/29 19:54:02 joerg Exp $ +$NetBSD: patch-ai,v 1.2 2008/01/06 17:17:15 rillig Exp $ Conflicts with system function (size_t datlen) on DragonFly. ---- libbsd/arc4random.c.orig 2007-12-29 17:37:54.000000000 +0000 -+++ libbsd/arc4random.c -@@ -150,14 +150,6 @@ arc4random_stir(void) +--- libbsd/arc4random.c.orig 2006-05-06 14:33:22.000000000 +0000 ++++ libbsd/arc4random.c 2008-01-06 18:14:32.000000000 +0000 +@@ -41,7 +41,9 @@ + #include <sys/time.h> + #include <sys/sysctl.h> + +-#define KERN_ARND 37 ++#ifndef KERN_ARND ++#define KERN_ARND 37 /* XXX: Different (81) on NetBSD */ ++#endif + + #ifdef __GNUC__ + #define inline __inline +@@ -150,14 +152,6 @@ arc4random_stir(void) arc4_stir(&rs); } |