From 91e9aea87f9e9881d582382abde0e1556e146c4a Mon Sep 17 00:00:00 2001 From: kristerw Date: Thu, 16 Jun 2005 22:06:51 +0000 Subject: One file include pthread.h and semaphore.h, but those are not used. Remove them to make the package compile on NetBSD 1.6. --- print/epstool/distinfo | 3 ++- print/epstool/patches/patch-ab | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 print/epstool/patches/patch-ab 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 + # define __USE_GNU /* we might need recursive mutex */ +-# include +-# include + # 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 */ -- cgit v1.2.3