pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/epstool One file include pthread.h and semaphore...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd66e8f837a9
branches:  trunk
changeset: 495661:dd66e8f837a9
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Thu Jun 16 22:06:51 2005 +0000

description:
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:

 print/epstool/distinfo         |   3 ++-
 print/epstool/patches/patch-ab |  25 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 660c0246d311 -r dd66e8f837a9 print/epstool/distinfo
--- a/print/epstool/distinfo    Thu Jun 16 21:38:09 2005 +0000
+++ b/print/epstool/distinfo    Thu Jun 16 22:06:51 2005 +0000
@@ -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 -r 660c0246d311 -r dd66e8f837a9 print/epstool/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/epstool/patches/patch-ab    Thu Jun 16 22:06:51 2005 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index