Package: csound
Version: 1:5.08.0.dfsg2-1
Severity: serious
Tags: patch
Justification: no longer builds from source


Firstly, thankyou for packaging csound5. However, as can be seen from
buildd, it doesn't build on powerpc.

http://buildd.debian.org/fetch.cgi?pkg=csound;ver=1%3A5.08.0.dfsg2-1;arch=powerpc;stamp=1207248874

I'm not sure why this occurs, but it can be fixed with the following
patch.

diff -u csound-5.08.0.dfsg2.old/frontends/CsoundAC/Conversions.cpp 
csound-5.08.0.dfsg2/frontends/CsoundAC/Conversions.cpp
--- csound-5.08.0.dfsg2.old/frontends/CsoundAC/Conversions.cpp  2008-03-25 
23:37:03.000000000 +0100
+++ csound-5.08.0.dfsg2/frontends/CsoundAC/Conversions.cpp      2008-04-04 
14:32:12.000000000 +0200
@@ -21,6 +21,10 @@
  */
 #include "Conversions.hpp"
 #include <sstream>
+#include <cstring>
+#include <cstdlib>
+
+using namespace std;
 
 #if defined(WIN32) && !defined(MSVC)
 extern "C"
diff -u csound-5.08.0.dfsg2.old/frontends/CsoundAC/Midifile.cpp 
csound-5.08.0.dfsg2/frontends/CsoundAC/Midifile.cpp
--- csound-5.08.0.dfsg2.old/frontends/CsoundAC/Midifile.cpp     2008-03-25 
23:37:03.000000000 +0100
+++ csound-5.08.0.dfsg2/frontends/CsoundAC/Midifile.cpp 2008-04-04 
14:39:13.000000000 +0200
@@ -28,6 +28,10 @@
 #include <iostream>
 #include <map>
 #include <vector>
+#include <cstring>
+
+using namespace std;
+
 
 namespace csound
 {



Cheers,

Rodney


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.25-rc8
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages csound depends on:
ii  libc6                   2.7-10           GNU C Library: Shared libraries
ii  libcsound64-5.1         1:5.08.0.dfsg2-1 main library for csound

Versions of packages csound recommends:
ii  csound-gui              1:5.08.0.dfsg2-1 GUI interfaces for csound
ii  csound-utils            1:5.08.0.dfsg2-1 miscellaneous utilities for the cs

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to