diff options
Diffstat (limited to 'databases/py-psycopg/patches/patch-ab')
-rw-r--r-- | databases/py-psycopg/patches/patch-ab | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/databases/py-psycopg/patches/patch-ab b/databases/py-psycopg/patches/patch-ab deleted file mode 100644 index 26f786ad920..00000000000 --- a/databases/py-psycopg/patches/patch-ab +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2002/10/25 14:17:24 drochner Exp $ - ---- module.h.orig Fri Oct 25 15:47:23 2002 -+++ module.h Fri Oct 25 15:55:15 2002 -@@ -31,7 +31,12 @@ - #include <libpq-fe.h> - #include <time.h> - #ifndef _WIN32 --#include <pthread.h> -+#include <pth.h> -+#define pthread_mutex_t pth_mutex_t -+#define pthread_mutex_init(m, a) pth_mutex_init(m) -+#define pthread_mutex_lock(m) pth_mutex_acquire(m, FALSE, NULL) -+#define pthread_mutex_unlock(m) pth_mutex_release(m) -+#define pthread_mutex_destroy(m) /* nothing */ - #else - #include <windows.h> - #define pthread_mutex_t HANDLE |