summaryrefslogtreecommitdiff
path: root/print/epstool/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'print/epstool/patches/patch-ab')
-rw-r--r--print/epstool/patches/patch-ab25
1 files changed, 25 insertions, 0 deletions
diff --git a/print/epstool/patches/patch-ab b/print/epstool/patches/patch-ab
new file mode 100644
index 00000000000..c123bfe6ee0
--- /dev/null
+++ b/print/epstool/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1 2005/06/16 22:06:51 kristerw Exp $
+
+--- src/cplat.h.orig Thu Jun 16 23:44:42 2005
++++ src/cplat.h Thu Jun 16 23:48:06 2005
+@@ -101,8 +101,6 @@
+ # endif
+ # include <unistd.h>
+ # define __USE_GNU /* we might need recursive mutex */
+-# include <semaphore.h>
+-# include <pthread.h>
+ # define ZLIBNAME "libz.so"
+ # define BZIP2NAME "libbz2.so"
+ # define PATHSEP "/"
+@@ -113,9 +111,9 @@
+ # define LPTSTR TCHAR *
+ # define LPCTSTR const TCHAR *
+ # define GGMODULE void *
+-# define GGMUTEX pthread_mutex_t
++# define GGMUTEX void *
+ # define GGEVENT sem_t
+-# define GGTHREAD pthread_t
++# define GGTHREAD void *
+ # define WINAPI
+ # define stricmp strcasecmp
+ /* FIX: these shouldn't be here */