diff options
author | Alex Dupre <ale@FreeBSD.org> | 2011-01-11 20:33:38 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2011-01-11 20:33:38 +0000 |
commit | 784b9604427bf4679398e1a310b7ff288ded587b (patch) | |
tree | cf0a3df529e268b1237b572ee2275b9f5d1ae5b7 /databases/percona55-client/files/patch-include_my_pthread.h | |
parent | Add patch that handles app being run with stdout disconnected (diff) |
Remove any attempts to create a libmysqlclient not linked to a threading library.
Restore previous libraries location.
These two changes should fix most of the reported errors.
Feature safe: yes
Diffstat (limited to 'databases/percona55-client/files/patch-include_my_pthread.h')
-rw-r--r-- | databases/percona55-client/files/patch-include_my_pthread.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/databases/percona55-client/files/patch-include_my_pthread.h b/databases/percona55-client/files/patch-include_my_pthread.h deleted file mode 100644 index bcca323e3931..000000000000 --- a/databases/percona55-client/files/patch-include_my_pthread.h +++ /dev/null @@ -1,14 +0,0 @@ ---- include/my_pthread.h.orig 2011-01-09 10:17:18.000000000 +0100 -+++ include/my_pthread.h 2011-01-09 12:06:33.000000000 +0100 -@@ -215,7 +215,10 @@ - - #define my_pthread_once_t pthread_once_t - #define MY_PTHREAD_ONCE_INIT PTHREAD_ONCE_INIT --#define my_pthread_once(C,F) pthread_once(C,F) -+#define my_pthread_once(C,F) do { \ -+ if (__isthreaded) pthread_once(C,F); \ -+ else if ((C)->state == PTHREAD_NEEDS_INIT) { F(); (C)->state = PTHREAD_DONE_INIT; } \ -+ } while(0) - - /* Test first for RTS or FSU threads */ - |