pkgsrc/audio/jack/patches/patch-ab
jlam 0404a55942 Ensure that the "whitespace()" macro function is always defined, as
it's used within jack_transport.c.  This fixes errors building audio/jack
using the built-in editline library on NetBSD, and fixes the error
noted in the bulk build results:

    http://mail-index.netbsd.org/pkgsrc-bulk/2006/06/20/0000.html
2006-06-23 14:44:03 +00:00

15 lines
397 B
Text

$NetBSD: patch-ab,v 1.1 2006/06/23 14:44:04 jlam Exp $
--- example-clients/transport.c.orig 2005-06-02 14:31:18.000000000 -0400
+++ example-clients/transport.c
@@ -29,6 +29,10 @@
#include <jack/jack.h>
#include <jack/transport.h>
+#ifndef whitespace
+#define whitespace(c) (((c) == ' ') || ((c) == '\t'))
+#endif
+
char *package; /* program name */
int done = 0;
jack_client_t *client;