diff options
author | hasso <hasso@pkgsrc.org> | 2009-04-19 09:49:12 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-04-19 09:49:12 +0000 |
commit | a8d652f6f778e6e3b7a0392ce5033831a6845c7a (patch) | |
tree | 38282af7470d19fab66d36b975c38004b3ae62b1 /emulators/sdlmame/patches | |
parent | 7f76479ce5ace50e8a77ee81bb5914c658d4e360 (diff) | |
download | pkgsrc-a8d652f6f778e6e3b7a0392ce5033831a6845c7a.tar.gz |
Make it build on DragonFly.
Diffstat (limited to 'emulators/sdlmame/patches')
-rw-r--r-- | emulators/sdlmame/patches/patch-ab | 12 |
1 files changed, 7 insertions, 5 deletions
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 |