t; > > > Sent: Wednesday, April 24, 2019 9:23 PM
> > > > To: FFmpeg development discussions and patches
> >
> > > > Cc: Guo, Yejun
> > > > Subject: Re: [FFmpeg-devel] [PATCH V5 2/2] configure: replace 'pr' with
> > printf
> > > > si
es
>
> > > Cc: Guo, Yejun
> > > Subject: Re: [FFmpeg-devel] [PATCH V5 2/2] configure: replace 'pr' with
> printf
> > > since busybox does not support pr
> > >
> > > > log_file(){
> > > > - log BEGIN $1
> > > >
Hi all!
On 2019-04-28 00:38 +, Guo, Yejun wrote:
> > From: avih [mailto:avih...@yahoo.com]
> > Sent: Wednesday, April 24, 2019 9:23 PM
> > To: FFmpeg development discussions and patches
> > Cc: Guo, Yejun
> > Subject: Re: [FFmpeg-devel] [PATCH
> From: avih [mailto:avih...@yahoo.com]
> Sent: Wednesday, April 24, 2019 9:23 PM
> To: FFmpeg development discussions and patches
> Cc: Guo, Yejun
> Subject: Re: [FFmpeg-devel] [PATCH V5 2/2] configure: replace 'pr' with printf
> since busybox does not support p
> log_file(){
> - log BEGIN $1
> - pr -n -t $1 >> $logfile
> - log END $1
> + log BEGIN "$1"
> + log_file_i=1
> + while IFS= read -r log_file_line;do
> + printf '%5s %s\n' "${log_file_i}" "${log_file_line}"
> + log_file_i=$(($log_file_i+1))
> + done < "$1" >>
This patch is based on https://trac.ffmpeg.org/ticket/5680 provided by
Kylie McClain at Wed, 29 Jun 2016 16:37:20 -0400,
and have some changes.
contributor: Kylie McClain
contributor: avih
Signed-off-by: Guo, Yejun
---
configure | 10 +++---
1 file changed, 7 insertions(+), 3