Package: ardour
Version: 0.99.3-1
Usertags: ftbfs-gcc-4.3
Tags: patch
Your package fails to build with GCC 4.3. Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning. A patch for this problem is
below.
> Automatic build of ardour_0.99.3-1 on coconut0 by sbuild/ia64 0.49
...
> g++ -o libs/midi++/midicontrollable.o -c -O2 -g -Wall -DENABLE_NLS
> -DWITH_ALSA -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -Ilibs/midi++ -Ilibs -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0
> -I/usr/include/libxml2 -Ilibs/pbd libs/midi++/midicontrollable.cc
> libs/midi++/midicontrollable.cc: In member function 'void
> MIDI::Controllable::midi_sense_pitchbend(MIDI::Parser&, MIDI::pitchbend_t)':
> libs/midi++/midicontrollable.cc:183: error: 'SHRT_MAX' was not declared in
> this scope
> Build needed 00:01:19, 18648k disk space
--- ardour-0.99.3.orig/libs/midi++/midicontrollable.cc
+++ ardour-0.99.3/libs/midi++/midicontrollable.cc
@@ -18,6 +18,7 @@
$Id: midicontrollable.cc,v 1.7 2005/03/31 20:21:30 pauld Exp $
*/
+#include <climits>
#include <cstdio> /* for sprintf, sigh */
#include <pbd/error.h>
#include <midi++/port.h>
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]