diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-14 03:44:51 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-14 03:44:51 +0000 |
commit | 99b46e2014a23ee64b6d51fce8a4c27ce8d346a3 (patch) | |
tree | 11373d8e8af3f91e1274b324c498ce597d635347 /audio/audiere/files | |
parent | Add explicit dependency on libX11 (diff) |
Fix build with clang/libc++
Notes
Notes:
svn path=/head/; revision=327215
Diffstat (limited to '')
-rw-r--r-- | audio/audiere/files/patch-src-debug.cpp | 14 | ||||
-rw-r--r-- | audio/audiere/files/patch-src-utility.h | 10 |
2 files changed, 24 insertions, 0 deletions
diff --git a/audio/audiere/files/patch-src-debug.cpp b/audio/audiere/files/patch-src-debug.cpp new file mode 100644 index 000000000000..f12c4106b2cc --- /dev/null +++ b/audio/audiere/files/patch-src-debug.cpp @@ -0,0 +1,14 @@ +--- src/debug.cpp.orig 2006-02-14 07:57:01.000000000 +0300 ++++ src/debug.cpp 2013-09-14 06:53:30.679226734 +0400 +@@ -1,8 +1,11 @@ + #ifdef WIN32 + #include <windows.h> ++#else ++ #include "unistd.h" + #endif + + #include "debug.h" ++#include <cstdlib> + + + namespace audiere { diff --git a/audio/audiere/files/patch-src-utility.h b/audio/audiere/files/patch-src-utility.h new file mode 100644 index 000000000000..c04f37443a4f --- /dev/null +++ b/audio/audiere/files/patch-src-utility.h @@ -0,0 +1,10 @@ +--- src/utility.h.orig 2006-02-14 07:57:01.000000000 +0300 ++++ src/utility.h 2013-09-12 07:09:46.054424472 +0400 +@@ -10,6 +10,7 @@ + #include <map> + #include <string> + #include <utility> ++#include <cstdlib> + #include "audiere.h" + #include "types.h" + |