bochs.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --- iodev/eth_tap.cc.orig 2004-01-27 12:00:49.921496528 +0100
  2. +++ iodev/eth_tap.cc 2004-01-27 12:02:00.181584599 +0100
  3. @@ -100,7 +100,7 @@
  4. #include <sys/socket.h>
  5. #include <sys/uio.h>
  6. #include <sys/wait.h>
  7. -#if defined(__FreeBSD__) || defined(__APPLE__) // Should be fixed for other *BSD
  8. +#if !defined(__LINUX__) // Should be more carefully written
  9. #include <net/if.h>
  10. #else
  11. #include <asm/types.h>
  12. Index: reg_ld_str.c
  13. --- fpu/reg_ld_str.c.orig 2004-06-03 14:34:47.000000000 +0200
  14. +++ fpu/reg_ld_str.c 2004-06-03 14:34:53.000000000 +0200
  15. @@ -315,7 +315,7 @@
  16. /* Get a short from user memory */
  17. -int BX_CPP_AttrRegparmN(1)
  18. +int BX_CPP_AttrRegparmN(2)
  19. FPU_load_int16(bx_address _s, FPU_REG *loaded_data)
  20. {
  21. s16 s, negative;
  22. Index: Makefile.in
  23. --- Makefile.in.orig 2004-06-09 15:52:12.955255102 +0200
  24. +++ Makefile.in 2004-06-09 15:52:37.847987737 +0200
  25. @@ -100,7 +100,7 @@
  26. X_LIBS = @X_LIBS@
  27. X_PRE_LIBS = @X_PRE_LIBS@
  28. XPM_LIB = @XPM_LIB@
  29. -GUI_LINK_OPTS_X = $(X_LIBS) $(X_PRE_LIBS) -lX11 $(XPM_LIB)
  30. +GUI_LINK_OPTS_X = $(X_LIBS) $(X_PRE_LIBS) $(XPM_LIB) -lX11
  31. GUI_LINK_OPTS_SDL = `sdl-config --cflags --libs`
  32. GUI_LINK_OPTS_SVGA = -lvga -lvgagl
  33. GUI_LINK_OPTS_BEOS = -lbe