diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-14 11:44:51 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-14 11:44:51 +0800 |
commit | 226a8c0e9ff6b92edc70109678ab6439f9409ed7 (patch) | |
tree | 11373d8e8af3f91e1274b324c498ce597d635347 /audio/audiere | |
parent | 984059f0b4299858d4c6b8a83f94d5768980c9c6 (diff) | |
download | freebsd-ports-gnome-226a8c0e9ff6b92edc70109678ab6439f9409ed7.tar.gz freebsd-ports-gnome-226a8c0e9ff6b92edc70109678ab6439f9409ed7.tar.zst freebsd-ports-gnome-226a8c0e9ff6b92edc70109678ab6439f9409ed7.zip |
Fix build with clang/libc++
Diffstat (limited to 'audio/audiere')
-rw-r--r-- | audio/audiere/Makefile | 4 | ||||
-rw-r--r-- | audio/audiere/files/patch-src-debug.cpp | 14 | ||||
-rw-r--r-- | audio/audiere/files/patch-src-utility.h | 10 |
3 files changed, 25 insertions, 3 deletions
diff --git a/audio/audiere/Makefile b/audio/audiere/Makefile index 3c7b75858a70..44ac4fd0f907 100644 --- a/audio/audiere/Makefile +++ b/audio/audiere/Makefile @@ -26,9 +26,7 @@ PORTDOCS= changelog.txt cvs.txt dependencies.txt faq.txt glossary.txt \ CONFIGURE_REPLACES='s|wx_config|no_&|' -#OPTIONS_DEFINE= DUMB CDAUDIO VORBIS SPEEX FLAC -#OPTIONS_DEFAULT= DUMB CDAUDIO VORBIS SPEEX FLAC -OPTIONS_DEFINE= DUMB CDAUDIO VORBIS SPEEX +OPTIONS_DEFINE= DUMB CDAUDIO VORBIS SPEEX DOCS OPTIONS_DEFAULT= DUMB CDAUDIO VORBIS SPEEX DUMB_DESC= DUMB support 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" + |