Blame SOURCES/qt-x11-free-3.3.8b-gcc4-buildkey.patch

106311
diff -ur qt-x11-free-3.3.8b/configure qt-x11-free-3.3.8b-gcc4-buildkey/configure
106311
--- qt-x11-free-3.3.8b/configure	2008-01-15 20:09:15.000000000 +0100
106311
+++ qt-x11-free-3.3.8b-gcc4-buildkey/configure	2008-02-18 02:41:01.000000000 +0100
106311
@@ -3081,16 +3081,16 @@
106311
 g++*)
106311
     # GNU C++
106311
     QMAKE_CONF_COMPILER=`grep "QMAKE_CXX[^_A-Z0-9a-z]" $QMAKESPEC/qmake.conf | sed "s,.* *= *\(.*\)$,\1,"`
106311
-    COMPILER_VERSION=`${QMAKE_CONF_COMPILER} --version 2>/dev/null`
106311
+    COMPILER_VERSION=`${QMAKE_CONF_COMPILER} --version 2>/dev/null | sed 's,^[^0-9]*,,g'`
106311
     case "$COMPILER_VERSION" in
106311
-    *2.95.*)
106311
+    2.95.*)
106311
 	COMPILER_VERSION="2.95.*"
106311
 	;;
106311
-    *3.*)
106311
+    3.*)
106311
 	COMPILER_VERSION="3.*"
106311
 	;;
106311
-    *4.*)
106311
-	COMPILER_VERSION="4"
106311
+    4.*)
106311
+	COMPILER_VERSION="4.*"
106311
 	;;
106311
     *)
106311
 	;;