summaryrefslogtreecommitdiff
path: root/graphics/kdegraphics
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-03-05 23:37:52 +0000
committertron <tron@pkgsrc.org>1999-03-05 23:37:52 +0000
commit6925dce294e4d6fc6f4fd85041f9f3bb4ba4af5a (patch)
treec4b924c8f8cadd079f770c0aab0fd5232961e85d /graphics/kdegraphics
parent4479c78b9e1f012c70537217ef4f2e994c2c7736 (diff)
downloadpkgsrc-6925dce294e4d6fc6f4fd85041f9f3bb4ba4af5a.tar.gz
Avoid redefinition of depricated "unix" symbol under NetBSD 1.3/1.3.x.
Diffstat (limited to 'graphics/kdegraphics')
-rw-r--r--graphics/kdegraphics/patches/patch-ac7
-rw-r--r--graphics/kdegraphics/patches/patch-ad7
2 files changed, 8 insertions, 6 deletions
diff --git a/graphics/kdegraphics/patches/patch-ac b/graphics/kdegraphics/patches/patch-ac
index a91016e3ae3..816b39c98b1 100644
--- a/graphics/kdegraphics/patches/patch-ac
+++ b/graphics/kdegraphics/patches/patch-ac
@@ -1,12 +1,13 @@
-$NetBSD: patch-ac,v 1.1 1999/01/04 20:25:49 tron Exp $
+$NetBSD: patch-ac,v 1.2 1999/03/05 23:37:52 tron Exp $
--- kfax/libtiffax/tiffiop.h.orig Sat Jul 5 16:41:59 1997
-+++ kfax/libtiffax/tiffiop.h Mon Jan 4 19:36:12 1999
-@@ -34,6 +34,10 @@
++++ kfax/libtiffax/tiffiop.h Fri Mar 5 23:55:34 1999
+@@ -34,6 +34,11 @@
* a port.h file that reflects the system capabilities.
* Doing this obviates all the dreck done in tiffcomp.h.
*/
+#if defined(__NetBSD__)
++#undef unix
+#define unix 42
+#endif
+
diff --git a/graphics/kdegraphics/patches/patch-ad b/graphics/kdegraphics/patches/patch-ad
index 9ff3f0628af..fb8ae237f45 100644
--- a/graphics/kdegraphics/patches/patch-ad
+++ b/graphics/kdegraphics/patches/patch-ad
@@ -1,12 +1,13 @@
-$NetBSD: patch-ad,v 1.1 1999/01/04 20:25:49 tron Exp $
+$NetBSD: patch-ad,v 1.2 1999/03/05 23:37:52 tron Exp $
--- kfax/libtiffax/mkg3states.c.orig Mon Oct 6 05:22:16 1997
-+++ kfax/libtiffax/mkg3states.c Mon Jan 4 21:09:01 1999
-@@ -29,6 +29,10 @@
++++ kfax/libtiffax/mkg3states.c Fri Mar 5 23:56:07 1999
+@@ -29,6 +29,11 @@
* in Frank Cringle's viewfax program;
* Copyright (C) 1990, 1995 Frank D. Cringle.
*/
+#if defined(__NetBSD__)
++#undef unix
+#define unix 42
+#endif
+