aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-12-18 09:41:01 +0800
committermarino <marino@FreeBSD.org>2016-12-18 09:41:01 +0800
commit2d641a250a513a6f4bfbb5e2f304e90748e53d94 (patch)
tree7e61235e0ada0ebfe6f4d6c4d314330947459205 /audio
parent2a76552e0e05b3595d0c575466e853d18bb468f4 (diff)
downloadfreebsd-ports-gnome-2d641a250a513a6f4bfbb5e2f304e90748e53d94.tar.gz
freebsd-ports-gnome-2d641a250a513a6f4bfbb5e2f304e90748e53d94.tar.zst
freebsd-ports-gnome-2d641a250a513a6f4bfbb5e2f304e90748e53d94.zip
audio/osalp: Fix build for GCC (taken from dports)
Diffstat (limited to 'audio')
-rw-r--r--audio/osalp/files/patch-aflib_aflibConfig.h12
-rw-r--r--audio/osalp/files/patch-aflib_aflibDateTime.h10
-rw-r--r--audio/osalp/files/patch-aflib_aflibEnvFile.h10
-rw-r--r--audio/osalp/files/patch-formatlib_ogg_aflibBufferUtils.h10
4 files changed, 42 insertions, 0 deletions
diff --git a/audio/osalp/files/patch-aflib_aflibConfig.h b/audio/osalp/files/patch-aflib_aflibConfig.h
new file mode 100644
index 000000000000..633931b6aa9d
--- /dev/null
+++ b/audio/osalp/files/patch-aflib_aflibConfig.h
@@ -0,0 +1,12 @@
+--- aflib/aflibConfig.h.orig 2007-01-16 19:26:39 UTC
++++ aflib/aflibConfig.h
+@@ -31,6 +31,9 @@
+ // Note that g++ does not really need this. If -O with compile func in .h will be inline
+ #define INLINE inline
+
++#include <cstdlib>
++#include <cstring>
++
+ #include "aflib.h"
+
+
diff --git a/audio/osalp/files/patch-aflib_aflibDateTime.h b/audio/osalp/files/patch-aflib_aflibDateTime.h
new file mode 100644
index 000000000000..43c9ea31fa90
--- /dev/null
+++ b/audio/osalp/files/patch-aflib_aflibDateTime.h
@@ -0,0 +1,10 @@
+--- aflib/aflibDateTime.h.orig 2001-10-29 03:55:30 UTC
++++ aflib/aflibDateTime.h
+@@ -28,6 +28,7 @@
+ #endif
+
+ #include <iostream>
++#include <cstdlib>
+
+ #include <string>
+ using std::string;
diff --git a/audio/osalp/files/patch-aflib_aflibEnvFile.h b/audio/osalp/files/patch-aflib_aflibEnvFile.h
new file mode 100644
index 000000000000..f72a891a33d7
--- /dev/null
+++ b/audio/osalp/files/patch-aflib_aflibEnvFile.h
@@ -0,0 +1,10 @@
+--- aflib/aflibEnvFile.h.orig 2001-10-29 03:55:30 UTC
++++ aflib/aflibEnvFile.h
+@@ -47,6 +47,7 @@
+
+
+ #include <string>
++#include <cstring>
+
+ using std::string;
+
diff --git a/audio/osalp/files/patch-formatlib_ogg_aflibBufferUtils.h b/audio/osalp/files/patch-formatlib_ogg_aflibBufferUtils.h
new file mode 100644
index 000000000000..3a805c1ac2ee
--- /dev/null
+++ b/audio/osalp/files/patch-formatlib_ogg_aflibBufferUtils.h
@@ -0,0 +1,10 @@
+--- formatlib/ogg/aflibBufferUtils.h.orig 2007-01-16 19:26:39 UTC
++++ formatlib/ogg/aflibBufferUtils.h
+@@ -38,6 +38,7 @@ this buffer.
+ #include <config.h>
+ #endif
+
++#include <cstring>
+
+ class aflibBufferUtils {
+