djv: fix build issue due to missing cstdint include

GCC 13 stopped transitively including a couple of headers (including
`cstdint`) in various scenarios, which breaks the build of the current
release version of `djv`. A fix for this issue has already been merged
in master as part of a PR from which Nixpkgs already pulls patches
from [1]. As this is the case, I just added the missing commit to
the list of patches in order to get the package building again.

[1]: be0dd90c25
This commit is contained in:
Manuel Frischknecht 2024-01-27 23:09:35 +00:00
parent 781a342ab5
commit b00133a959

View File

@ -111,6 +111,11 @@ stdenv.mkDerivation rec {
patches = [
# Pull fix ending upstream inclusion for gcc-12+ support:
# https://github.com/darbyjohnston/DJV/pull/477
(fetchpatch {
name = "gcc-13-cstdint-include.patch";
url = "https://github.com/darbyjohnston/DJV/commit/be0dd90c256f30c0305ff7b180fd932a311e66e5.patch";
hash = "sha256-x8GAfakhgjBiCKHbfgCukT5iFNad+zqURDJkQr092uk=";
})
(fetchpatch {
name = "gcc-11-limits.patch";
url = "https://github.com/darbyjohnston/DJV/commit/0544ffa1a263a6b8e8518b47277de7601b21b4f4.patch";