diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/x264-1-fix-bin-bash.patch | 11 | ||||
-rw-r--r-- | src/x264.mk | 2 |
2 files changed, 2 insertions, 11 deletions
diff --git a/src/x264-1-fix-bin-bash.patch b/src/x264-1-fix-bin-bash.patch index 31fe317..daa7375 100644 --- a/src/x264-1-fix-bin-bash.patch +++ b/src/x264-1-fix-bin-bash.patch @@ -1,21 +1,12 @@ This file is part of MXE. See index.html for further information. -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 -+#!/usr/bin/env bash - - if test x"$1" = x"-h" -o x"$1" = x"--help" ; then - cat <<EOF 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 +#!/usr/bin/env bash + [ -n "$1" ] && cd $1 git rev-list HEAD | sort > config.git-hash LOCALVER=`wc -l config.git-hash | awk '{print $1}'` - if [ $LOCALVER \> 1 ] ; then diff --git a/src/x264.mk b/src/x264.mk index ec51241..61352bd 100644 --- a/src/x264.mk +++ b/src/x264.mk @@ -3,7 +3,7 @@ PKG := x264 $(PKG)_IGNORE := -$(PKG)_CHECKSUM := a6c4a6786a2347b5b1d50dc0ddfd378bf1890481 +$(PKG)_CHECKSUM := f076166e7927562837383bbfb91430b2c7a3caf2 $(PKG)_SUBDIR := $(PKG)-snapshot-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-snapshot-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://download.videolan.org/pub/videolan/$(PKG)/snapshots/$($(PKG)_FILE) |