diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-05-01 00:06:16 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-05-01 00:06:16 +0000 |
commit | 13845b80981e9d316743363bc0542c8d832b17c5 (patch) | |
tree | 541d39fd03cb18116ea33253fe6003e4c5eecc80 /dev-libs/libcoyotl/files | |
parent | Fix building with gcc-4.3 (diff) | |
download | gentoo-2-13845b80981e9d316743363bc0542c8d832b17c5.tar.gz gentoo-2-13845b80981e9d316743363bc0542c8d832b17c5.tar.bz2 gentoo-2-13845b80981e9d316743363bc0542c8d832b17c5.zip |
Added fix for gcc-4.3 (bug #214176, thanks to Peter Alfredsen and Debian), added doc USE-flag to make doc-generation less magical.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-libs/libcoyotl/files')
-rw-r--r-- | dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch b/dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch new file mode 100644 index 000000000000..4d3391e21161 --- /dev/null +++ b/dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch @@ -0,0 +1,32 @@ +diff -NrU5 libcoyotl-3.1.0.orig/libcoyotl/command_line.cpp libcoyotl-3.1.0/libcoyotl/command_line.cpp +--- libcoyotl-3.1.0.orig/libcoyotl/command_line.cpp 2008-03-21 22:41:41.000000000 +0100 ++++ libcoyotl-3.1.0/libcoyotl/command_line.cpp 2008-03-21 22:41:59.000000000 +0100 +@@ -30,10 +30,13 @@ + // http://www.coyotegulch.com + // + //----------------------------------------------------------------------- + + #include "command_line.h" ++ ++#include <cstring> ++ + using namespace libcoyotl; + + command_line::command_line(int argc, char * argv[], const set<string> & bool_opts) + : m_options(), + m_inputs(), +diff -NrU5 libcoyotl-3.1.0.orig/libcoyotl/sortutil.h libcoyotl-3.1.0/libcoyotl/sortutil.h +--- libcoyotl-3.1.0.orig/libcoyotl/sortutil.h 2008-03-21 22:41:41.000000000 +0100 ++++ libcoyotl-3.1.0/libcoyotl/sortutil.h 2008-03-21 22:41:59.000000000 +0100 +@@ -34,10 +34,11 @@ + //-----------------------------------------------------------------------
+
+ #if !defined(LIBCOYOTL_SORTUTIL_H)
+ #define LIBCOYOTL_SORTUTIL_H
+
++#include <climits> + #include <stdexcept>
+
+ namespace libcoyotl
+ {
+
|