From 52cc25c5d187ca1f4008c242bc83d72f1292f2be Mon Sep 17 00:00:00 2001
From: Oliver Bock <oliver.bock@aei.mpg.de>
Date: Fri, 13 Mar 2009 21:42:33 +0100
Subject: [PATCH] Workaround for MinGW (xscripts) GCC build bug (upstream
 notified)

---
 build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index fc5f2e0..5ddb7e4 100755
--- a/build.sh
+++ b/build.sh
@@ -187,7 +187,8 @@ prepare_win32()
 	else
 		cd .. || failure
 		echo "Retrieving MinGW build script (this may take a while)..." | tee -a $LOGFILE
-		cvs -z3 -d:pserver:anonymous@mingw.cvs.sourceforge.net:/cvsroot/mingw checkout -P xscripts >> $LOGFILE 2>&1 || failure
+		# the date tag used is meant as a temporary workaround! Remove when GCC build issue got fixed upstream!
+		cvs -z3 -d:pserver:anonymous@mingw.cvs.sourceforge.net:/cvsroot/mingw checkout -D "02/25/2009 12:00" -P xscripts >> $LOGFILE 2>&1 || failure
 	fi
 	
 	echo "Preparing MinGW build script..." | tee -a $LOGFILE
-- 
GitLab