From c831a567217a48f9dbef3a7c0bdae440c0442aa8 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 23 Jun 2006 14:44:03 +0000 Subject: 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 --- audio/jack/distinfo | 3 ++- audio/jack/patches/patch-ab | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 audio/jack/patches/patch-ab diff --git a/audio/jack/distinfo b/audio/jack/distinfo index 6a86f6e64d8..34de9b3d04f 100644 --- a/audio/jack/distinfo +++ b/audio/jack/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2006/04/19 15:25:09 joerg Exp $ +$NetBSD: distinfo,v 1.3 2006/06/23 14:44:03 jlam Exp $ SHA1 (jack-audio-connection-kit-0.100.0.tar.gz) = 431ab7647f694d57bc697d150742d70cccdcd43b RMD160 (jack-audio-connection-kit-0.100.0.tar.gz) = 31548d58e545cb117428ca72e256a395363ff9b6 Size (jack-audio-connection-kit-0.100.0.tar.gz) = 682799 bytes SHA1 (patch-aa) = 537836a22c61534595dacd2afe69488b4b70e6b1 +SHA1 (patch-ab) = 288aed771bad16d068ad7f78435e09aca7e10535 diff --git a/audio/jack/patches/patch-ab b/audio/jack/patches/patch-ab new file mode 100644 index 00000000000..935638797ef --- /dev/null +++ b/audio/jack/patches/patch-ab @@ -0,0 +1,15 @@ +$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 + #include + ++#ifndef whitespace ++#define whitespace(c) (((c) == ' ') || ((c) == '\t')) ++#endif ++ + char *package; /* program name */ + int done = 0; + jack_client_t *client; -- cgit v1.2.3