Fix building gwenview against exiv2-0.28

The fix is taken from a patch by gentoo, but can be implemented
as a sed.
This commit is contained in:
Pierre Labastie 2023-05-31 19:55:20 +02:00
parent 67f16c16bc
commit 0d9be3919f

View File

@ -103,13 +103,13 @@
<sect2 role="installation">
<title>Installation of Gwenview</title>
<!--
<para>
First, fix a minor issue with Exiv2-&exiv2-version;:
First, fix a build failure with Exiv2-0.28 and above:
</para>
<screen><userinput>sed -i '/iptc.hpp/a#include &lt;exiv2/error.hpp&gt;' lib/imagemetainfomodel.cpp</userinput></screen>
-->
<screen><userinput>sed -i s/toLong/toUint32/g lib/jpegcontent.cpp</userinput></screen>
<para>
Install <application>Gwenview</application> by running the following
commands: