chromium-83-gcc-10.patch 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. From e473f41284ccc8fa4bc4622d087194b18a1ec23a Mon Sep 17 00:00:00 2001
  2. From: Stephan Hartmann <stha09@googlemail.com>
  3. Date: Tue, 7 Apr 2020 16:37:10 +0000
  4. Subject: [PATCH] GCC: fix includes for gcc-10
  5. ---
  6. chrome/browser/search/background/ntp_backgrounds.h | 1 +
  7. third_party/webrtc/call/rtx_receive_stream.h | 1 +
  8. .../webrtc/modules/audio_processing/aec3/clockdrift_detector.h | 1 +
  9. ui/gfx/linux/drm_util_linux.h | 2 ++
  10. 5 files changed, 6 insertions(+)
  11. diff --git a/chrome/browser/search/background/ntp_backgrounds.h b/chrome/browser/search/background/ntp_backgrounds.h
  12. index 7afc0a2..ea5818e 100644
  13. --- a/chrome/browser/search/background/ntp_backgrounds.h
  14. +++ b/chrome/browser/search/background/ntp_backgrounds.h
  15. @@ -6,6 +6,7 @@
  16. #define CHROME_BROWSER_SEARCH_BACKGROUND_NTP_BACKGROUNDS_H_
  17. #include <array>
  18. +#include <cstddef>
  19. class GURL;
  20. diff --git a/third_party/webrtc/call/rtx_receive_stream.h b/third_party/webrtc/call/rtx_receive_stream.h
  21. index 8ffa440..113a816 100644
  22. --- a/third_party/webrtc/call/rtx_receive_stream.h
  23. +++ b/third_party/webrtc/call/rtx_receive_stream.h
  24. @@ -12,6 +12,7 @@
  25. #define CALL_RTX_RECEIVE_STREAM_H_
  26. #include <map>
  27. +#include <cstdint>
  28. #include "call/rtp_packet_sink_interface.h"
  29. diff --git a/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h b/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
  30. index 22528c9..69e624e 100644
  31. --- a/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
  32. +++ b/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
  33. @@ -12,6 +12,7 @@
  34. #define MODULES_AUDIO_PROCESSING_AEC3_CLOCKDRIFT_DETECTOR_H_
  35. #include <array>
  36. +#include <cstddef>
  37. namespace webrtc {
  38. diff --git a/ui/gfx/linux/drm_util_linux.h b/ui/gfx/linux/drm_util_linux.h
  39. index 86ff2eb..990f12c 100644
  40. --- a/ui/gfx/linux/drm_util_linux.h
  41. +++ b/ui/gfx/linux/drm_util_linux.h
  42. @@ -7,6 +7,8 @@
  43. #include "ui/gfx/buffer_types.h"
  44. +#include <cstdint>
  45. +
  46. namespace ui {
  47. int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format);
  48. --
  49. 2.24.1