e9c78dc4712fa6362b0c839ad57b6b46dce1ba83.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From e9c78dc4712fa6362b0c839ad57b6b46dce1ba83 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= <francois@centricular.com>
  3. Date: Mon, 14 Apr 2025 16:48:19 +0200
  4. Subject: [PATCH] Fix compilation with gcc-15
  5. This commit fixes compilation errors with gcc-15 (default for Fedora 42).
  6. From [1]:
  7. > Common C++ headers (like <memory>) in GCC 15.0.0 (combined with libstdc++)
  8. > don't transitively include uint64_t anymore.
  9. See also [2].
  10. [1]: https://github.com/ROCm/rocm_smi_lib/pull/198
  11. [2]: https://github.com/root-project/root/issues/17444
  12. Upstream-Status: Backport [https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/e9c78dc4712fa6362b0c839ad57b6b46dce1ba83.patch]
  13. ---
  14. .../audio_processing/aec3/multi_channel_content_detector.h | 1 +
  15. webrtc/rtc_base/trace_event.h | 1 +
  16. 2 files changed, 2 insertions(+)
  17. diff --git a/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h b/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h
  18. index 2b2f3b8..feb29fd 100644
  19. --- a/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h
  20. +++ b/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h
  21. @@ -12,6 +12,7 @@
  22. #define MODULES_AUDIO_PROCESSING_AEC3_MULTI_CHANNEL_CONTENT_DETECTOR_H_
  23. #include <stddef.h>
  24. +#include <cstdint>
  25. #include <memory>
  26. #include <optional>
  27. diff --git a/webrtc/rtc_base/trace_event.h b/webrtc/rtc_base/trace_event.h
  28. index 2aee713..f88a68e 100644
  29. --- a/webrtc/rtc_base/trace_event.h
  30. +++ b/webrtc/rtc_base/trace_event.h
  31. @@ -28,6 +28,7 @@
  32. #if !defined(RTC_USE_PERFETTO)
  33. #include <string>
  34. +#include <cstdint>
  35. #include "rtc_base/event_tracer.h"
  36. --
  37. GitLab