aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/passepartout/files/extra-patch-old_cxx
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-12-17 13:08:34 +0800
committermezz <mezz@FreeBSD.org>2006-12-17 13:08:34 +0800
commitbeba290e6a4cdfe4e265e0ed1d554e75d31cd4fd (patch)
tree2c416cf632e6ae461c202e3628043f551305297c /graphics/passepartout/files/extra-patch-old_cxx
parent40dc8663cd7c62631e9f63f7df6cf400e93b3e62 (diff)
downloadfreebsd-ports-gnome-beba290e6a4cdfe4e265e0ed1d554e75d31cd4fd.tar.gz
freebsd-ports-gnome-beba290e6a4cdfe4e265e0ed1d554e75d31cd4fd.tar.zst
freebsd-ports-gnome-beba290e6a4cdfe4e265e0ed1d554e75d31cd4fd.zip
-Update to 0.6.
-Use USE_FAM instead of LIB_DEPENDS=fam[...]. -Remove FreeBSD 4.x patches and mark it as IGNORE, we don't support it anymore. -Add several useful patches from Ubuntu Linux. * patch-01_gnomecanvasmm: Build with gnomecanvasmm-2.6, gtkmm-2.4 and sigc++-2.0. * patch-02_gcc-4.0: Build with gcc-4.0. [1] * patch-03_windowmenus: Use internal about dialog, not gtk's. * patch-06_freetype_makefile: Fix Includes for building libps.a. * patch-07_gcc-4.1: Build with gcc-4.1 [1] * patch-99_autotools: Update automake, autoconf and etc. Reported by: krismail [1]
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 0c64b200766d..000000000000
--- 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++;