diff options
author | jlam <jlam@pkgsrc.org> | 2006-06-23 14:44:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-06-23 14:44:03 +0000 |
commit | 0404a55942e83cb996610915b784ef046213724d (patch) | |
tree | 5fdf2bd0a9834275804becd8ffdb2256b9885eb4 | |
parent | dffac0f4e03721c378aedd315000e93cf940c44c (diff) | |
download | pkgsrc-0404a55942e83cb996610915b784ef046213724d.tar.gz |
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
-rw-r--r-- | audio/jack/distinfo | 3 | ||||
-rw-r--r-- | audio/jack/patches/patch-ab | 15 |
2 files changed, 17 insertions, 1 deletions
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 <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; |