summaryrefslogtreecommitdiff
path: root/packages/scummvm/files/tail-obselete-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/scummvm/files/tail-obselete-fix.patch')
-rw-r--r--packages/scummvm/files/tail-obselete-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/scummvm/files/tail-obselete-fix.patch b/packages/scummvm/files/tail-obselete-fix.patch
new file mode 100644
index 0000000000..1737133e25
--- /dev/null
+++ b/packages/scummvm/files/tail-obselete-fix.patch
@@ -0,0 +1,11 @@
+--- scummvm-0.6.1b/configure_orig 2006-07-01 16:42:17.000000000 +0000
++++ scummvm-0.6.1b/configure 2006-07-01 16:43:12.000000000 +0000
+@@ -355,7 +355,7 @@
+
+ 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"