openbsd-ports/audio/jack/patches/patch-tools_lsp_c
jakemsr d58e7b8aad * clean up sndio(7) driver
* update README.OpenBSD
* add patches to let it build on gcc2 archs (from Sebastian Reitenbach)
* disable audio(4) driver
2010-06-07 01:44:38 +00:00

21 lines
668 B
Plaintext

$OpenBSD: patch-tools_lsp_c,v 1.1 2010/06/07 01:44:38 jakemsr Exp $
--- tools/lsp.c.orig Wed May 19 21:32:57 2010
+++ tools/lsp.c Wed May 19 21:35:37 2010
@@ -139,6 +139,7 @@ main (int argc, char *argv[])
for (i = 0; ports[i]; ++i) {
// skip over any that don't match ALL of the strings presented at command line
+ jack_port_t *port;
skip_port = 0;
for(k=optind; k < argc; k++){
if(strstr(ports[i], argv[k]) == NULL ){
@@ -149,7 +150,7 @@ main (int argc, char *argv[])
printf ("%s\n", ports[i]);
- jack_port_t *port = jack_port_by_name (client, ports[i]);
+ port = jack_port_by_name (client, ports[i]);
if (show_aliases) {
int cnt;