From 78523e974dcd352ceea87821dd3409b6b99902df Mon Sep 17 00:00:00 2001 From: Alexander Nedotsukov Date: Mon, 2 Aug 2004 03:13:37 +0000 Subject: Fix build with gcc 3.4 Reported by: many --- graphics/inkscape/files/patch-src::libnr::nr-maybe.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 graphics/inkscape/files/patch-src::libnr::nr-maybe.h (limited to 'graphics/inkscape') diff --git a/graphics/inkscape/files/patch-src::libnr::nr-maybe.h b/graphics/inkscape/files/patch-src::libnr::nr-maybe.h new file mode 100644 index 000000000000..d7ce3dba1a30 --- /dev/null +++ b/graphics/inkscape/files/patch-src::libnr::nr-maybe.h @@ -0,0 +1,18 @@ +--- src/libnr/nr-maybe.h.orig Mon Aug 2 11:58:44 2004 ++++ src/libnr/nr-maybe.h Mon Aug 2 11:59:21 2004 +@@ -18,13 +18,14 @@ + + #include + #include ++#include + + namespace NR { + + /** An exception class for run-time type errors */ + template + class IsNot : public std::domain_error { +- IsNot() : domain_error(string("Is not ") + typeid(T).name()) {} ++ IsNot() : domain_error(std::string("Is not ") + typeid(T).name()) {} + }; + + /** A type with only one value, which (in principle) is only equal to itself. -- cgit v1.2.3