diff options
author | markd <markd@pkgsrc.org> | 2011-01-29 21:04:59 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2011-01-29 21:04:59 +0000 |
commit | 658c5d1530c259f3ea1c9645e63a1a9f0e522870 (patch) | |
tree | 1f6473f9860fa622c0a68f2987c75d5c4c778b56 /audio/libofa/patches | |
parent | 917e7ebb7eed2df30c2a10847ddfb39f008eaff7 (diff) | |
download | pkgsrc-658c5d1530c259f3ea1c9645e63a1a9f0e522870.tar.gz |
Fix build with gcc4.3
Diffstat (limited to 'audio/libofa/patches')
-rw-r--r-- | audio/libofa/patches/patch-ad | 14 | ||||
-rw-r--r-- | audio/libofa/patches/patch-ae | 16 | ||||
-rw-r--r-- | audio/libofa/patches/patch-af | 14 |
3 files changed, 44 insertions, 0 deletions
diff --git a/audio/libofa/patches/patch-ad b/audio/libofa/patches/patch-ad new file mode 100644 index 00000000000..198d2feefa0 --- /dev/null +++ b/audio/libofa/patches/patch-ad @@ -0,0 +1,14 @@ +$NetBSD: patch-ad,v 1.1 2011/01/29 21:09:09 markd Exp $ + +build with gcc4.3 + +--- lib/signal_op.cpp.orig 2006-05-10 18:01:12.000000000 +0000 ++++ lib/signal_op.cpp +@@ -12,6 +12,7 @@ + // DATE CREATED: 1/12/06 + + ++#include <cstdlib> + #include <math.h> + #include "signal_op.h" + #include "AFLIB/aflibConverter.h" diff --git a/audio/libofa/patches/patch-ae b/audio/libofa/patches/patch-ae new file mode 100644 index 00000000000..68ccfe8411d --- /dev/null +++ b/audio/libofa/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1 2011/01/29 21:09:09 markd Exp $ + +build with gcc4.3 + +--- examples/example.cpp.orig 2006-05-10 18:05:37.000000000 +0000 ++++ examples/example.cpp +@@ -9,6 +9,9 @@ + + #include "protocol.h" + ++#include <cstring> ++#include <cstdio> ++ + AudioData* loadWaveFile(char *file); + AudioData* loadDataUsingLAME(char *file); + diff --git a/audio/libofa/patches/patch-af b/audio/libofa/patches/patch-af new file mode 100644 index 00000000000..fd3def08faf --- /dev/null +++ b/audio/libofa/patches/patch-af @@ -0,0 +1,14 @@ +$NetBSD: patch-af,v 1.1 2011/01/29 21:09:09 markd Exp $ + +build with gcc4.3 + +--- examples/protocol.cpp.orig 2006-05-10 18:05:42.000000000 +0000 ++++ examples/protocol.cpp +@@ -9,6 +9,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string> ++#include <cstring> + #include <map> + #include <expat.h> + #include <curl/curl.h> |