<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 23 авг. 2022 г., 16:51 Andrea paz <<a href="mailto:gamberucci.andrea@gmail.com">gamberucci.andrea@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry, but I can't seem to apply git diff. I tried editing the<br>
Makefile manually (it's just the line "$(call inc_path,lcms2) \",<br>
right?) but then I can't apply the patch. I get stuck here:<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Well, try to apply patch first and edit Makefile afterwards?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
$ git am /home/paz/patch/*.patch<br>
Starting: add lcms2 2.13.1 for ffmpeg 5.1<br>
error: cinelerra-5.1/thirdparty/Makefile: non corrisponde all'indice<br>
Patch non riuscita a 0001 add lcms2 2.13.1 for ffmpeg 5.1<br>
suggerimento: Usa 'git am --show-current-patch=diff' per visualizzare<br>
la patch non riuscita<br>
Una volta risolto questo problema, esegui "git am --continue".<br>
Se preferisci saltare questa patch, esegui invece "git am --skip".<br>
Per ripristinare il branch originario e terminare il patching, esegui<br>
"git am --abort".<br>
<br>
[paz@arch-paz cinelerra-5.1]$ git am --show-current-patch=diff<br>
---<br>
cinelerra-5.1/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a> | 6 ++++++<br>
cinelerra-5.1/thirdparty/Makefile | 11 +++++++++--<br>
2 files changed, 15 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/cinelerra-5.1/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a> b/cinelerra-5.1/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
index ab06ace9..06c0531d 100644<br>
--- a/cinelerra-5.1/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
+++ b/cinelerra-5.1/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
@@ -494,6 +494,11 @@ PKG_3RD([libbthread],[auto],<br>
[ . ])<br>
fi<br>
<br>
+PKG_3RD([lcms2],[auto],<br>
+ [lcms2-2.13.1],<br>
+ [ src/.libs/liblcms2.a ],<br>
+ [ include ])<br>
+<br>
<br>
AC_SUBST(STATIC_PKGS)<br>
<br>
@@ -1042,6 +1047,7 @@ PKG_PROVIDE([sord], [$WANT_LV2])<br>
PKG_PROVIDE([suil], [$WANT_LV2])<br>
PKG_PROVIDE([ffnvcodec], [$WANT_NV])<br>
PKG_PROVIDE([libdpx])<br>
+PKG_PROVIDE([lcms2])<br>
:<br>
<br>
>> libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to <a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a>,<br>
>> libtoolize: and rerunning libtoolize and aclocal.<br>
> What will happen if you follow this suggestion?<br>
By making the recommended corrections the warning no longer appears,<br>
everything works fine with or without corrections.<br>
</blockquote></div></div></div>