summaryrefslogtreecommitdiffstats
path: root/src/x264-2-fix-bin-bash.patch
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2010-10-03 13:05:05 (GMT)
committerTony Theodore <tonyt@logyst.com>2010-10-03 13:05:05 (GMT)
commit76e50929d39523308d70b8b18f92dfa058dd1351 (patch)
tree555351a91ac26016d1c55b6774de9af0e9c762ba /src/x264-2-fix-bin-bash.patch
parent78ae1f81128a383752e6f650f268100e5ddd96a8 (diff)
downloadmxe-76e50929d39523308d70b8b18f92dfa058dd1351.zip
mxe-76e50929d39523308d70b8b18f92dfa058dd1351.tar.gz
mxe-76e50929d39523308d70b8b18f92dfa058dd1351.tar.bz2
package x264: portability fix for /bin/bash
Diffstat (limited to 'src/x264-2-fix-bin-bash.patch')
-rw-r--r--src/x264-2-fix-bin-bash.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/x264-2-fix-bin-bash.patch b/src/x264-2-fix-bin-bash.patch
new file mode 100644
index 0000000..8f4286f
--- /dev/null
+++ b/src/x264-2-fix-bin-bash.patch
@@ -0,0 +1,18 @@
+diff -urN x264-snapshot-20100714-2245/configure x264-snapshot-20100714-2245.new/configure
+--- x264-snapshot-20100714-2245/configure 2010-07-15 06:45:06.000000000 +1000
++++ x264-snapshot-20100714-2245.new/configure 2010-10-03 23:58:24.000000000 +1100
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+
+ if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
+
+diff -urN x264-snapshot-20100714-2245/version.sh x264-snapshot-20100714-2245.new/version.sh
+--- x264-snapshot-20100714-2245/version.sh 2010-07-15 06:45:07.000000000 +1000
++++ x264-snapshot-20100714-2245.new/version.sh 2010-10-03 23:58:24.000000000 +1100
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ git rev-list HEAD | sort > config.git-hash
+ LOCALVER=`wc -l config.git-hash | awk '{print $1}'`
+ if [ $LOCALVER \> 1 ] ; then