summaryrefslogtreecommitdiff
path: root/graphics/pstoedit
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2003-12-03 11:18:05 +0000
committermarkd <markd@pkgsrc.org>2003-12-03 11:18:05 +0000
commit6b2ce1be48b4c828f827cf463ec5cb783fd26663 (patch)
tree4c42254556c8bff9ecd9ac1cf96b5086b9c387cd /graphics/pstoedit
parentac63a8bfa26b6e19789fe2e4fd36061c11c01be4 (diff)
downloadpkgsrc-6b2ce1be48b4c828f827cf463ec5cb783fd26663.tar.gz
Fix to build with gcc3.
Diffstat (limited to 'graphics/pstoedit')
-rw-r--r--graphics/pstoedit/distinfo3
-rw-r--r--graphics/pstoedit/patches/patch-ae22
2 files changed, 24 insertions, 1 deletions
diff --git a/graphics/pstoedit/distinfo b/graphics/pstoedit/distinfo
index feea29a8d6b..40ba85acab5 100644
--- a/graphics/pstoedit/distinfo
+++ b/graphics/pstoedit/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2003/05/06 23:03:11 seb Exp $
+$NetBSD: distinfo,v 1.6 2003/12/03 11:18:05 markd Exp $
SHA1 (pstoedit_3_31.zip) = 95e7a09385c3d9ce3dbe8ba5afcc9154021c83ce
Size (pstoedit_3_31.zip) = 558546 bytes
@@ -6,3 +6,4 @@ SHA1 (patch-aa) = 25513e3452eed6eb464df1c0dbeeafa4d0f446bf
SHA1 (patch-ab) = c96f64f0bf26ebbd4b119bf1f6da426421b22537
SHA1 (patch-ac) = 614ba9036e1484755955b765e829227e64f10879
SHA1 (patch-ad) = 3b01b11422db35a95b1a55a20c7a28dc3a251fa9
+SHA1 (patch-ae) = 7c9f4b0f6bdeec1c96986f4e8a321f6a195385ce
diff --git a/graphics/pstoedit/patches/patch-ae b/graphics/pstoedit/patches/patch-ae
new file mode 100644
index 00000000000..58a7f0b051d
--- /dev/null
+++ b/graphics/pstoedit/patches/patch-ae
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.3 2003/12/03 11:18:05 markd Exp $
+
+--- drvsk.cpp.orig 2003-11-18 23:30:30.000000000 +1300
++++ drvsk.cpp
+@@ -62,7 +62,7 @@ PERFORMANCE OF THIS SOFTWARE.
+ #include <ctype.h>
+ #include <iomanip.h>
+ #if (defined(unix) || defined(__unix__) || defined(_unix) || defined(__unix) || defined(__EMX__) || defined (NetBSD) ) && !defined(DJGPP)
+-#include <strstream.h>
++#include <strstream>
+ #else
+ #include <strstrea.h>
+ #endif
+@@ -377,7 +377,7 @@ void drvSK::show_image(const Image & ima
+ return;
+ }
+
+- ostrstream ppm;
++ std::ostrstream ppm;
+
+ switch (imageinfo.type) {
+ case colorimage: