Merged some patches from NetBSD pkgsrc: SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Tue, 10 Jul 2007 04:47:08 +0000
branchSDL-1.2
changeset 4029e7ec5ee35d54
parent 4028 81837116ef59
child 4030 e6c20cda4e28
Merged some patches from NetBSD pkgsrc:
Added two patches for Solaris 8. The X11 implementation does not
define the xEvent structure unless NEED_EVENTS is defined.
src/video/dga/SDL_dgaevents.c
src/video/dga/SDL_dgavideo.c
     1.1 --- a/src/video/dga/SDL_dgaevents.c	Tue Jul 10 04:41:50 2007 +0000
     1.2 +++ b/src/video/dga/SDL_dgaevents.c	Tue Jul 10 04:47:08 2007 +0000
     1.3 @@ -24,6 +24,8 @@
     1.4  /* Handle the event stream, converting DGA events into SDL events */
     1.5  
     1.6  #include <stdio.h>
     1.7 +#define NEED_EVENTS
     1.8 +#define NEED_REPLIES
     1.9  #include <X11/Xlib.h>
    1.10  #include "../Xext/extensions/xf86dga.h"
    1.11  
     2.1 --- a/src/video/dga/SDL_dgavideo.c	Tue Jul 10 04:41:50 2007 +0000
     2.2 +++ b/src/video/dga/SDL_dgavideo.c	Tue Jul 10 04:47:08 2007 +0000
     2.3 @@ -26,6 +26,8 @@
     2.4  
     2.5  #include <stdio.h>
     2.6  
     2.7 +#define NEED_EVENTS
     2.8 +#define NEED_REPLIES
     2.9  #include <X11/Xlib.h>
    2.10  #include "../Xext/extensions/xf86dga.h"
    2.11