pkgsrc/audio/xmms-arts/patches/patch-ab
markd 1763085ffe Update to xmms-arts 0.7.1
Major change is that it works with arts >= 1.2 by using an external
helper program.
Also take Maintainership - ok'ed by jmmv.
2004-12-01 11:47:44 +00:00

28 lines
598 B
Text

$NetBSD: patch-ab,v 1.1 2004/12/01 11:47:45 markd Exp $
--- arts_helper.c.orig 2004-11-29 15:01:44.000000000 +1300
+++ arts_helper.c 2004-11-29 15:02:12.000000000 +1300
@@ -15,6 +15,7 @@
#include <errno.h>
#include <signal.h>
#include <sys/select.h>
+#include <sys/time.h>
#include <artsc.h>
@@ -243,7 +244,7 @@
{
going = 0;
arts_close_stream(handle);
- arts_free();
+ /* arts_free(); */
}
static int read_all(int fd, void *buf, size_t count)
@@ -439,5 +440,5 @@
ret = main_loop(fd);
close(fd);
/* fprintf(stderr, "helper exits\n"); */
- return ret < 0;
+ exit(ret < 0);
}