pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/pstoedit Fix to build with gcc3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b5b312bdb87
branches:  trunk
changeset: 463989:8b5b312bdb87
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Dec 03 11:18:05 2003 +0000

description:
Fix to build with gcc3.

diffstat:

 graphics/pstoedit/distinfo         |   3 ++-
 graphics/pstoedit/patches/patch-ae |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r b7df861a5246 -r 8b5b312bdb87 graphics/pstoedit/distinfo
--- a/graphics/pstoedit/distinfo        Wed Dec 03 10:55:59 2003 +0000
+++ b/graphics/pstoedit/distinfo        Wed Dec 03 11:18:05 2003 +0000
@@ -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-ab) = c96f64f0bf26ebbd4b119bf1f6da426421b22537
 SHA1 (patch-ac) = 614ba9036e1484755955b765e829227e64f10879
 SHA1 (patch-ad) = 3b01b11422db35a95b1a55a20c7a28dc3a251fa9
+SHA1 (patch-ae) = 7c9f4b0f6bdeec1c96986f4e8a321f6a195385ce
diff -r b7df861a5246 -r 8b5b312bdb87 graphics/pstoedit/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pstoedit/patches/patch-ae        Wed Dec 03 11:18:05 2003 +0000
@@ -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:



Home | Main Index | Thread Index | Old Index