Package: hwinfo
Version: 13.3-2
Severity: serious
Tags: patch
gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -I
/usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I
/usr/lib/dbus-1.0/include kbd.c
kbd.c:24: error: redefinition of 'struct serial_struct'
make[3]: *** [kbd.o] Error 1
make[3]: Leaving directory
`/build/buildd/hwinfo-13.3/build-tree/hwinfo-13.3/src/hd'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory
`/build/buildd/hwinfo-13.3/build-tree/hwinfo-13.3/src'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/build/buildd/hwinfo-13.3/build-tree/hwinfo-13.3'
make: *** [stampdir/build-arch-stamp] Error 2
http://buildd.debian.org/fetch.php?pkg=hwinfo%26ver=13.3-2%26arch=sparc%26stamp=1158502936%26file=log
This is already defined in /usr/include/linux/serial.h .
diff -ruN hwinfo-13.3-old/src/hd/kbd.c hwinfo-13.3/src/hd/kbd.c
--- hwinfo-13.3-old/src/hd/kbd.c 2006-09-17 12:21:13.753615000 -0400
+++ hwinfo-13.3/src/hd/kbd.c 2006-09-17 12:23:22.222937080 -0400
@@ -21,26 +21,6 @@
#ifdef __sparc__
-struct serial_struct {
- int type;
- int line;
- unsigned long port;
- int irq;
- int flags;
- int xmit_fifo_size;
- int custom_divisor;
- int baud_base;
- unsigned short close_delay;
- char io_type;
- char reserved_char[1];
- int hub6;
- unsigned short closing_wait; /* time to wait before closing */
- unsigned short closing_wait2; /* no longer used... */
- unsigned char *iomem_base;
- unsigned short iomem_reg_shift;
- int reserved[2];
-};
-
#ifdef DIET
typedef unsigned int u_int;
#endif
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]