diff options
author | markd <markd> | 2003-11-18 21:09:18 +0000 |
---|---|---|
committer | markd <markd> | 2003-11-18 21:09:18 +0000 |
commit | 5dbe3c93ec56fa9560e6ae2234918515f0771322 (patch) | |
tree | afd5d2e71f635c48b9b6f7bf521c7961eda3881a /graphics/ivtools/patches/patch-ag | |
parent | 6e444f4f102faf51c6724be2fe32e6c83b39d8a3 (diff) | |
download | pkgsrc-5dbe3c93ec56fa9560e6ae2234918515f0771322.tar.gz |
Update ivtools to version 1.1.0.
Fixes build with gcc3 and hopefully Alistair's bulk build.
Explicitly not updated to version 1.1.1 because while that version
builds with gcc3 with fewer patches it completely breaks gcc2.
Changes:
October 29th, 2003 ivtools-1.1.0
- re-enable use of shared memory for X11 image rendering under MacOS X
- fix command passed to popen() to detect executables on MacOS X
- fix up some AttrValue stuff
- all the changes it took to get it built with ACE on MacOS X (though
it doesn't work yet).
- the cpp bundled with gcc-3.3 has a bug, and gets confused by
back-slashed commas in macro arguments (it thinks they start a new
argument, which they don't). This introduced a problem to long stable
config files, but a workaround is here.
- this also fixes things so FreeBSD can configure on alpha architectures.
- add -svgexport flag to drawtool that by default suppresses (the
incomplete) SVG export mechanism.
Diffstat (limited to 'graphics/ivtools/patches/patch-ag')
-rw-r--r-- | graphics/ivtools/patches/patch-ag | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/graphics/ivtools/patches/patch-ag b/graphics/ivtools/patches/patch-ag new file mode 100644 index 00000000000..55fcdac3bbc --- /dev/null +++ b/graphics/ivtools/patches/patch-ag @@ -0,0 +1,45 @@ +$NetBSD: patch-ag,v 1.1 2003/11/18 21:09:18 markd Exp $ + +--- src/ComTerp/iofunc.c.orig 2003-10-23 07:13:58.000000000 +1300 ++++ src/ComTerp/iofunc.c +@@ -31,7 +31,7 @@ + #include <Attribute/attrlist.h> + #include <OS/math.h> + #include <iostream.h> +-#include <strstream.h> ++#include <strstream> + #if __GNUC__>=3 + #include <fstream.h> + #endif +@@ -73,7 +73,7 @@ void PrintFunc::execute() { + } else + fbuf->attach(fileno(errflag.is_false() ? stdout : stderr)); + } else { +- strmbuf = new strstreambuf(); ++ strmbuf = new std::strstreambuf(); + } + #else + streambuf* strmbuf = nil; +@@ -87,7 +87,7 @@ void PrintFunc::execute() { + fbuf = new fileptr_filebuf(errflag.is_false() ? stdout : stderr, ios_base::out); + strmbuf = fbuf; + } else +- strmbuf = new strstreambuf(); ++ strmbuf = new std::strstreambuf(); + #endif + ostream out(strmbuf); + +@@ -177,11 +177,11 @@ void PrintFunc::execute() { + + if (stringflag.is_true() || strflag.is_true()) { + out << '\0'; +- ComValue retval(((strstreambuf*)strmbuf)->str()); ++ ComValue retval(((std::strstreambuf*)strmbuf)->str()); + push_stack(retval); + } else if (symbolflag.is_true() || symflag.is_true()) { + out << '\0'; +- int symbol_id = symbol_add(((strstreambuf*)strmbuf)->str()); ++ int symbol_id = symbol_add(((std::strstreambuf*)strmbuf)->str()); + ComValue retval(symbol_id, ComValue::SymbolType); + push_stack(retval); + } |