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 | 556002b759178fbf4f5ee6b32eb557cac2bdf26f (patch) | |
tree | b7c06009bffff42407861c1b866e9d516bac5ea7 /app-text/rtf2html/files | |
parent | add use-based deps (diff) | |
download | historical-556002b759178fbf4f5ee6b32eb557cac2bdf26f.tar.gz historical-556002b759178fbf4f5ee6b32eb557cac2bdf26f.tar.bz2 historical-556002b759178fbf4f5ee6b32eb557cac2bdf26f.zip |
Add patch to fix compilation with gcc-4.3; bug #250754
Package-Manager: portage-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;
+
|