From 9b1b4e9b305ca4d744cd8c93bd1108f1e0e46d60 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 14 Mar 2005 15:04:04 +0000 Subject: Added a patch that checks for the correct C preprocessor symbol (__NetBSD__) instead of NetBSD. Approved by wiz. --- graphics/pstoedit/distinfo | 3 ++- graphics/pstoedit/patches/patch-af | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 graphics/pstoedit/patches/patch-af (limited to 'graphics/pstoedit') diff --git a/graphics/pstoedit/distinfo b/graphics/pstoedit/distinfo index 85dc1fc25e0..096b6ca86d6 100644 --- a/graphics/pstoedit/distinfo +++ b/graphics/pstoedit/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2005/02/25 18:31:43 drochner Exp $ +$NetBSD: distinfo,v 1.9 2005/03/14 15:04:04 rillig Exp $ SHA1 (pstoedit_3_31.zip) = 95e7a09385c3d9ce3dbe8ba5afcc9154021c83ce RMD160 (pstoedit_3_31.zip) = 1d8304c89647f0d8b4d425b1320d81755e0ee672 @@ -8,3 +8,4 @@ SHA1 (patch-ab) = c96f64f0bf26ebbd4b119bf1f6da426421b22537 SHA1 (patch-ac) = 614ba9036e1484755955b765e829227e64f10879 SHA1 (patch-ad) = 794556f6c5afd37bcc40c5c319450011a437c2ff SHA1 (patch-ae) = 26ef548a105d0a2ff8b093a4f51fb6f66f95521e +SHA1 (patch-af) = f69cbc2c7d40daa8fa3a2f2069bc1f167ad25b8e 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 + + +-#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 + #else + #define I_strstream -- cgit v1.2.3