Your message dated Tue, 06 Jun 2006 07:54:17 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: bl
Version: 1.2-10
Severity: normal
Tags: patch

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

make[1]: Entering directory `/bl-1.2'
gcc -Wall -g -O2 bl.c -o bl
bl.c:58: error: conflicting types for 'open'
bl.c:58: note: a parameter list with an ellipsis can't match an empty parameter 
name list declaration
/usr/include/fcntl.h:72: error: previous declaration of 'open' was here
make[1]: *** [bl] Error 1
make[1]: Leaving directory `/bl-1.2'
make: *** [debian/build-stamp] Error 2

With the attached patch 'bl' can be compiled
on amd64 and ppc64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/bl-1.2/bl.c ./bl.c
--- ../tmp-orig/bl-1.2/bl.c     1996-02-18 05:14:15.000000000 +0100
+++ ./bl.c      2005-06-20 16:14:56.000000000 +0200
@@ -54,7 +54,6 @@
 int ioctl();
 char *strcat();
 int strcmp();
-int open();
 int atoi();
 void usage();
 void right();
diff -urN ../tmp-orig/bl-1.2/Makefile ./Makefile
--- ../tmp-orig/bl-1.2/Makefile 1996-02-18 05:15:15.000000000 +0100
+++ ./Makefile  2005-06-20 16:00:26.000000000 +0200
@@ -1,4 +1,4 @@
-CFLAGS=-m486 -O2 -Wall -s -N
+CFLAGS=-O2 -Wall
 LDFLAGS=
 CC=gcc
 BINDIR=/usr/local/bin
diff -urN ../tmp-orig/bl-1.2/debian/control ./debian/control
--- ../tmp-orig/bl-1.2/debian/control   2005-06-20 16:00:29.000000000 +0200
+++ ./debian/control    2005-06-20 15:58:23.000000000 +0200
@@ -6,7 +6,7 @@
 Build-Depends: yada (>= 0.14)
 
 Package: bl
-Architecture: alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 s390x sh3 
sh3eb sh4 sh4eb sparc
+Architecture: alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc ppc64 
s390 s390x sh3 sh3eb sh4 sh4eb sparc
 Description: Blink Keyboard LEDs.
  bl blinks the keyboard LEDs: the Num Lock, the Caps Lock, and the Scroll Lock.
  bl is a very helpful monitor of server's state. Blinking speed could tell
diff -urN ../tmp-orig/bl-1.2/debian/rules ./debian/rules
--- ../tmp-orig/bl-1.2/debian/rules     2005-06-20 16:00:29.000000000 +0200
+++ ./debian/rules      2005-06-20 15:59:20.000000000 +0200
@@ -20,6 +20,8 @@
 ifneq "$(buildarch)" "powerpc"
 ifneq "$(buildarch)" "sh3eb"
 ifneq "$(buildarch)" "i386"
+ifneq "$(buildarch)" "amd64"
+ifneq "$(buildarch)" "ppc64"
 buildarch := any
 endif
 endif
@@ -37,6 +39,8 @@
 endif
 endif
 endif
+endif
+endif
 
 DEB_HOST_ARCH        := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_GNU_CPU     := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
@@ -165,6 +169,10 @@
        debian/tmp-bl/DEBIAN/control
 install-tree-i386: \
        debian/tmp-bl/DEBIAN/control
+install-tree-amd64: \
+       debian/tmp-bl/DEBIAN/control
+install-tree-ppc64: \
+       debian/tmp-bl/DEBIAN/control
 install-tree-any:
 
 debian/tmp-bl/DEBIAN/control: debian/build-stamp debian/control


--- End Message ---
--- Begin Message ---
bl was removed from Debian in September 2005.  For details, please see
<http://bugs.debian.org/327644>.

--- End Message ---

Reply via email to