You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/libofa/files/libofa-0.9.3-gcc-4.3.patch

36 lines
1.1 KiB

diff -ur a/examples/example.cpp b/examples/example.cpp
--- a/examples/example.cpp 2006-05-10 21:05:37.000000000 +0300
+++ b/examples/example.cpp 2008-04-16 15:51:49.000000000 +0300
@@ -9,6 +9,8 @@
#include "protocol.h"
+#include <string.h>
+
AudioData* loadWaveFile(char *file);
AudioData* loadDataUsingLAME(char *file);
Vain hakemistossa b/examples: example.cpp.orig
diff -ur a/examples/protocol.cpp b/examples/protocol.cpp
--- a/examples/protocol.cpp 2006-05-10 21:05:42.000000000 +0300
+++ b/examples/protocol.cpp 2008-04-16 15:51:49.000000000 +0300
@@ -8,6 +8,7 @@
-------------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
+#include <cstring>
#include <string>
#include <map>
#include <expat.h>
diff -ur a/lib/signal_op.cpp b/lib/signal_op.cpp
--- a/lib/signal_op.cpp 2006-05-10 21:01:12.000000000 +0300
+++ b/lib/signal_op.cpp 2008-04-16 15:51:49.000000000 +0300
@@ -12,6 +12,7 @@
// DATE CREATED: 1/12/06
+#include <cstdlib>
#include <math.h>
#include "signal_op.h"
#include "AFLIB/aflibConverter.h"