[Ffmpeg-devel] [PATCH] configure - simplify
Diego Biurrun
diego
Tue Feb 6 15:42:09 CET 2007
On Tue, Feb 06, 2007 at 07:35:52AM -0200, Ramiro Polla wrote:
> Diego Biurrun wrote:
> >On Tue, Feb 06, 2007 at 04:14:14AM -0200, ramiro at lisha.ufsc.br wrote:
> >
> >>else.diff changes occurences of "if;then <1 line> else <1 line> fi" to &&
> >>and ||
> >
> >cerebus:~/src/ffmpeg/ffmpeg$ patch --dry-run -p0 -i /tmp/else.diff
> >patching file configure
> >Hunk #1 FAILED at 1259.
> >Hunk #2 FAILED at 1297.
> >Hunk #3 FAILED at 1413.
> >Hunk #4 FAILED at 1423.
> >Hunk #5 FAILED at 1466.
> >Hunk #6 FAILED at 1528.
> >Hunk #7 FAILED at 1889.
> >Hunk #8 FAILED at 1910.
> >Hunk #9 FAILED at 1927.
> >Hunk #10 FAILED at 2039.
> >Hunk #11 FAILED at 2058.
> >11 out of 11 hunks FAILED -- saving rejects to file configure.rej
> >
> >What do you create your patches with? They're always full of DOS
> >linebreaks ...
> >
> The first patch I create with svn diff. For subsequent patches I did cp
> configure configure.1, edited configure and diff -u configure.1 configure
> This is in MinGW, so the reason for the DOS linebreaks.
Try adding '--strip-trailing-cr' to your diff options.
> Sorry, it's just that I don't know much how to use svn. It would be
> simpler if I could apply the patch locally, and svn diff subsequente
> patches. How can I do that?
You can't.
Diego
More information about the ffmpeg-devel
mailing list