openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From https://github.com/AcademySoftwareFoundation/openexr/commit/c5763cfdf59ef4880dacdb11664782822a0976cd
  2. From: Cary Phillips <cary@ilm.com>
  3. Date: Sun, 31 Jul 2022 13:36:03 -0700
  4. Subject: [PATCH 1/4] Add missing #include <cstdint> required by gcc-13 (#1264)
  5. Originally submitted as #1262, thanks.
  6. Signed-off-by: Cary Phillips <cary@ilm.com>
  7. Adapted changes in exrcheck/main.cpp for 3.1.5 code base on Gentoo (different
  8. ordering of #included header files compared to current HEAD).
  9. --- a/src/bin/exrcheck/main.cpp
  10. +++ b/src/bin/exrcheck/main.cpp
  11. @@ -4,6 +4,7 @@
  12. #include <ImfCheckFile.h>
  13. #include <ImathConfig.h>
  14. +#include <cstdint>
  15. #include <iostream>
  16. #include <fstream>
  17. #include <string.h>
  18. --- a/src/lib/OpenEXR/ImfDeepTiledInputFile.h
  19. +++ b/src/lib/OpenEXR/ImfDeepTiledInputFile.h
  20. @@ -19,6 +19,7 @@
  21. #include "ImfTileDescription.h"
  22. +#include <cstdint>
  23. #include <ImathBox.h>
  24. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
  25. --- a/src/lib/OpenEXR/ImfDeepTiledInputPart.h
  26. +++ b/src/lib/OpenEXR/ImfDeepTiledInputPart.h
  27. @@ -10,6 +10,7 @@
  28. #include "ImfTileDescription.h"
  29. +#include <cstdint>
  30. #include <ImathBox.h>
  31. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
  32. --
  33. 2.37.3