summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2005-06-16 22:06:51 +0000
committerkristerw <kristerw@pkgsrc.org>2005-06-16 22:06:51 +0000
commit5b107b28358c3705d39c5cf303f99eb538483897 (patch)
tree13038c0413cfe3ebc42677ade635f280732443e0 /print
parentf02316689a542dc195650256a5bcd8d7becca932 (diff)
downloadpkgsrc-5b107b28358c3705d39c5cf303f99eb538483897.tar.gz
One file include pthread.h and semaphore.h, but those are not used.
Remove them to make the package compile on NetBSD 1.6.
Diffstat (limited to 'print')
-rw-r--r--print/epstool/distinfo3
-rw-r--r--print/epstool/patches/patch-ab25
2 files changed, 27 insertions, 1 deletions
diff --git a/print/epstool/distinfo b/print/epstool/distinfo
index 3d55e8a21dd..1c6198ea285 100644
--- a/print/epstool/distinfo
+++ b/print/epstool/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/05/31 16:17:22 drochner Exp $
+$NetBSD: distinfo,v 1.2 2005/06/16 22:06:51 kristerw Exp $
SHA1 (epstool-3.07.tar.gz) = 14eeb1b103072030e706b077768d414b5ffac34c
RMD160 (epstool-3.07.tar.gz) = 99b29d02dd1dc1827948d8da87ccc5f0669b57a6
Size (epstool-3.07.tar.gz) = 184676 bytes
SHA1 (patch-aa) = 064a3a04d72ab23480e30866e48ed2a3bd618f9e
+SHA1 (patch-ab) = 73e4665fbabb254846c331e4939b7c67ba341bc9
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 */