Mercurial > mxe-octave
changeset 1268:f48040203388
package x264: portability fix for /bin/bash
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Mon, 04 Oct 2010 00:05:05 +1100 |
parents | 69c5ff35f8a5 |
children | a74be54ab8a3 190d15e709cf |
files | src/x264-2-fix-bin-bash.patch |
diffstat | 1 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/x264-2-fix-bin-bash.patch Mon Oct 04 00:05:05 2010 +1100 @@ -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