From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 .../chromium-75.0.3770.80-SIOCGSTAMP.patch                | 15 +++++++++++++++
 .../chromium/chromium-ozone-wayland_%.bbappend            |  2 ++
 2 files changed, 17 insertions(+)
 create mode 100644 
meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland/chromium-75.0.3770.80-SIOCGSTAMP.patch

diff --git 
a/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland/chromium-75.0.3770.80-SIOCGSTAMP.patch
 
b/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland/chromium-75.0.3770.80-SIOCGSTAMP.patch
new file mode 100644
index 0000000..0ef1e7f
--- /dev/null
+++ 
b/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland/chromium-75.0.3770.80-SIOCGSTAMP.patch
@@ -0,0 +1,15 @@
+diff -up 
chromium-75.0.3770.80/third_party/webrtc/rtc_base/physical_socket_server.h.SIOCGSTAMP
 chromium-75.0.3770.80/third_party/webrtc/rtc_base/physical_socket_server.h
+--- 
chromium-75.0.3770.80/third_party/webrtc/rtc_base/physical_socket_server.h.SIOCGSTAMP
      2019-06-06 10:04:57.050403639 -0400
++++ chromium-75.0.3770.80/third_party/webrtc/rtc_base/physical_socket_server.h 
2019-06-06 10:06:03.975121688 -0400
+@@ -16,6 +16,11 @@
+ #define WEBRTC_USE_EPOLL 1
+ #endif
+ 
++// for SIOCGSTAMP in Linux 5.2
++#if defined(WEBRTC_LINUX)
++#include <linux/sockios.h>
++#endif
++
+ #include <memory>
+ #include <set>
+ #include <vector>
diff --git 
a/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend 
b/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
index 4c21576..5548b2c 100644
--- 
a/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
+++ 
b/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
@@ -3,3 +3,5 @@ PR_append = ".arago0"
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 DEPENDS_remove = "virtual/libgl"
+
+SRC_URI += "file://chromium-75.0.3770.80-SIOCGSTAMP.patch"
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to