aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql-gui-tools
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-09-25 09:16:22 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-09-25 09:16:22 +0000
commitcfc77a9074b89cc134958c6598ff0034f3769405 (patch)
treea0bc8c396411c149d5de880c96d6caac42a81960 /databases/mysql-gui-tools
parent2812972801d4e6d33894482976b983ea019e0fd8 (diff)
downloadports-cfc77a9074b89cc134958c6598ff0034f3769405.tar.gz
ports-cfc77a9074b89cc134958c6598ff0034f3769405.zip
Notes
Diffstat (limited to 'databases/mysql-gui-tools')
-rw-r--r--databases/mysql-gui-tools/files/patch-mysql-gui-common-source-linux_MDispatcher.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/mysql-gui-tools/files/patch-mysql-gui-common-source-linux_MDispatcher.cc b/databases/mysql-gui-tools/files/patch-mysql-gui-common-source-linux_MDispatcher.cc
new file mode 100644
index 000000000000..bf4b37a269b8
--- /dev/null
+++ b/databases/mysql-gui-tools/files/patch-mysql-gui-common-source-linux_MDispatcher.cc
@@ -0,0 +1,13 @@
+--- mysql-gui-common/source/linux/MDispatcher.cc.orig 2008-09-25 08:24:31.000000000 +0000
++++ mysql-gui-common/source/linux/MDispatcher.cc 2008-09-25 08:25:09.000000000 +0000
+@@ -21,8 +21,8 @@
+ #include <unistd.h>
+ #include <mysql.h>
+
+-#define MX_LOCK(mx) { if (0) g_message("[%i]:%s: LOCK %s", (int)pthread_self(), __FUNCTION__, #mx); pthread_mutex_lock(mx); }
+-#define MX_UNLOCK(mx) { if (0) g_message("[%i]:%s: UNLOCK %s", (int)pthread_self(), __FUNCTION__, #mx); pthread_mutex_unlock(mx); }
++#define MX_LOCK(mx) { if (0) g_message("[%lu]:%s: LOCK %s", (unsigned long)pthread_self(), __FUNCTION__, #mx); pthread_mutex_lock(mx); }
++#define MX_UNLOCK(mx) { if (0) g_message("[%lu]:%s: UNLOCK %s", (unsigned long)pthread_self(), __FUNCTION__, #mx); pthread_mutex_unlock(mx); }
+
+
+ void *MDispatcher::thread_func(Fetcher *self)