Skip to contentSkip to conversation

chromium-ozone-wayland: fix building against linux 5.2+ headers

PATCH New Denys Dmytriyenko 1 participant 2 messages Mar 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 chromium-ozone-wayland: fix building against linux 5.2+ headers

From: 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
meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland/chromium-75.0.3770.80-SIOCGSTAMP.patch new file +15 -0
new file mode 100644
index 0000000..0ef1e7f
@@ -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>
meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend +2 -0
index 4c21576..5548b2c 100644
@@ -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"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 ti-world: re-enable chromium-ozon-wayland

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/recipes-core/packagegroups/ti-world.bb | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
meta-arago-distro/recipes-core/packagegroups/ti-world.bb +6 -6
index 9244d49..e46a1b4 100644
@@ -8,12 +8,12 @@ inherit packagegroup
 INSANE_SKIP_${PN} += "dev-deps"
 
 CHROMIUM = ""
-#CHROMIUM_append_omap-a15 = "\
-#    chromium-ozone-wayland \
-#"
-#CHROMIUM_append_k3 = "\
-#    chromium-ozone-wayland \
-#"
+CHROMIUM_append_omap-a15 = "\
+    chromium-ozone-wayland \
+"
+CHROMIUM_append_k3 = "\
+    chromium-ozone-wayland \
+"
 
 EXTRABROWSERS = " \
     qtwebbrowser-examples \
Signature · 1 line
2.7.4