diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-11-30 00:53:57 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-11-30 00:53:57 +0000 |
commit | f863daabed0bdbdda250c856066e3fce453232e0 (patch) | |
tree | e0fe1b75f1159764ae9ebbb7013215b65258ecf9 /emulators/frodo | |
parent | Fix typo to allow building on non-i386 architectures. (diff) |
Fix build on -CURRENT.
Notified by: bento
Diffstat (limited to 'emulators/frodo')
-rw-r--r-- | emulators/frodo/files/patch-CmdPipe.cpp | 15 | ||||
-rw-r--r-- | emulators/frodo/files/patch-Display.h | 14 | ||||
-rw-r--r-- | emulators/frodo/files/patch-Display__x.i | 14 | ||||
-rw-r--r-- | emulators/frodo/files/patch-SAM.cpp | 23 |
4 files changed, 64 insertions, 2 deletions
diff --git a/emulators/frodo/files/patch-CmdPipe.cpp b/emulators/frodo/files/patch-CmdPipe.cpp index 280950748743..cc32fba3b77e 100644 --- a/emulators/frodo/files/patch-CmdPipe.cpp +++ b/emulators/frodo/files/patch-CmdPipe.cpp @@ -1,6 +1,17 @@ + +$FreeBSD$ + --- CmdPipe.cpp.orig Wed Aug 6 20:56:26 1997 -+++ CmdPipe.cpp Sat Mar 10 19:19:59 2001 -@@ -16,9 +16,11 @@ ++++ CmdPipe.cpp Sat Nov 30 01:29:18 2002 +@@ -9,16 +9,18 @@ + + + extern "C" { +- #include <string.h> ++ #include <stdlib.h> + #include <unistd.h> + #include <sys/wait.h> + #include <sys/types.h> #include <string.h> #include <signal.h> diff --git a/emulators/frodo/files/patch-Display.h b/emulators/frodo/files/patch-Display.h new file mode 100644 index 000000000000..a32c38608da5 --- /dev/null +++ b/emulators/frodo/files/patch-Display.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- Display.h.orig Sat Nov 30 01:14:14 2002 ++++ Display.h Sat Nov 30 01:14:37 2002 +@@ -112,7 +112,7 @@ + + #ifdef __unix + void draw_led(int num, int state); // Draw one LED +- static void pulse_handler(...); // LED error blinking ++ static void pulse_handler(int sig); // LED error blinking + #endif + + #ifdef WIN32 diff --git a/emulators/frodo/files/patch-Display__x.i b/emulators/frodo/files/patch-Display__x.i new file mode 100644 index 000000000000..6e49fc6a5bf7 --- /dev/null +++ b/emulators/frodo/files/patch-Display__x.i @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- Display_x.i.orig Sat Nov 30 01:11:07 2002 ++++ Display_x.i Sat Nov 30 01:11:41 2002 +@@ -525,7 +525,7 @@ + * LED error blink + */ + +-void C64Display::pulse_handler(...) ++void C64Display::pulse_handler(int sig) + { + for (int i=0; i<4; i++) + switch (c64_disp->led_state[i]) { diff --git a/emulators/frodo/files/patch-SAM.cpp b/emulators/frodo/files/patch-SAM.cpp new file mode 100644 index 000000000000..ce8029e296a9 --- /dev/null +++ b/emulators/frodo/files/patch-SAM.cpp @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- SAM.cpp.orig Sat Nov 30 01:25:40 2002 ++++ SAM.cpp Sat Nov 30 01:26:38 2002 +@@ -205,7 +205,7 @@ + + // Prototypes + static void error(char *s); +-static void handle_abort(...); ++static void handle_abort(int sig); + static void init_abort(void); + static void exit_abort(void); + static bool aborted(void); +@@ -470,7 +470,7 @@ + struct sigaction my_sa; + #endif + +-static void handle_abort(...) ++static void handle_abort(int sig) + { + WasAborted = true; + #if !defined(HAVE_SIGACTION) && defined(HAVE_SIGNAL) |