From 57965e7622712de2d9223d255c4890cc786266c9 Mon Sep 17 00:00:00 2001
From: Oliver Bock <oliver@noname.(none)>
Date: Mon, 15 Sep 2008 21:12:50 +0200
Subject: [PATCH] Enabled SDL screensaver mode (just to be sure, BOINC still
 doesn't work though)

---
 build.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh
index d71ae06..aae06c0 100755
--- a/build.sh
+++ b/build.sh
@@ -209,9 +209,9 @@ build_generic()
 	chmod +x configure >> $LOGFILE 2>&1 || failure
 	cd $ROOT/build/sdl || failure
 	if [ "$1" == "$TARGET_MAC" ]; then
-		$ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes --enable-video-x11=no >> $LOGFILE 2>&1 || failure
+		$ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes --enable-screensaver=yes --enable-video-x11=no >> $LOGFILE 2>&1 || failure
 	else
-		$ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes >> $LOGFILE 2>&1 || failure	
+		$ROOT/3rdparty/sdl/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes --enable-screensaver=yes >> $LOGFILE 2>&1 || failure	
 	fi
 	make >> $LOGFILE 2>&1 || failure
 	make install >> $LOGFILE 2>&1 || failure
@@ -294,7 +294,7 @@ build_generic_win32()
 		echo "Cross-compile SDL_CONFIG: $SDL_CONFIG" >> $LOGFILE
 	fi
 	cd $ROOT/build/sdl || failure
-	$ROOT/3rdparty/sdl/configure --host=$TARGET_HOST --build=$BUILD_HOST --prefix=$PREFIX --enable-shared=no --enable-static=yes >> $LOGFILE 2>&1 || failure
+	$ROOT/3rdparty/sdl/configure --host=$TARGET_HOST --build=$BUILD_HOST --prefix=$PREFIX --enable-shared=no --enable-static=yes --enable-screensaver=yes >> $LOGFILE 2>&1 || failure
 	make >> $LOGFILE 2>&1 || failure
 	make install >> $LOGFILE 2>&1 || failure
 	echo "Successfully built and installed SDL!" | tee -a $LOGFILE
-- 
GitLab