0001-include-missing-cstdint-to-support-gcc-13.patch 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. From 7b5c284e63c1d6327db7551a0646cffcbaf9410f Mon Sep 17 00:00:00 2001
  2. From: Rudi Heitbaum <rudi@heitbaum.com>
  3. Date: Wed, 26 Apr 2023 15:47:17 +0000
  4. Subject: [PATCH] include missing <cstdint> to support gcc-13
  5. gcc 13 moved some includes around and as a result <cstdint> is no longer transitively
  6. included [1]. Explicitly include it for uint{32,64}_t.
  7. [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
  8. Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
  9. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  10. Upstream: https://github.com/xbmc/inputstream.adaptive/commit/7b5c284e63c1d6327db7551a0646cffcbaf9410f
  11. [Bernd: backported from Omega branch]
  12. ---
  13. src/Iaes_decrypter.h | 3 ++-
  14. src/SSD_dll.h | 1 +
  15. src/utils/FileUtils.h | 1 +
  16. src/utils/PropertiesUtils.h | 1 +
  17. src/utils/StringUtils.h | 1 +
  18. src/utils/Utils.h | 1 +
  19. src/utils/XMLUtils.h | 1 +
  20. 7 files changed, 8 insertions(+), 1 deletion(-)
  21. diff --git a/src/Iaes_decrypter.h b/src/Iaes_decrypter.h
  22. index 7fdf6046d..da992be95 100644
  23. --- a/src/Iaes_decrypter.h
  24. +++ b/src/Iaes_decrypter.h
  25. @@ -10,6 +10,7 @@
  26. #include <bento4/Ap4Types.h>
  27. +#include <cstdint>
  28. #include <string>
  29. class IAESDecrypter
  30. @@ -31,4 +32,4 @@ class IAESDecrypter
  31. private:
  32. std::string m_licenseKey;
  33. -};
  34. \ No newline at end of file
  35. +};
  36. diff --git a/src/SSD_dll.h b/src/SSD_dll.h
  37. index 4b2b70c1a..d23fcbe45 100644
  38. --- a/src/SSD_dll.h
  39. +++ b/src/SSD_dll.h
  40. @@ -8,6 +8,7 @@
  41. #pragma once
  42. +#include <cstdint>
  43. #include <stdarg.h> // va_list, va_start, va_arg, va_end
  44. #include <string_view>
  45. diff --git a/src/utils/FileUtils.h b/src/utils/FileUtils.h
  46. index 40745b0d4..0924d8ff7 100644
  47. --- a/src/utils/FileUtils.h
  48. +++ b/src/utils/FileUtils.h
  49. @@ -8,6 +8,7 @@
  50. #pragma once
  51. +#include <cstdint>
  52. #include <string>
  53. #include <string_view>
  54. diff --git a/src/utils/PropertiesUtils.h b/src/utils/PropertiesUtils.h
  55. index dee3e0a16..a658b835c 100644
  56. --- a/src/utils/PropertiesUtils.h
  57. +++ b/src/utils/PropertiesUtils.h
  58. @@ -8,6 +8,7 @@
  59. #pragma once
  60. +#include <cstdint>
  61. #include <map>
  62. #include <string>
  63. #include <utility>
  64. diff --git a/src/utils/StringUtils.h b/src/utils/StringUtils.h
  65. index 3f841a274..f209546fa 100644
  66. --- a/src/utils/StringUtils.h
  67. +++ b/src/utils/StringUtils.h
  68. @@ -8,6 +8,7 @@
  69. #pragma once
  70. +#include <cstdint>
  71. #include <string>
  72. #include <string_view>
  73. #include <vector>
  74. diff --git a/src/utils/Utils.h b/src/utils/Utils.h
  75. index 4966ece63..472a328c4 100644
  76. --- a/src/utils/Utils.h
  77. +++ b/src/utils/Utils.h
  78. @@ -8,6 +8,7 @@
  79. #pragma once
  80. +#include <cstdint>
  81. #include <map>
  82. #include <string>
  83. #include <string_view>