diff options
Diffstat (limited to 'audio/xcdplayer/patches/patch-al')
-rw-r--r-- | audio/xcdplayer/patches/patch-al | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/audio/xcdplayer/patches/patch-al b/audio/xcdplayer/patches/patch-al index a5370463ba0..d35025ca82e 100644 --- a/audio/xcdplayer/patches/patch-al +++ b/audio/xcdplayer/patches/patch-al @@ -1,19 +1,32 @@ -$NetBSD: patch-al,v 1.1 1998/08/23 06:49:30 garbled Exp $ ---- shuffle.c.orig Tue Jan 12 11:59:38 1993 -+++ shuffle.c Wed Jul 22 21:53:16 1998 -@@ -20,2 +20,5 @@ +$NetBSD + +--- shuffle.c.orig Tue Jan 12 19:59:38 1993 ++++ shuffle.c Mon Sep 6 18:22:07 1999 +@@ -18,6 +18,9 @@ + + # include "debug.h" # include "cdrom_globs.h" +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) +# include "cdrom_freebsd.h" +#endif #ifdef sun -@@ -31,2 +34,4 @@ + # include "cdrom_sun.h" + #endif +@@ -29,6 +32,8 @@ + + static unsigned char *random_tracks; +extern AppData app_data; + void -@@ -99,3 +104,3 @@ + shuffle_setup() { + extern char *malloc(); +@@ -97,7 +102,7 @@ + random_tracks[i] = try; + } - if (debug == True) { + if (app_data.debug == True) { debug_printf(1, "shuffle_setup: "); + for (i = 0; i < cdi.ntracks; i++) + debug_printf(1, "%d ", random_tracks[i]); |