summaryrefslogtreecommitdiff
path: root/libraries/audiere/patches/audiere-1.9.4-gcc44.patch
diff options
context:
space:
mode:
authordsomero <xgizzmo@gmail.com>2010-05-27 04:03:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-27 12:10:04 +0200
commitd49ef225aea62c60e83ecf88f73910a54ca9c15b (patch)
tree06b19205590560558fdc02c9594c4bc2b7f4d56f /libraries/audiere/patches/audiere-1.9.4-gcc44.patch
parentf8071fcc567d69eb91bdcbeae53b0867573d8171 (diff)
downloadslackbuilds-d49ef225aea62c60e83ecf88f73910a54ca9c15b.tar.gz
libraries/audiere: Miscellaneous cleanups and gcc4.4 patch.
Diffstat (limited to 'libraries/audiere/patches/audiere-1.9.4-gcc44.patch')
-rw-r--r--libraries/audiere/patches/audiere-1.9.4-gcc44.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/libraries/audiere/patches/audiere-1.9.4-gcc44.patch b/libraries/audiere/patches/audiere-1.9.4-gcc44.patch
new file mode 100644
index 0000000000..a2211dce08
--- /dev/null
+++ b/libraries/audiere/patches/audiere-1.9.4-gcc44.patch
@@ -0,0 +1,43 @@
+diff -Naur audiere/src/audiere.h audiere.tpg/src/audiere.h
+--- audiere/src/audiere.h 2004-11-28 01:41:59.000000000 +0000
++++ audiere.tpg/src/audiere.h 2008-06-03 17:39:43.000000000 +0000
+@@ -29,6 +29,13 @@
+ #include <vector>
+ #include <string>
+
++/* Headers for gcc-4.3 */
++
++/* strlen, strchr, etc. */
++#include <cstring>
++/* getenv, atexit, etc. */
++#include <cstdlib>
++
+ #ifdef _MSC_VER
+ #pragma warning(disable : 4786)
+ #endif
+diff -Naur audiere/src/debug.h audiere.tpg/src/debug.h
+--- audiere/src/debug.h 2004-04-09 09:33:50.000000000 +0000
++++ audiere.tpg/src/debug.h 2008-06-03 17:39:43.000000000 +0000
+@@ -6,6 +6,9 @@
+ #include <stdio.h>
+ #include <string>
+
++/* Headers for gcc-4.3 */
++#include <cstring>
++#include <cstdlib>
+
+ namespace audiere {
+
+diff -Naur audiere/src/utility.cpp b/src/utility.cpp
+index f49c028..28fefc8 100644
+--- audiere/src/utility.cpp 2004-04-09 09:33:50.000000000 +0000
++++ audiere.tpg/src/utility.cpp 2008-06-03 17:39:43.000000000 +0000
+@@ -2,7 +2,7 @@
+ #pragma warning(disable : 4786)
+ #endif
+
+-
++#include <cstdio>
+ #include <ctype.h>
+ #include "utility.h"
+ #include "internal.h"