use nanosleep
This commit is contained in:
parent
4971ebf88f
commit
c903391a58
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.47 2006/10/19 00:26:33 pvalchev Exp $
|
||||
# $OpenBSD: Makefile,v 1.48 2006/12/04 03:52:08 jolan Exp $
|
||||
# Uses pthreads
|
||||
|
||||
COMMENT= "cross-platform multimedia library"
|
||||
|
||||
VERSION= 1.2.9
|
||||
DISTNAME= SDL-${VERSION}
|
||||
PKGNAME= ${DISTNAME:L}p1
|
||||
PKGNAME= ${DISTNAME:L}p2
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.libsdl.org/
|
||||
|
12
devel/sdl/patches/patch-src_timer_linux_SDL_systimer_c
Normal file
12
devel/sdl/patches/patch-src_timer_linux_SDL_systimer_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_timer_linux_SDL_systimer_c,v 1.3 2006/12/04 03:52:08 jolan Exp $
|
||||
--- src/timer/linux/SDL_systimer.c.orig Sun Jan 4 10:49:19 2004
|
||||
+++ src/timer/linux/SDL_systimer.c Mon Nov 27 10:42:12 2006
|
||||
@@ -55,7 +55,7 @@ static char rcsid =
|
||||
/* Linux select() changes its timeout parameter upon return to contain
|
||||
the remaining time. Most other unixen leave it unchanged or undefined. */
|
||||
#define SELECT_SETS_REMAINING
|
||||
-#elif defined(__bsdi__) || defined(__FreeBSD__) || defined(__sun)
|
||||
+#elif defined(__bsdi__) || defined(__FreeBSD__) || defined(__sun) || defined(__OpenBSD__)
|
||||
#define USE_NANOSLEEP
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user