Remove private/static markers from the pkg-config file The pkg-config file lists as as private the internal libraries used by exiv2. The problem is that those private markers require the availability of those other pkg-config files to make exiv2.pc usable; since those are needed only for static linking, and that there are no static libraries, simply delete them to make exiv2.pc usable again. . This was forwarded upstream in a cleaner way together with the changes in the CMake config files, and the changes affecting the pkg-config file were rejected: https://github.com/Exiv2/exiv2/pull/2872
Tweak AdditionOverflowInLoaderExifJpeg for 32bit unsigned char OSes AdditionOverflowInLoaderExifJpeg expects an overflow to happen on 32bit architectures; due to the way LoaderExifJpeg & StringValueBase work and the test data is fabricated, the overflow happens only architectures with signed char. . Tweak AdditionOverflowInLoaderExifJpeg to account for this, by not expecting an overflow in case the architecture has unsigned char (e.g. ARM and POWER). . For more discussion and notes, see: https://github.com/Exiv2/exiv2/issues/933