summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2004-06-14 15:55:59 +0000
committerHanno Böck <hanno@gentoo.org>2004-06-14 15:55:59 +0000
commit59a007975414eb23786764904018d52e775044e6 (patch)
tree723d6a78d053dfe36fe12789c4c4bcc6c36e0573 /media-gfx/inkscape/files
parentonly allow -O1 on amd64 (bug #53136) (Manifest recommit) (diff)
downloadgentoo-2-59a007975414eb23786764904018d52e775044e6.tar.gz
gentoo-2-59a007975414eb23786764904018d52e775044e6.tar.bz2
gentoo-2-59a007975414eb23786764904018d52e775044e6.zip
inkscape gcc 3.4 fix
Diffstat (limited to 'media-gfx/inkscape/files')
-rw-r--r--media-gfx/inkscape/files/string.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-gfx/inkscape/files/string.patch b/media-gfx/inkscape/files/string.patch
new file mode 100644
index 000000000000..06490a8ffed1
--- /dev/null
+++ b/media-gfx/inkscape/files/string.patch
@@ -0,0 +1,11 @@
+--- inkscape-0.38.1/src/libnr/nr-maybe.h 2004/04/22 11:17:19 1.1
++++ inkscape-0.38.1/src/libnr/nr-maybe.h 2004/04/22 11:17:52
+@@ -24,7 +24,7 @@
+ /** An exception class for run-time type errors */
+ template <typename T>
+ 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.