Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/games In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6920
Modified Files: sdl.info Added Files: sdl.patch Log Message: Fix building SDL on 10.9 (thanks to Jack Howarth) --- NEW FILE: sdl.patch --- --- a/src/video/quartz/SDL_QuartzVideo.h.orig 2013-02-02 17:53:45.000000000 -0800 +++ a/src/video/quartz/SDL_QuartzVideo.h 2013-02-02 17:54:15.000000000 -0800 @@ -91,7 +91,9 @@ typedef struct SDL_PrivateVideoData { CGDirectDisplayID display; /* 0 == main display (only support single display) */ const void *mode; /* current mode of the display */ const void *save_mode; /* original mode of the display */ +#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070) CGDirectPaletteRef palette; /* palette of an 8-bit display */ +#endif NSOpenGLContext *gl_context; /* OpenGL rendering context */ NSGraphicsContext *nsgfx_context; /* Cocoa graphics context */ Uint32 width, height, bpp; /* frequently used data about the display */ --- a/src/video/x11/SDL_x11sym.h.orig 2013-06-22 20:48:48.000000000 -0400 +++ a/src/video/x11/SDL_x11sym.h 2013-06-22 20:51:18.000000000 -0400 @@ -165,7 +165,7 @@ */ #ifdef LONG64 SDL_X11_MODULE(IO_32BIT) -SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) +SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return) SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) #endif Index: sdl.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/games/sdl.info,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- sdl.info 23 Jan 2012 11:34:01 -0000 1.4 +++ sdl.info 22 Jul 2013 12:19:11 -0000 1.5 @@ -16,13 +16,22 @@ Package: sdl Version: 1.2.15 -Revision: 1 +Revision: 2 BuildDependsOnly: True Depends: %N-shlibs (= %v-%r) BuildDepends: x11-dev, fink (>= 0.24.12) Maintainer: Max Horn <m...@quendi.de> Source: http://www.libsdl.org/release/SDL-%v.tar.gz Source-MD5: 9d96df8417572a2afb781a7c4c811a85 +PatchFile: %n.patch +PatchFile-MD5: 75d392042cf351161585fa4a674fe795 +PatchScript: << + #!/bin/bash -ev +darwinvers=`sw_vers -productVersion | cut -d. -f1-2` +if [[ $darwinvers > 10.8 ]]; then + %{default_script} +fi +<< ConfigureParams: --mandir=%p/share/man CompileScript: ./configure %c; DISTCC_HOSTS='' MAKEFLAGS='-j1' make InstallScript: make install DESTDIR=%d ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs