summaryrefslogtreecommitdiffstats
path: root/graphics/passepartout/files/extra-patch-old_cxx
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/passepartout/files/extra-patch-old_cxx')
-rw-r--r--graphics/passepartout/files/extra-patch-old_cxx92
1 files changed, 0 insertions, 92 deletions
diff --git a/graphics/passepartout/files/extra-patch-old_cxx b/graphics/passepartout/files/extra-patch-old_cxx
deleted file mode 100644
index 0c64b2007..000000000
--- a/graphics/passepartout/files/extra-patch-old_cxx
+++ /dev/null
@@ -1,92 +0,0 @@
---- src/ps/pfb2pfa.cc.orig Fri Oct 31 20:57:37 2003
-+++ src/ps/pfb2pfa.cc Sun Nov 2 11:47:20 2003
-@@ -4,8 +4,8 @@
- #include "encode.h"
-
- void PS::pfb2pfa(std::istream &in, std::ostream &out) {
-- in.exceptions(std::ios_base::eofbit); // throw exception on eof
-- try {
-+// in.exceptions(std::ios_base::eofbit); // throw exception on eof
-+// try {
- while(in) { // parse header
- if (in.peek() != 128)
- throw std::runtime_error("bad magic number for segment");
-@@ -40,9 +40,9 @@
- filter.end();
- }
- }
-- } catch (std::ios_base::failure) {
-- throw std::runtime_error("unexpected end of file");
-- }
-+// } catch (std::ios::failure) {
-+// throw std::runtime_error("unexpected end of file");
-+// }
- }
-
- #ifdef PFB2PFA_STANDALONE
---- src/pptout/docview.cc.orig Sun Nov 2 11:56:40 2003
-+++ src/pptout/docview.cc Sun Nov 2 12:04:37 2003
-@@ -467,7 +467,7 @@
-
- void Document_View::on_clipboard_clear() {
- // not really necessary
-- clip.clear();
-+ clip.resize(0);
- }
-
- void Document_View::cut() {
---- src/util/filesys.h.orig Fri Sep 19 16:46:08 2003
-+++ src/util/filesys.h Thu Dec 4 03:59:31 2003
-@@ -4,7 +4,8 @@
- // Copyright (C) 2002, 2003, Fredrik Arnerup & Rasmus Kaj, See COPYING
- ///
- #include <string>
--#include <ios> // mode for access
-+//#include <ios> // mode for access
-+#include <iostream>
- #include <stdexcept>
-
- /**
---- src/fonts/fontmetrics.cc.orig Thu Dec 4 04:08:47 2003
-+++ src/fonts/fontmetrics.cc Thu Dec 4 10:06:36 2003
-@@ -109,7 +109,8 @@
- cerr << " found " << ch << "!\n";
- #endif
- }
-- source.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
-+// source.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
-+ source.ignore(UINT_MAX,'\n');
- }
- }
-
---- src/util/stringutil.cc.orig Sat Jan 17 23:00:21 2004
-+++ src/util/stringutil.cc Sat Jan 17 23:03:14 2004
-@@ -18,7 +18,7 @@
-
- bool whitespace(char c)
- {
-- return std::isspace(c);
-+ return isspace(c);
- }
-
- std::string strip_whitespace(std::string s, bool front, bool back)
---- src/util/cmdline.cc.orig Mon Jan 12 14:01:33 2004
-+++ src/util/cmdline.cc Sun Jan 18 00:06:17 2004
-@@ -75,7 +75,7 @@
-
- // end of arguments
- if(argi == arguments.end())
-- return std::make_pair(null_option, "");
-+ return std::make_pair(null_option, std::string());
-
- // not an option
- if(argi->at(0) != '-' || seen_double_dash || *argi == "-")
-@@ -146,7 +146,7 @@
- break;
- }
- } else { // not REQ_PARAM
-- arg_queue.push(std::make_pair(option->id, ""));
-+ arg_queue.push(std::make_pair(option->id, std::string()));
- }
- }
- argi++;