From d53d9d471aca4c6845b59aebda596ca864bc3442 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Jan 2006 21:35:09 +0000 Subject: Include sys/time.h whenever struct timeval is used. Fixes build on DragonFly. --- emulators/raine/distinfo | 6 ++++-- emulators/raine/patches/patch-ad | 13 +++++++++++-- emulators/raine/patches/patch-ah | 13 +++++++++++++ emulators/raine/patches/patch-ai | 14 ++++++++++++++ 4 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 emulators/raine/patches/patch-ah create mode 100644 emulators/raine/patches/patch-ai (limited to 'emulators') diff --git a/emulators/raine/distinfo b/emulators/raine/distinfo index d5e929944ec..e854f35a13d 100644 --- a/emulators/raine/distinfo +++ b/emulators/raine/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 18:49:19 agc Exp $ +$NetBSD: distinfo,v 1.5 2006/01/12 21:35:09 joerg Exp $ SHA1 (raines-0.40.2.tar.bz2) = 1fbd0c108d60f53806a03f86693faf9ffdb6e60b RMD160 (raines-0.40.2.tar.bz2) = e2c169ebcc69f617717b68272dca203658893a70 @@ -6,7 +6,9 @@ Size (raines-0.40.2.tar.bz2) = 1513190 bytes SHA1 (patch-aa) = 977bf37619aac97dff4bd11c2f28726faa219154 SHA1 (patch-ab) = 3fc85718ec2079fbbb7a59d06f782e2832889d0a SHA1 (patch-ac) = 40ec161397eed474a1274ea8f0e802eb5e687608 -SHA1 (patch-ad) = 2842cf825e67a5195c44c4d173feb5ffe01c2e46 +SHA1 (patch-ad) = 5ad5f4f60a8f22e55100fa0604fd08594f659510 SHA1 (patch-ae) = 6ce2adccb6bded8cd4034ad314ce1856db95871c SHA1 (patch-af) = 4978139a0d0f0e4c92c7a3dd2084167785fdf524 SHA1 (patch-ag) = d79a11f6162895f5ef844c60ac36e4f0a22bf544 +SHA1 (patch-ah) = 9e7296cb7619fbbecd5380d021cb319d66806ef5 +SHA1 (patch-ai) = 86f682d1ae41e75a283c8f7c0474a8b03271b2fa diff --git a/emulators/raine/patches/patch-ad b/emulators/raine/patches/patch-ad index a5278d4a69c..0310a86c36a 100644 --- a/emulators/raine/patches/patch-ad +++ b/emulators/raine/patches/patch-ad @@ -1,8 +1,17 @@ -$NetBSD: patch-ad,v 1.1 2004/04/17 00:58:42 kristerw Exp $ +$NetBSD: patch-ad,v 1.2 2006/01/12 21:35:09 joerg Exp $ --- source/gui/rgui.c.orig Sat Apr 17 02:38:41 2004 +++ source/gui/rgui.c Sat Apr 17 02:39:11 2004 -@@ -1715,10 +1715,12 @@ +@@ -9,6 +9,8 @@ + #include + #endif + ++#include ++ + #include "raine.h" + #include "rgui.h" + #include "rguiproc.h" +@@ -1723,10 +1725,12 @@ void dialog_oxygen(void) // its sleep function has a 1ms resolution instead of 1us. Too bad... Sleep(1000/60); #elif defined(RAINE_UNIX) diff --git a/emulators/raine/patches/patch-ah b/emulators/raine/patches/patch-ah new file mode 100644 index 00000000000..76a6795617f --- /dev/null +++ b/emulators/raine/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2006/01/12 21:35:09 joerg Exp $ + +--- source/emumain.c.orig 2006-01-12 21:04:11.000000000 +0000 ++++ source/emumain.c +@@ -9,6 +9,8 @@ + #include + #endif + ++#include ++ + #include "raine.h" // General defines and stuff + #include "emumain.h" // main loops + #include "gui.h" // Interface stuff diff --git a/emulators/raine/patches/patch-ai b/emulators/raine/patches/patch-ai new file mode 100644 index 00000000000..b09277b3975 --- /dev/null +++ b/emulators/raine/patches/patch-ai @@ -0,0 +1,14 @@ +$NetBSD: patch-ai,v 1.1 2006/01/12 21:35:09 joerg Exp $ + +--- source/alleg/blit.c.orig 2006-01-12 21:09:13.000000000 +0000 ++++ source/alleg/blit.c +@@ -2,6 +2,9 @@ + #include + #include + #endif ++ ++#include ++ + #include "blit_x2.h" + #include "eagle.h" + #include "games.h" // current_game for save_screen -- cgit v1.2.3