summaryrefslogtreecommitdiff
path: root/audio/mpg123
diff options
context:
space:
mode:
authorpooka <pooka>2000-03-01 22:03:37 +0000
committerpooka <pooka>2000-03-01 22:03:37 +0000
commit65cb9bb3be772729920528dfae26fd7286b13b38 (patch)
tree3691a9847d73cfdf1c73eaf400d3960481836496 /audio/mpg123
parent808569cf1497f10d811217b2173da74c554256f8 (diff)
downloadpkgsrc-65cb9bb3be772729920528dfae26fd7286b13b38.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/mpg123')
-rw-r--r--audio/mpg123/files/patch-sum5
-rw-r--r--audio/mpg123/patches/patch-aa2
-rw-r--r--audio/mpg123/patches/patch-al16
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)