Package: bwbasic
Severity: normal
Tags: patch

Dear Maintainer,

bwbasic currently FTBFS with clang 3.1 (the full build log can be found here: 
http://clang.debian.net/logs/2012-06-23/bwbasic_2.20pl2-11_unstable_clang.log). 
The attached patch should fix this issue.


WBR,
Cyril Roelandt.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- bwbasic-2.20pl2.orig/bwx_tty.c	2012-09-03 01:59:03.612080665 +0200
+++ bwbasic-2.20pl2/bwx_tty.c	2012-09-03 01:59:23.872081181 +0200
@@ -65,8 +65,8 @@
 
 ***************************************************************/
 
+int
 #if ANSI_C
-void
 main( int argc, char **argv )
 #else
 main( argc, argv )
@@ -92,7 +92,7 @@
 
       bwx_terminate();			/* allow ^D (Unix) exit with grace */
 
-
+      return 0;
    }
 
 /***************************************************************

Reply via email to