wok-6.x diff ffmpeg/stuff/build.patch @ rev 13777
slitaz-tools: fix 5.2 Makefile
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 03 15:23:18 2013 +0100 (2013-01-03) |
parents | c5f7c8ee2f96 |
children |
line diff
1.1 --- a/ffmpeg/stuff/build.patch Tue Apr 21 21:25:07 2009 +0000 1.2 +++ b/ffmpeg/stuff/build.patch Thu Jan 03 15:23:18 2013 +0100 1.3 @@ -1,17 +1,17 @@ 1.4 ---- configure Tue Apr 21 20:37:50 2009 1.5 -+++ configure Tue Apr 21 20:53:07 2009 1.6 +--- configure.orig Wed Apr 22 17:24:34 2009 1.7 ++++ configure Tue Apr 21 21:21:01 2009 1.8 @@ -1371,33 +1371,13 @@ 1.9 : ${TMPDIR:=$TMP} 1.10 : ${TMPDIR:=/tmp} 1.11 1.12 -if ! check_cmd type mktemp; then 1.13 -- # simple replacement for missing mktemp 1.14 +- # simple replacement for missing mktemp 1.15 - # NOT SAFE FOR GENERAL USE 1.16 - mktemp(){ 1.17 - echo "${2%XXX*}.${HOSTNAME}.${UID}.$$" 1.18 - } 1.19 -fi 1.20 - 1.21 +- 1.22 -tmpfile(){ 1.23 - tmp=$(mktemp -u "${TMPDIR}/ffconf.XXXXXXXX")$2 && 1.24 - (set -C; exec > $tmp) 2>/dev/null || 1.25 @@ -19,7 +19,7 @@ 1.26 - append TMPFILES $tmp 1.27 - eval $1=$tmp 1.28 -} 1.29 -- 1.30 + 1.31 -trap 'rm -f -- $TMPFILES' EXIT 1.32 -trap exit HUP INT TERM 1.33 -