diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2009-01-03 22:53:39 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2009-01-03 22:53:39 +0000 |
commit | 9d1e8d7c6f13c9ab291d6eeba1550ebb40cce53c (patch) | |
tree | 86f94a791fcbb7be58a7f9c52ac4679423da22f3 /app-text/rtf2html/files | |
parent | add use-based deps (diff) | |
download | gentoo-2-9d1e8d7c6f13c9ab291d6eeba1550ebb40cce53c.tar.gz gentoo-2-9d1e8d7c6f13c9ab291d6eeba1550ebb40cce53c.tar.bz2 gentoo-2-9d1e8d7c6f13c9ab291d6eeba1550ebb40cce53c.zip |
Add patch to fix compilation with gcc-4.3; bug #250754
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 i686)
Diffstat (limited to 'app-text/rtf2html/files')
-rw-r--r-- | app-text/rtf2html/files/rtf2html-0.2.0-gcc43.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-text/rtf2html/files/rtf2html-0.2.0-gcc43.patch b/app-text/rtf2html/files/rtf2html-0.2.0-gcc43.patch new file mode 100644 index 000000000000..f87661fd3796 --- /dev/null +++ b/app-text/rtf2html/files/rtf2html-0.2.0-gcc43.patch @@ -0,0 +1,22 @@ +diff -ur rtf2html-0.2.0-orig/rtf_keyword.h rtf2html-0.2.0/rtf_keyword.h +--- rtf2html-0.2.0-orig/rtf_keyword.h 2007-08-03 04:50:45.000000000 -0400 ++++ rtf2html-0.2.0/rtf_keyword.h 2009-01-03 17:45:14.000000000 -0500 +@@ -2,6 +2,7 @@ + +
#include "config.h" + #include <string> ++#include <cstdlib> + #include <map> + #include <ctype.h> + +diff -ur rtf2html-0.2.0-orig/rtf_table.cpp rtf2html-0.2.0/rtf_table.cpp +--- rtf2html-0.2.0-orig/rtf_table.cpp 2007-07-31 11:16:52.000000000 -0400 ++++ rtf2html-0.2.0/rtf_table.cpp 2009-01-03 17:45:14.000000000 -0500 +@@ -4,6 +4,7 @@ + #include <iostream>
+ #include <stdexcept>
+ #include <functional>
++#include <algorithm>
+
+ typedef std::set<int> intset;
+
|