Package: bb
Severity: serious
Tags: patch
Justification: no longer builds from source


bb failes to build with gcc-3.4:

gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -I/usr/include -pthread -D_REENTRANT 
-D SOUNDDIR=\"/usr/share/bb\" -c timers.c
timers.c:311: error: conflicting types for 'tl_lookup_timer'
timers.h:52: error: previous declaration of 'tl_lookup_timer' was here
timers.c:311: error: conflicting types for 'tl_lookup_timer'
timers.h:52: error: previous declaration of 'tl_lookup_timer' was here
timers.c:387: error: conflicting types for 'tl_reset_timer'
timers.h:53: error: previous declaration of 'tl_reset_timer' was here
timers.c:387: error: conflicting types for 'tl_reset_timer'
timers.h:53: error: previous declaration of 'tl_reset_timer' was here

The following patch fixes it:


--- timers.c.orig       2005-07-08 02:58:28.000000000 -0700
+++ timers.c    2005-07-08 03:07:10.000000000 -0700
@@ -306,6 +306,7 @@
 #endif
 #endif
 }
+REGISTERS(3)
 int
 tl_lookup_timer (tl_timer * t)
 {
@@ -382,6 +383,7 @@
 #endif
 }
 
+REGISTERS(3)
 void
 tl_reset_timer (tl_timer * t)
 {



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-perfctr-2.6.13-bmc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


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

Reply via email to