2ec5b983c5
with -msse et. al. s/HOST_HAS_BSD_POLL/JACK_&/
29 lines
851 B
Text
29 lines
851 B
Text
$NetBSD: patch-ai,v 1.3 2008/11/16 11:55:19 bjs Exp $
|
|
|
|
--- libjack/client.c.orig 2008-11-11 17:36:29.000000000 -0500
|
|
+++ libjack/client.c
|
|
@@ -969,10 +969,7 @@ jack_client_open_aux (const char *client
|
|
}
|
|
|
|
/* parse variable arguments */
|
|
- if (ap)
|
|
jack_varargs_parse(options, ap, &va);
|
|
- else
|
|
- jack_varargs_init(&va);
|
|
|
|
/* External clients need to know where the tmpdir used for
|
|
communication with the server lives
|
|
@@ -1114,10 +1111,12 @@ jack_client_t* jack_client_open(const ch
|
|
jack_client_t *
|
|
jack_client_new (const char *client_name)
|
|
{
|
|
+ va_list ap;
|
|
+
|
|
jack_options_t options = JackUseExactName;
|
|
if (getenv("JACK_START_SERVER") == NULL)
|
|
options |= JackNoStartServer;
|
|
- return jack_client_open_aux (client_name, options, NULL, NULL);
|
|
+ return jack_client_open_aux (client_name, options, NULL, ap);
|
|
}
|
|
|
|
char *
|