tag 454821 patch thanks Martin Michlmayr <tbm@cyrius.com> (07/12/2007): > Package: arts > Version: 1.5.8-1 > Usertags: ftbfs-gcc-4.3 Hi, here's a patch to fix this FTBFS. Cheers, -- Cyril Brulebois
--- a/artsc/artscbackend.cc
+++ b/artsc/artscbackend.cc
@@ -37,6 +37,8 @@
#include <assert.h>
#include "arts_export.h"
+#include <cstring>
+
#define arts_backend_debug(x) ;
using namespace std;
--- a/flow/audiosubsys.cc
+++ b/flow/audiosubsys.cc
@@ -57,6 +57,8 @@
#include <fstream>
#endif
+#include <cstring>
+
using namespace std;
using namespace Arts;
--- a/soundserver/artscat.cc
+++ b/soundserver/artscat.cc
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <iostream>
+#include <cstdlib>
using namespace std;
using namespace Arts;
--- a/soundserver/artsplay.cc
+++ b/soundserver/artsplay.cc
@@ -32,6 +32,7 @@
#include <vector>
#include <string>
#include <iostream>
+#include <cstring>
using namespace std;
using namespace Arts;
--- a/soundserver/artsrec.cc
+++ b/soundserver/artsrec.cc
@@ -34,6 +34,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <iostream>
+#include <cstdlib>
using namespace std;
using namespace Arts;
--- a/soundserver/artsshell.cc
+++ b/soundserver/artsshell.cc
@@ -123,6 +123,9 @@
#include <stdio.h>
#include <math.h>
+#include <cstdlib>
+#include <cstring>
+
bool quiet = false;
const char *filename = 0;
--- a/soundserver/crashhandler.h
+++ b/soundserver/crashhandler.h
@@ -25,6 +25,7 @@
#define __ARTS_CRASHHANDLER_H
#include <string>
+#include <cstring>
namespace Arts {
--- a/soundserver/fileinputstream_impl.cc
+++ b/soundserver/fileinputstream_impl.cc
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <iostream>
+#include <cstring>
using namespace std;
using namespace Arts;
--- a/soundserver/soundserverv2_impl.cc
+++ b/soundserver/soundserverv2_impl.cc
@@ -40,6 +40,8 @@
#include <errno.h>
#include <fstream>
#include <set>
+#include <cstdlib>
+#include <cstring>
#include "config.h"
Attachment:
signature.asc
Description: Digital signature