From a8d652f6f778e6e3b7a0392ce5033831a6845c7a Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 19 Apr 2009 09:49:12 +0000 Subject: Make it build on DragonFly. --- emulators/sdlmame/distinfo | 4 ++-- emulators/sdlmame/patches/patch-ab | 12 +++++++----- emulators/sdlmess/distinfo | 4 ++-- emulators/sdlmess/patches/patch-ab | 12 +++++++----- 4 files changed, 18 insertions(+), 14 deletions(-) (limited to 'emulators') diff --git a/emulators/sdlmame/distinfo b/emulators/sdlmame/distinfo index 02bf53e2516..e1aab6b0e62 100644 --- a/emulators/sdlmame/distinfo +++ b/emulators/sdlmame/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.2 2009/04/06 10:09:05 wiz Exp $ +$NetBSD: distinfo,v 1.3 2009/04/19 09:49:12 hasso Exp $ SHA1 (sdlmame0130.zip) = af6d050265467285b30b606f0a406d9a2837d5b6 RMD160 (sdlmame0130.zip) = f7aadad2d9ead6fd83b5cf73d80c28491b24c0ae Size (sdlmame0130.zip) = 17681979 bytes SHA1 (patch-aa) = 38c0eb8560fcc4d5721d6461c2966785d1e8abc7 -SHA1 (patch-ab) = 9854400aadac7848531ed242a03ae05d5747bb5f +SHA1 (patch-ab) = c49551959d68aaad754121ce8dc874b936f3b4de SHA1 (patch-ae) = dbcf17c973733727a6e1cc7a18f879d2b90d7184 SHA1 (patch-ah) = 6a8e0307a58114cfe59d066a4e5e6210895dcc9a diff --git a/emulators/sdlmame/patches/patch-ab b/emulators/sdlmame/patches/patch-ab index 684e6acaf7c..0d555e30b7e 100644 --- a/emulators/sdlmame/patches/patch-ab +++ b/emulators/sdlmame/patches/patch-ab @@ -1,11 +1,13 @@ -$NetBSD: patch-ab,v 1.1.1.1 2009/01/18 16:02:17 wiz Exp $ +$NetBSD: patch-ab,v 1.2 2009/04/19 09:49:12 hasso Exp $ ---- src/osd/sdl/sdlsync.c.orig 2008-12-12 04:55:30.000000000 +0100 -+++ src/osd/sdl/sdlsync.c -@@ -587,14 +587,27 @@ int osd_thread_adjust_priority(osd_threa +--- src/osd/sdl/sdlsync.c.orig 2008-12-12 05:55:30 +0200 ++++ src/osd/sdl/sdlsync.c 2009-04-19 08:43:17 +0300 +@@ -586,15 +586,28 @@ int osd_thread_adjust_priority(osd_threa + int osd_thread_cpu_affinity(osd_thread *thread, UINT32 mask) { - #if !defined(NO_THREAD_COOPERATIVE) && !defined(NO_AFFINITY_NP) +-#if !defined(NO_THREAD_COOPERATIVE) && !defined(NO_AFFINITY_NP) ++#if !defined(NO_THREAD_COOPERATIVE) && !defined(NO_AFFINITY_NP) && !defined(__DragonFly__) +#if defined(__NetBSD__) + cpuset_t *cmask; +#else diff --git a/emulators/sdlmess/distinfo b/emulators/sdlmess/distinfo index c067f6c5760..9a0feaeb284 100644 --- a/emulators/sdlmess/distinfo +++ b/emulators/sdlmess/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/01/18 16:02:57 wiz Exp $ +$NetBSD: distinfo,v 1.2 2009/04/19 09:50:06 hasso Exp $ SHA1 (sdlmess0129.zip) = 5b48a5922647b51a96f1b302691d843b8153483d RMD160 (sdlmess0129.zip) = e6785a3f5a932187075fdf963200b7d9ac02614f Size (sdlmess0129.zip) = 31176249 bytes SHA1 (patch-aa) = 0b752651da139512c0dac7541f003805b805c140 -SHA1 (patch-ab) = 9854400aadac7848531ed242a03ae05d5747bb5f +SHA1 (patch-ab) = c49551959d68aaad754121ce8dc874b936f3b4de SHA1 (patch-ah) = 6a8e0307a58114cfe59d066a4e5e6210895dcc9a diff --git a/emulators/sdlmess/patches/patch-ab b/emulators/sdlmess/patches/patch-ab index c226a8d82ea..744f2ca5ad3 100644 --- a/emulators/sdlmess/patches/patch-ab +++ b/emulators/sdlmess/patches/patch-ab @@ -1,11 +1,13 @@ -$NetBSD: patch-ab,v 1.1.1.1 2009/01/18 16:02:57 wiz Exp $ +$NetBSD: patch-ab,v 1.2 2009/04/19 09:50:06 hasso Exp $ ---- src/osd/sdl/sdlsync.c.orig 2008-12-12 04:55:30.000000000 +0100 -+++ src/osd/sdl/sdlsync.c -@@ -587,14 +587,27 @@ int osd_thread_adjust_priority(osd_threa +--- src/osd/sdl/sdlsync.c.orig 2008-12-12 05:55:30 +0200 ++++ src/osd/sdl/sdlsync.c 2009-04-19 08:43:17 +0300 +@@ -586,15 +586,28 @@ int osd_thread_adjust_priority(osd_threa + int osd_thread_cpu_affinity(osd_thread *thread, UINT32 mask) { - #if !defined(NO_THREAD_COOPERATIVE) && !defined(NO_AFFINITY_NP) +-#if !defined(NO_THREAD_COOPERATIVE) && !defined(NO_AFFINITY_NP) ++#if !defined(NO_THREAD_COOPERATIVE) && !defined(NO_AFFINITY_NP) && !defined(__DragonFly__) +#if defined(__NetBSD__) + cpuset_t *cmask; +#else -- cgit v1.2.3