pkgsrc/audio/xmp/patches/patch-al
shattered 5f67b9ba3f Update to 2.5.1, from PR 38499. May also solve PR 38712.
6 years passed since 2.0.4, too much changes happened to list here.
Most of them seem to fix various playback accuracy issues.
Many patches were merged upstream.  Major change -- X11 frontend (xxmp)
is missing, there's nothing in change log about that.

pkgsrc change: pulseaudio support (default on).

OK by wiz@.
2009-01-09 20:43:53 +00:00

13 lines
362 B
Text

$NetBSD: patch-al,v 1.2 2009/01/09 20:43:53 shattered Exp $
--- src/drivers/netbsd.c.orig 2007-11-11 16:06:52.000000000 +0000
+++ src/drivers/netbsd.c
@@ -182,7 +182,7 @@ static void bufdump(struct xmp_context *
while (i) {
if ((j = write (audio_fd, b, i)) > 0) {
i -= j;
- (char *)b += j;
+ b = (char *)b + j;
} else
break;
}