From d67ca7051d505130fe9502125cc54c30a2e77d1b Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Sat, 2 Feb 2013 16:10:44 -0800 Subject: Fix x264 compilation on FreeBSD --- src/x264-1-fix-bin-bash.patch | 9 +++++++++ 1 file changed, 9 insertions(+) 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 <