summaryrefslogtreecommitdiff
path: root/graphics/pstoedit/patches
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-03-14 15:04:04 +0000
committerrillig <rillig@pkgsrc.org>2005-03-14 15:04:04 +0000
commit9b1b4e9b305ca4d744cd8c93bd1108f1e0e46d60 (patch)
treecc81868e8a92c8ab709daf40c6c574f97fa6fb6a /graphics/pstoedit/patches
parente604b5e20543c9a4e34d86ca7604176168c32c33 (diff)
downloadpkgsrc-9b1b4e9b305ca4d744cd8c93bd1108f1e0e46d60.tar.gz
Added a patch that checks for the correct C preprocessor symbol
(__NetBSD__) instead of NetBSD. Approved by wiz.
Diffstat (limited to 'graphics/pstoedit/patches')
-rw-r--r--graphics/pstoedit/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/pstoedit/patches/patch-af b/graphics/pstoedit/patches/patch-af
new file mode 100644
index 00000000000..dfff1ffba45
--- /dev/null
+++ b/graphics/pstoedit/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.3 2005/03/14 15:04:04 rillig Exp $
+
+--- cppcomp.h.orig Sun Dec 30 21:35:19 2001
++++ cppcomp.h Sat Mar 12 11:19:15 2005
+@@ -122,7 +122,7 @@
+ #define I_streamb <iostream.h>
+
+
+-#if (defined(unix) || defined(__unix__) || defined(_unix) || defined(__unix) || defined(__EMX__) || defined (NetBSD) ) && !defined(DJGPP)
++#if (defined(unix) || defined(__unix__) || defined(_unix) || defined(__unix) || defined(__EMX__) || defined (__NetBSD__) ) && !defined(DJGPP)
+ #define I_strstream <strstream.h>
+ #else
+ #define I_strstream <strstrea.h>