54321/54321-1.0-SDL.patch

27 lines
985 B
Diff

diff -purN 54321.orig/archs/Linux/variables.GNU 54321/archs/Linux/variables.GNU
--- 54321.orig/archs/Linux/variables.GNU 2001-11-08 16:54:01.000000000 +0100
+++ 54321/archs/Linux/variables.GNU 2005-08-23 11:44:30.000000000 +0200
@@ -5,8 +5,8 @@ STRIP := strip
MKDIR_CMD = test -d $(@D) || mkdir -p $(@D)
############################################################
-SDL := /usr/local
-SDL_IMAGE := /usr/local
+SDL := /usr
+SDL_IMAGE := /usr
CPPFLAGS += -I${SDL}/include/SDL -I${SDL_IMAGE}/include/SDL
LDFLAGS += \
diff -purN 54321.orig/code/main.cpp 54321/code/main.cpp
--- 54321.orig/code/main.cpp 2001-11-16 05:14:04.000000000 +0100
+++ 54321/code/main.cpp 2005-08-23 11:45:50.000000000 +0200
@@ -29,7 +29,7 @@
#include "life.h"
#include "lifeController.h"
extern "C" int
- SDL_main( int argc, char** argv )
+ main( int argc, char** argv )
{
unsigned int initFlags = 0;
initFlags |= SDL_INIT_VIDEO;