more old/missing header workarounds, rename patch

epel8
Tom spot Callaway 4 years ago
parent 5eed664137
commit 9d6a13ab15

@ -111,3 +111,17 @@ diff -up chromium-90.0.4430.93/sandbox/linux/seccomp-bpf-helpers/syscall_paramet
#if defined(__arm__) && !defined(MAP_STACK) #if defined(__arm__) && !defined(MAP_STACK)
#define MAP_STACK 0x20000 // Daisy build environment has old headers. #define MAP_STACK 0x20000 // Daisy build environment has old headers.
#endif #endif
diff -up chromium-90.0.4430.93/ui/events/ozone/evdev/event_converter_evdev_impl.cc.epel7-kcmp chromium-90.0.4430.93/ui/events/ozone/evdev/event_converter_evdev_impl.cc
--- chromium-90.0.4430.93/ui/events/ozone/evdev/event_converter_evdev_impl.cc.epel7-kcmp 2021-04-28 09:55:12.941124592 -0400
+++ chromium-90.0.4430.93/ui/events/ozone/evdev/event_converter_evdev_impl.cc 2021-04-28 09:55:42.071601437 -0400
@@ -16,6 +16,10 @@
#include "ui/events/keycodes/dom/keycode_converter.h"
#include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h"
+#ifndef SW_PEN_INSERTED
+#define SW_PEN_INSERTED 0x0f /* set = pen inserted */
+#endif
+
namespace ui {
namespace {

@ -314,8 +314,8 @@ Patch80: https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/fil
Patch101: chromium-75.0.3770.100-epel7-stdc++.patch Patch101: chromium-75.0.3770.100-epel7-stdc++.patch
# el7 only patch # el7 only patch
Patch102: chromium-80.0.3987.132-el7-noexcept.patch Patch102: chromium-80.0.3987.132-el7-noexcept.patch
# No linux/kcmp.h on EPEL7 # Work around old and missing headers on EPEL7
Patch103: chromium-90.0.4430.85-epel7-no-kcmp-h.patch Patch103: chromium-90.0.4430.93-epel7-old-headers-workarounds.patch
# Use old cups (chromium's code workaround breaks on gcc) # Use old cups (chromium's code workaround breaks on gcc)
# Revert: https://github.com/chromium/chromium/commit/c3213f8779ddc427e89d982514185ed5e4c94e91 # Revert: https://github.com/chromium/chromium/commit/c3213f8779ddc427e89d982514185ed5e4c94e91
Patch104: chromium-84.0.4147.89-epel7-old-cups.patch Patch104: chromium-84.0.4147.89-epel7-old-cups.patch
@ -944,7 +944,7 @@ udev.
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
# %%patch101 -p1 -b .epel7 # %%patch101 -p1 -b .epel7
# %%patch102 -p1 -b .el7-noexcept # %%patch102 -p1 -b .el7-noexcept
%patch103 -p1 -b .epel7-kcmp %patch103 -p1 -b .epel7-header-workarounds
%patch104 -p1 -b .el7cups %patch104 -p1 -b .el7cups
%patch108 -p1 -b .el7-old-libdrm %patch108 -p1 -b .el7-old-libdrm
%endif %endif

Loading…
Cancel
Save