diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2011-08-10 15:32:28 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2011-08-10 15:32:28 +0400 |
commit | f680b75881bd4221299f1be2c61df7c699f93645 (patch) | |
tree | 2362143560f37ea2109ccdebef3387a1f31fb371 /dev-libs/yaml-cpp/files | |
parent | cf53c5ceb7738ac885899f232a6b81cac017b135 (diff) | |
download | ebuilds-f680b75881bd4221299f1be2c61df7c699f93645.tar.gz |
Added yaml-cpp-0.2.6.ebuild with patch to build by GCC 4.6
Diffstat (limited to 'dev-libs/yaml-cpp/files')
-rw-r--r-- | dev-libs/yaml-cpp/files/gcc4.6-null.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/yaml-cpp/files/gcc4.6-null.patch b/dev-libs/yaml-cpp/files/gcc4.6-null.patch new file mode 100644 index 0000000..96ec572 --- /dev/null +++ b/dev-libs/yaml-cpp/files/gcc4.6-null.patch @@ -0,0 +1,24 @@ +Index: yaml-cpp/src/ptr_vector.h +=================================================================== +--- yaml-cpp.orig/src/ptr_vector.h ++++ yaml-cpp/src/ptr_vector.h +@@ -8,6 +8,7 @@ + #include "yaml-cpp/noncopyable.h" + #include <memory> + #include <vector> ++#include <cstdlib> + + namespace YAML { + +Index: yaml-cpp/src/ptr_stack.h +=================================================================== +--- yaml-cpp.orig/src/ptr_stack.h ++++ yaml-cpp/src/ptr_stack.h +@@ -8,6 +8,7 @@ + #include "yaml-cpp/noncopyable.h" + #include <memory> + #include <vector> ++#include <cstdlib> + + template <typename T> + class ptr_stack: private YAML::noncopyable |