[Cin] one more termux patch!

mnieuw at zap.a2000.nl mnieuw at zap.a2000.nl
Sat Nov 27 15:21:15 CET 2021


Andrea,
I patch while in the cinelerra5.1 directory using the -p parameter.
That strips the specified number of forward slashes plus all that
precedes it before applying the patch.
For instance, Andrew's recent 0001.. patch has in it:
+++ b/cinelerra-5.1/thirdparty/Makefile
Using -p2 that is shortened to
+++ thirdparty/Makefile 
which is exactly right when you are in the cinelerra5.1 directory.

So I patch like
patch -p2
<~/Downloads/0001-Add-libavc1394-termux-patch-mod-thirdparty-Makefile-.patch 

MatN


On Fri, 26 Nov 2021 18:32:24 +0100
Andrea paz via Cin <cin at lists.cinelerra-gg.org> wrote:

> > in thirdparty or in thirdparty/src?  
> In /thirdparty only
> 
> > how exactly you patch? git am or simple  patch?  
> I use the classic patch < ... from the directory where the patch
> should be applied. (/thirdparty in this case)



More information about the Cin mailing list