SOURCES: SDL-SDLmain-dummy.patch (NEW) - fix for SDL_dummy_main.c ...

sparky sparky at pld-linux.org
Sun Nov 5 22:36:32 CET 2006


Author: sparky                       Date: Sun Nov  5 21:36:32 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix for SDL_dummy_main.c (used on linux)

---- Files affected:
SOURCES:
   SDL-SDLmain-dummy.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/SDL-SDLmain-dummy.patch
diff -u /dev/null SOURCES/SDL-SDLmain-dummy.patch:1.1
--- /dev/null	Sun Nov  5 22:36:32 2006
+++ SOURCES/SDL-SDLmain-dummy.patch	Sun Nov  5 22:36:26 2006
@@ -0,0 +1,17 @@
+diff -Nur SDL-1.2.11.orig/src/main/dummy/SDL_dummy_main.c SDL-1.2.11.SDLmain-dummy/src/main/dummy/SDL_dummy_main.c
+--- SDL-1.2.11.orig/src/main/dummy/SDL_dummy_main.c	2006-05-01 08:02:39.000000000 +0000
++++ SDL-1.2.11.SDLmain-dummy/src/main/dummy/SDL_dummy_main.c	2006-11-05 21:24:13.000000000 +0000
+@@ -3,11 +3,9 @@
+ #include "SDL_main.h"
+ 
+ #ifdef main
+-#undef main
++# undef main
++#endif
+ int main(int argc, char *argv[])
+ {
+ 	return(SDL_main(argc, argv));
+ }
+-#else
+-/* Nothing to do on this platform */
+-#endif
================================================================


More information about the pld-cvs-commit mailing list