diff options
Diffstat (limited to 'audio/mpg123/patches')
-rw-r--r-- | audio/mpg123/patches/patch-aa | 2 | ||||
-rw-r--r-- | audio/mpg123/patches/patch-al | 16 |
2 files changed, 18 insertions, 0 deletions
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) |