Package: zynaddsubfx
Version: 2.1.1-1
Severity: normal
Tags: patch

When building 'zynaddsubfx' on amd64/unstable with gcc-4.0,
I get the following error:

gcc -O6 -ggdb -Wall  -DOS_LINUX -DALSAMIDIIN -DFFTW_VERSION_3 -DASM_F2I_YES 
`fltk-config --cflags`  -DOSSAUDIOOUT -DJACKAUDIOOUT  `pkg-config --cflags 
jack`   -c -o PresetsUI.o PresetsUI.cc
In file included from PresetsUI.cc:3:
PresetsUI.h:6:23: error: FL/fl_ask.h: No such file or directory
make[2]: *** [PresetsUI.o] Error 1
make[2]: Leaving directory `/zynaddsubfx-2.1.1/src/UI'

With the attached patch 'zynaddsubfx' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/zynaddsubfx-2.1.1/src/UI/PresetsUI.fl 
./src/UI/PresetsUI.fl
--- ../tmp-orig/zynaddsubfx-2.1.1/src/UI/PresetsUI.fl   2004-08-22 
23:11:15.000000000 +0200
+++ ./src/UI/PresetsUI.fl       2005-04-06 19:33:46.992091465 +0200
@@ -2,7 +2,7 @@
 version 1.0105 
 header_name {.h} 
 code_name {.cc}
-decl {\#include <FL/fl_ask.h>} {public
+decl {\#include <FL/fl_ask.H>} {public
 } 
 
 decl {\#include <stdio.h>} {public
diff -urN ../tmp-orig/zynaddsubfx-2.1.1/src/Seq/MIDIEvents.C 
./src/Seq/MIDIEvents.C
--- ../tmp-orig/zynaddsubfx-2.1.1/src/Seq/MIDIEvents.C  2004-07-31 
02:14:57.000000000 +0200
+++ ./src/Seq/MIDIEvents.C      2005-04-06 19:34:58.046769078 +0200
@@ -39,7 +39,7 @@
     if (l->current!=NULL) l->current->next=tmp;
        else l->first=tmp;
     l->current=tmp;
-    printf("Wx%x ",(int) l->current);
+    printf("Wx%lx ",(long) l->current);
     printf("-> %d  \n",l->current->ev.deltatime);
     l->size++;
 };
@@ -56,8 +56,8 @@
     if (l->current!=NULL) {
 //     ev->deltatime=10000;
 //     printf("Rx%d\n",l->current->ev.deltatime);
-       printf("Rx%x  ",(int) l->current);
-       printf("-> %d  (next=%x) 
\n",(int)l->current->ev.deltatime,(int)l->current->next);
+       printf("Rx%lx  ",(long) l->current);
+       printf("-> %d  (next=%lx) 
\n",(int)l->current->ev.deltatime,(long)l->current->next);
     };
 
 };


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

Reply via email to