* Lucas Nussbaum <lu...@lucas-nussbaum.net>, 2009-12-11, 09:11:
During a rebuild of all packages in sid, your package failed to build on
amd64.

The attached patch fixes this bug.

--
Jakub Wilk
Description: Add missing includes, required to build the package with GCC 4.4.
Author: Jakub Wilk
Debian-Bug: http://bugs.debian.org/560499

Index: beast-0.7.1/birnet/birnetmsg.cc
===================================================================
--- beast-0.7.1.orig/birnet/birnetmsg.cc	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/birnet/birnetmsg.cc	2009-12-16 19:59:32.000000000 +0100
@@ -22,6 +22,7 @@
 #include <syslog.h>
 #include <errno.h>
 #include <cstring>
+#include <cstdio>
 
 #ifndef _ // FIXME
 #define _(x)    (x)
Index: beast-0.7.1/birnet/birnetutils.cc
===================================================================
--- beast-0.7.1.orig/birnet/birnetutils.cc	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/birnet/birnetutils.cc	2009-12-16 19:59:32.000000000 +0100
@@ -32,6 +32,7 @@
 #include <cxxabi.h>
 #include <signal.h>
 #include <cstring>
+#include <cstdio>
 
 #ifndef _
 #define _(s)    s
Index: beast-0.7.1/birnet/birnetutils.hh
===================================================================
--- beast-0.7.1.orig/birnet/birnetutils.hh	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/birnet/birnetutils.hh	2009-12-16 19:59:32.000000000 +0100
@@ -23,6 +23,7 @@
 #include <string>
 #include <vector>
 #include <map>
+#include <cstdarg>
 
 namespace Birnet {
 
Index: beast-0.7.1/birnet/tests/strings.cc
===================================================================
--- beast-0.7.1.orig/birnet/tests/strings.cc	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/birnet/tests/strings.cc	2009-12-16 19:59:32.000000000 +0100
@@ -19,6 +19,7 @@
 //#define TEST_VERBOSE
 #include <birnet/birnettests.h>
 #include <cstdlib>
+#include <cstdio>
 using namespace Birnet;
 
 namespace {
Index: beast-0.7.1/bse/bseresamplerimpl.hh
===================================================================
--- beast-0.7.1.orig/bse/bseresamplerimpl.hh	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/bse/bseresamplerimpl.hh	2009-12-16 19:59:32.000000000 +0100
@@ -28,6 +28,7 @@
 #ifdef __SSE__
 #include <xmmintrin.h>
 #endif
+#include <cstdio>
 
 namespace Bse {
 namespace Resampler {
Index: beast-0.7.1/bse/tests/filtertest.cc
===================================================================
--- beast-0.7.1.orig/bse/tests/filtertest.cc	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/bse/tests/filtertest.cc	2009-12-16 19:59:32.000000000 +0100
@@ -27,6 +27,7 @@
 #include <math.h>
 #include <complex>
 #include <cstdlib>
+#include <cstdio>
 
 typedef std::complex<double> Complex;
 using namespace Birnet;
Index: beast-0.7.1/tests/bse/cxxbinding.cc
===================================================================
--- beast-0.7.1.orig/tests/bse/cxxbinding.cc	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/tests/bse/cxxbinding.cc	2009-12-16 19:59:32.000000000 +0100
@@ -19,6 +19,7 @@
 #include "bsecxxapi.hh"
 #include <bse/bse.h>
 #include <unistd.h>
+#include <cstdio>
 
 static SfiGlueContext *bse_context = NULL;
 
Index: beast-0.7.1/tests/bse/filtertest.cc
===================================================================
--- beast-0.7.1.orig/tests/bse/filtertest.cc	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/tests/bse/filtertest.cc	2009-12-16 19:59:32.000000000 +0100
@@ -29,6 +29,7 @@
 #include "topconfig.h"
 #include <errno.h>
 #include <cstdlib>
+#include <cstdio>
 
 using std::string;
 using std::vector;
Index: beast-0.7.1/tests/latency/bselatencytest.cc
===================================================================
--- beast-0.7.1.orig/tests/latency/bselatencytest.cc	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/tests/latency/bselatencytest.cc	2009-12-16 19:59:32.000000000 +0100
@@ -20,6 +20,7 @@
 #include <sys/time.h>
 #include <string>
 #include <errno.h>
+#include <cstdio>
 
 using namespace std;
 using namespace Sfi;
Index: beast-0.7.1/tests/perftest.cc
===================================================================
--- beast-0.7.1.orig/tests/perftest.cc	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/tests/perftest.cc	2009-12-16 19:59:32.000000000 +0100
@@ -21,6 +21,7 @@
 #include <unistd.h>
 #include <sys/time.h>
 #include <time.h>
+#include <cstdio>
 
 static SfiGlueContext *bse_context = NULL;
 
Index: beast-0.7.1/tools/bwtwave.cc
===================================================================
--- beast-0.7.1.orig/tools/bwtwave.cc	2009-12-16 19:59:30.000000000 +0100
+++ beast-0.7.1/tools/bwtwave.cc	2009-12-16 19:59:32.000000000 +0100
@@ -28,6 +28,7 @@
 #include <algorithm>
 #include <vector>
 #include <map>
+#include <cstdio>
 
 
 namespace BseWaveTool {

Reply via email to