summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-engines/scummvm/files/0.7.1-configure.patch')
-rw-r--r--games-engines/scummvm/files/0.7.1-configure.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/games-engines/scummvm/files/0.7.1-configure.patch b/games-engines/scummvm/files/0.7.1-configure.patch
new file mode 100644
index 000000000000..e174994aa2ff
--- /dev/null
+++ b/games-engines/scummvm/files/0.7.1-configure.patch
@@ -0,0 +1,19 @@
+--- configure.orig 2005-03-28 18:50:50.000000000 -0500
++++ configure 2005-03-28 18:56:08.000000000 -0500
+@@ -462,14 +462,14 @@
+
+ echocheck "compiler version"
+
+-cxx_name=`( $cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1`
++cxx_name=`( $cc -v ) 2>&1 | tail -n 1 | cut -d ' ' -f 1`
+ cxx_version=`( $CXX -dumpversion ) 2>&1`
+ if test "$?" -gt 0; then
+ cxx_version="not found"
+ fi
+
+ case $cxx_version in
+- 2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|4.[0-9].[0-9])
++ 2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9].[0-9]-*|4.[0-9].[0-9]|4.[0-9].[0-9]-*)
+ _cxx_major=`echo $cxx_version | cut -d '.' -f 1`
+ _cxx_minor=`echo $cxx_version | cut -d '.' -f 2`
+ cxx_version="$cxx_version, ok"