summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 03:44:51 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 03:44:51 +0000
commit99b46e2014a23ee64b6d51fce8a4c27ce8d346a3 (patch)
tree11373d8e8af3f91e1274b324c498ce597d635347
parentAdd 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/Makefile4
-rw-r--r--audio/audiere/files/patch-src-debug.cpp14
-rw-r--r--audio/audiere/files/patch-src-utility.h10
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"
+