diff options
author | naddy <naddy@FreeBSD.org> | 2002-11-30 00:53:57 +0000 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-11-30 00:53:57 +0000 |
commit | bda1f4e13220efebddcc25cb812932f47452d5e0 (patch) | |
tree | bab8f82b9929970d68a0cb344368122a17590145 /emulators | |
parent | abdcada0c0ca78b6258b6d3cc29cf853683073a7 (diff) | |
download | FreeBSD-ports-bda1f4e13220efebddcc25cb812932f47452d5e0.zip FreeBSD-ports-bda1f4e13220efebddcc25cb812932f47452d5e0.tar.gz |
Fix build on -CURRENT.
Notified by: bento
Diffstat (limited to 'emulators')
-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 2809507..cc32fba 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 0000000..a32c386 --- /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 0000000..6e49fc6 --- /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 0000000..ce8029e --- /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) |