diff options
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 |