Package: amsynth
Version: 1.1.0-1
Severity: serious
Tags: patch

When building 'amsynth' on amd64/unstable, I get the following error:

make[4]: Entering directory `/amsynth-1.1.0/src/GUI'
if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DXTHREADS 
-I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 
-I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 
-I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 
-I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 
-I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0      
-Wall -O3 -ffast-math -fno-exceptions -fomit-frame-pointer -Dwith_oss 
-Dwith_alsa -Dwith_jack -Dwith_sndfile -MT GUI.o -MD -MP -MF ".deps/GUI.Tpo" -c 
-o GUI.o GUI.cc; \
then mv -f ".deps/GUI.Tpo" ".deps/GUI.Po"; else rm -f ".deps/GUI.Tpo"; exit 1; 
fi
/usr/include/glibmm-2.4/glibmm/containers.h: In member function 'typename 
Glib::List_Iterator_Base<T>::reference Glib::SList_Iterator<T>::operator*() 
const':
/usr/include/glibmm-2.4/glibmm/containers.h:181: warning: statement has no 
effect
/usr/include/gtkmm-2.4/gtkmm/treeview.h: In member function 'int 
Gtk::TreeView::append_column_editable(const Glib::ustring&, const 
Gtk::TreeModelColumn<ColumnType>&)':
/usr/include/gtkmm-2.4/gtkmm/treeview.h:1424: warning: statement has no effect
/usr/include/gtkmm-2.4/gtkmm/treeview.h: In function 'void 
Gtk::TreeView_Private::_connect_auto_store_editable_signal_handler(Gtk::TreeView*,
 Gtk::CellRenderer*, const Gtk::TreeModelColumn<ColumnType>&)':
/usr/include/gtkmm-2.4/gtkmm/treeview.h:1681: warning: statement has no effect
../Thread.h: In member function 'int Thread::Kill(int)':
../Thread.h:37: error: 'pthread_kill' was not declared in this scope
make[4]: *** [GUI.o] Error 1
make[4]: Leaving directory `/amsynth-1.1.0/src/GUI'

With the attached patch 'amsynth' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/amsynth-1.1.0/src/Thread.h ./src/Thread.h
--- ../tmp-orig/amsynth-1.1.0/src/Thread.h      2005-10-26 19:45:10.000000000 
+0000
+++ ./src/Thread.h      2005-11-02 10:31:44.000000000 +0000
@@ -26,6 +26,7 @@
 #define _THREAD_H
 
 #include <pthread.h>
+#include <signal.h>
 
 class Thread
 {


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

Reply via email to