Package: bochs
Version: 2.3+20070705-1
Severity: serious
Tags: patch
Justification: no longer builds from source
The latest bochs upload fails to build on 64-bit architectures such as
amd64 because eth_vnet.cc's prototype of tftp_send_optack differs
somewhat from its actual definition. Please apply the attached patch,
which resyncs the prototype; I've confirmed that it is sufficient to
let bochs build again on amd64.
Thanks!
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.21.5 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bochs depends on:
ii bochs-sdl [bochs-gui] 2.3-2 SDL plugin for Bochs
ii bochs-term [bochs-gui] 2.3-2 Terminal (ncurses-based) plugin fo
ii bochs-wx [bochs-gui] 2.3-2 WxWindows plugin for Bochs
ii bochs-x [bochs-gui] 2.3-2 X11 plugin for Bochs
ii bochsbios 2.3-2 BIOS for the Bochs emulator
ii libc6 2.5-11 GNU C Library: Shared libraries
ii libgcc1 1:4.2-20070627-1 GCC support library
ii libstdc++6 4.2-20070627-1 The GNU Standard C++ Library v3
ii vgabios 0.6a-1 VGA BIOS software for the Bochs an
ii zlib1g 1:1.2.3.3.dfsg-4 compression library - runtime
Versions of packages bochs recommends:
ii bximage 2.3-2 Disk Image Creation Tool for Bochs
ii createdisk 0.0.20030525.goodbye Plex86 Empty Disk Image Utility
-- debconf information:
bochs/bochsrc:
Index: bochs-2.3+20070705/iodev/eth_vnet.cc
===================================================================
--- bochs-2.3+20070705.orig/iodev/eth_vnet.cc 2007-07-08 14:19:45.000000000 -0400
+++ bochs-2.3+20070705/iodev/eth_vnet.cc 2007-07-08 14:20:14.000000000 -0400
@@ -199,7 +199,7 @@
void tftp_send_optack(
Bit8u *buffer,
unsigned sourceport, unsigned targetport,
- unsigned tsize_option, unsigned blksize_option);
+ size_t tsize_option, unsigned blksize_option);
char tftp_filename[BX_PATHNAME_LEN];
char tftp_rootdir[BX_PATHNAME_LEN];