diff options
author | pooka <pooka@pkgsrc.org> | 2000-03-01 22:03:37 +0000 |
---|---|---|
committer | pooka <pooka@pkgsrc.org> | 2000-03-01 22:03:37 +0000 |
commit | ed1da0c59f07406644bb2ef12630dc134c36969b (patch) | |
tree | 3691a9847d73cfdf1c73eaf400d3960481836496 /audio | |
parent | a345f65b964575277298f0308c4c6f0fdfbadd5e (diff) | |
download | pkgsrc-ed1da0c59f07406644bb2ef12630dc134c36969b.tar.gz |
Give the VM system a hint that we'll be using the mmap()ed data for
sequential read.
add RCS tag to patch-aa
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mpg123/files/patch-sum | 5 | ||||
-rw-r--r-- | audio/mpg123/patches/patch-aa | 2 | ||||
-rw-r--r-- | audio/mpg123/patches/patch-al | 16 |
3 files changed, 21 insertions, 2 deletions
diff --git a/audio/mpg123/files/patch-sum b/audio/mpg123/files/patch-sum index 913564a5a97..85813d276ba 100644 --- a/audio/mpg123/files/patch-sum +++ b/audio/mpg123/files/patch-sum @@ -1,6 +1,6 @@ -$NetBSD: patch-sum,v 1.6 2000/02/18 11:04:10 itojun Exp $ +$NetBSD: patch-sum,v 1.7 2000/03/01 22:03:37 pooka Exp $ -MD5 (patch-aa) = e5f14dd057b513ae3a173c5275493e02 +MD5 (patch-aa) = d19cf8f63d73356d1f322df231f7671a MD5 (patch-ab) = d2be05cddc78b15c1dda564dde29d693 MD5 (patch-ac) = 83eac6fce5e87b1f4dba3fbfc163c01c MD5 (patch-ad) = 49bcf488decbcdb509689ac7cab46175 @@ -11,3 +11,4 @@ MD5 (patch-ah) = 2a6c268ce8013be6bdaa9e0a9c5c614f MD5 (patch-ai) = 925dea9e16b9f99704d6387b8d50b7ed MD5 (patch-aj) = f2eb0611d82b6cdf06069f109825477a MD5 (patch-ak) = bdc05c703d0bfa3d33733619e4d66488 +MD5 (patch-al) = d554a748cbe72c68b55f63ab2bd4ea71 diff --git a/audio/mpg123/patches/patch-aa b/audio/mpg123/patches/patch-aa index 5f288099c85..92b08385279 100644 --- a/audio/mpg123/patches/patch-aa +++ b/audio/mpg123/patches/patch-aa @@ -1,3 +1,5 @@ +$NetBSD: patch-aa,v 1.14 2000/03/01 22:03:37 pooka Exp $ + --- Makefile.orig Fri Feb 18 19:45:31 2000 +++ Makefile Fri Feb 18 19:46:51 2000 @@ -54,6 +54,10 @@ diff --git a/audio/mpg123/patches/patch-al b/audio/mpg123/patches/patch-al new file mode 100644 index 00000000000..dde6949b058 --- /dev/null +++ b/audio/mpg123/patches/patch-al @@ -0,0 +1,16 @@ +$NetBSD: patch-al,v 1.1 2000/03/01 22:03:37 pooka Exp $ + +--- readers.c.orig Thu Mar 4 13:03:49 1999 ++++ readers.c Wed Mar 1 23:49:46 2000 +@@ -250,6 +250,11 @@ + if(!mapbuf || mapbuf == MAP_FAILED) + return -1; + ++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104030000) ++ if(madvise(mappnt, len, MADV_SEQUENTIAL) < 0) ++ fprintf(stderr,"madvise failed, continuing anyways..\n"); ++#endif ++ + mapend = mapbuf + len; + + if(param.verbose > 1) |