summaryrefslogtreecommitdiffstats
path: root/src/x264-1-fix-bin-bash.patch
diff options
context:
space:
mode:
authorAlexander Kojevnikov <alexander@kojevnikov.com>2013-02-03 00:10:44 (GMT)
committerAlexander Kojevnikov <alexander@kojevnikov.com>2013-02-03 00:18:05 (GMT)
commitd67ca7051d505130fe9502125cc54c30a2e77d1b (patch)
treee317a4d6efb3d5c03a657b2670007a550dbcd271 /src/x264-1-fix-bin-bash.patch
parentb22d755446097ad89fc0d5855165e5d432b59e2c (diff)
downloadmxe-d67ca7051d505130fe9502125cc54c30a2e77d1b.zip
mxe-d67ca7051d505130fe9502125cc54c30a2e77d1b.tar.gz
mxe-d67ca7051d505130fe9502125cc54c30a2e77d1b.tar.bz2
Fix x264 compilation on FreeBSD
Diffstat (limited to 'src/x264-1-fix-bin-bash.patch')
-rw-r--r--src/x264-1-fix-bin-bash.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/x264-1-fix-bin-bash.patch b/src/x264-1-fix-bin-bash.patch
index daa7375..ced835f 100644
--- a/src/x264-1-fix-bin-bash.patch
+++ b/src/x264-1-fix-bin-bash.patch
@@ -10,3 +10,12 @@ diff -urN x264-snapshot-20100714-2245/version.sh x264-snapshot-20100714-2245.new
[ -n "$1" ] && cd $1
git rev-list HEAD | sort > config.git-hash
LOCALVER=`wc -l config.git-hash | awk '{print $1}'`
+diff -urN x264-snapshot-20100714-2245/configure x264-snapshot-20100714-2245.new/configure
+--- x264-snapshot-20100714-2245/configure 2010-07-15 06:45:07.000000000 +1000
++++ x264-snapshot-20100714-2245.new/configure 2010-10-03 23:58:24.000000000 +1100
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+
+ if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
+ cat <<EOF