summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/stk/files/stk-4.3.1-gcc44.patch')
-rw-r--r--media-libs/stk/files/stk-4.3.1-gcc44.patch24
1 files changed, 16 insertions, 8 deletions
diff --git a/media-libs/stk/files/stk-4.3.1-gcc44.patch b/media-libs/stk/files/stk-4.3.1-gcc44.patch
index 4ad93ceee4b1..abc8ba1d814a 100644
--- a/media-libs/stk/files/stk-4.3.1-gcc44.patch
+++ b/media-libs/stk/files/stk-4.3.1-gcc44.patch
@@ -1,22 +1,30 @@
-diff -ur stk-4.3.1.orig/src/FileRead.cpp stk-4.3.1/src/FileRead.cpp
---- stk-4.3.1.orig/src/FileRead.cpp 2007-12-06 02:58:27.000000000 +0200
-+++ stk-4.3.1/src/FileRead.cpp 2009-07-30 14:28:03.000000000 +0300
+--- src/FileRead.cpp
++++ src/FileRead.cpp
@@ -32,6 +32,7 @@
#include "FileRead.h"
#include <sys/stat.h>
#include <sys/types.h>
+#include <cstdio>
#include <cmath>
+ #include <cstring>
- FileRead :: FileRead()
-diff -ur stk-4.3.1.orig/src/FileWrite.cpp stk-4.3.1/src/FileWrite.cpp
---- stk-4.3.1.orig/src/FileWrite.cpp 2007-12-06 02:58:27.000000000 +0200
-+++ stk-4.3.1/src/FileWrite.cpp 2009-07-30 14:28:13.000000000 +0300
+--- src/FileWrite.cpp
++++ src/FileWrite.cpp
@@ -22,6 +22,7 @@
/***************************************************/
#include "FileWrite.h"
+#include <cstdio>
#include <cmath>
+ #include <cstring>
- const FileWrite::FILE_TYPE FileWrite :: FILE_RAW = 1;
+--- src/RtAudio.cpp
++++ src/RtAudio.cpp
+@@ -42,6 +42,7 @@
+
+ #include "RtAudio.h"
+ #include <iostream>
++#include <cstdio>
+ #include <cstdlib>
+ #include <cstring>
+ #include <climits>