[SCM] jackd2/master: Remove ununsed 1001_connect.patch
adiknoth-guest at users.alioth.debian.org
adiknoth-guest at users.alioth.debian.org
Tue May 29 20:31:25 UTC 2012
The following commit has been merged in the master branch:
commit a73eadf43c4b655453507a1d4e2f56f47b13e1ed
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date: Tue May 29 21:27:33 2012 +0200
Remove ununsed 1001_connect.patch
Looks like it's no longer needed. At least it wasn't in use by Debian
anymore, and it also doesn't apply any longer.
If it turns out that it's still an issue, I'll fix it upstream.
diff --git a/debian/patches/1001_connect.patch b/debian/patches/1001_connect.patch
deleted file mode 100644
index 1902e35..0000000
--- a/debian/patches/1001_connect.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From: Free Ekanayaka <free at 64studio.com>
-Description: Fix lost connection on multiple fast reconnections
- Fix a problem with jack_connect using a hard coded JACK client name and
- when calling jack_connect or jack_disconnect multiple times in a fast
- sequence, then the subsequent jack_(dis)connect calls fail.
-Last-Update: 2010-04-03
---- a/example-clients/connect.c
-+++ b/example-clients/connect.c
-@@ -20,6 +20,7 @@
- #include <errno.h>
- #ifndef WIN32
- #include <unistd.h>
-+#include <sys/types.h> /* for getpid() */
- #endif
- #include <string.h>
- #include <stdlib.h>
-@@ -44,6 +45,7 @@
- {
- jack_client_t* client = NULL;
- char *my_name = strrchr(argv[0], '/');
-+ char my_client_name[80];
- connecting = disconnecting = FALSE;
- if (my_name == 0) {
- my_name = argv[0];
-@@ -63,6 +65,8 @@
- return 1;
- }
-
-+ printf("connecting %ld\n",connecting);
-+
- if (argc != 3) {
- fprintf (stderr, "usage: %s <src_port> <dst_port>\n", my_name);
- fprintf(stderr, "The source port must be an output port of the source client.\n");
-@@ -70,9 +74,16 @@
- return 1;
- }
-
-+#ifndef WIN32
-+ /* try to assemble an unique JACK client name */
-+ sprintf(my_client_name, "jack_connect%d", getpid());
-+#else
-+ sprintf(my_client_name, "jack_connect");
-+#endif
-+
- /* try to become a client of the JACK server */
-
-- if ((client = jack_client_open (my_name, JackNullOption, NULL)) == 0) {
-+ if ((client = jack_client_new (my_client_name)) == 0) {
- fprintf (stderr, "jack server not running?\n");
- return 1;
- }
--
jackd2 packaging
More information about the pkg-multimedia-commits
mailing list