Commit b00133a9 authored by Manuel Frischknecht's avatar Manuel Frischknecht
Browse files

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]: https://github.com/darbyjohnston/DJV/pull/477/commits/be0dd90c256f30c0305ff7b180fd932a311e66e5
parent 781a342a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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";