commit:     c68de9614a876d68d27c3cddd6b1bdc4861380b0
Author:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 19:02:47 2023 +0000
Commit:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 19:03:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c68de961

www-client/chromium: update evdev patch

Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>

 .../files/chromium-114-remove-evdev-dep.patch        | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/www-client/chromium/files/chromium-114-remove-evdev-dep.patch 
b/www-client/chromium/files/chromium-114-remove-evdev-dep.patch
index 61d09d341adc..6c106c33e747 100644
--- a/www-client/chromium/files/chromium-114-remove-evdev-dep.patch
+++ b/www-client/chromium/files/chromium-114-remove-evdev-dep.patch
@@ -1,7 +1,14 @@
-This patch removes the dependency on libevdev from remoting/host.
+commit e3612e8dcb1a43bc358248845aa4f16f4a2792c7
+Author: Stephan Hartmann <[email protected]>
+Date:   Fri Jun 30 19:15:09 2023 +0200
 
-According to sultan it's not (currently(?)) used so we can avoid that 
dependency.
+    remoting: remove unused dependency on libevdev
 
+    There is only one include, but nothing of libevdev is used. Instead
+    linux/input.h (defines BTN_*).
+
+diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn
+index 9e8dfee8b7d9e..5f46876222fd5 100644
 --- a/remoting/host/BUILD.gn
 +++ b/remoting/host/BUILD.gn
 @@ -241,10 +241,6 @@ if (is_linux) {
@@ -15,7 +22,7 @@ According to sultan it's not (currently(?)) used so we can 
avoid that dependency
  }
  
  # This must be a static library instead of a source set because
-@@ -572,7 +572,6 @@ static_library("common") {
+@@ -576,7 +572,6 @@ static_library("common") {
        "x11_display_util.cc",
        "x11_display_util.h",
      ]
@@ -23,10 +30,15 @@ According to sultan it's not (currently(?)) used so we can 
avoid that dependency
      libs += [ "//third_party/libei/lib64/libei.a" ]
      public_deps += [
        "//third_party/wayland:wayland_client",
+diff --git a/remoting/host/linux/remote_desktop_portal_injector.cc 
b/remoting/host/linux/remote_desktop_portal_injector.cc
+index f6de2b406a97f..bb40aa00328d4 100644
 --- a/remoting/host/linux/remote_desktop_portal_injector.cc
 +++ b/remoting/host/linux/remote_desktop_portal_injector.cc
-@@ -9,7 +9,6 @@
+@@ -7,9 +7,9 @@
+ #include <gio/gio.h>
+ #include <gio/gunixfdlist.h>
  #include <glib-object.h>
++#include <linux/input.h>
  #include <poll.h>
  
 -#include <libevdev/libevdev-uinput.h>

Reply via email to