mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
package/eudev: remove patches
Both were committed upstream:2cb6b734de
906654a0ab
Reported-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
0953377a9e
commit
e5b338d39c
@ -1,34 +0,0 @@
|
|||||||
From cad87bd3d8aa9046af0872e8c22f4a3c8fafdc78 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
||||||
Date: Tue, 4 Dec 2018 22:38:37 +0100
|
|
||||||
Subject: [PATCH] missing.h: add KEY_ALS_TOGGLE
|
|
||||||
|
|
||||||
KEY_ALS_TOGGLE has been added in kernel 4.8 with
|
|
||||||
https://github.com/torvalds/linux/commit/9ee27487127461b5cf71670b708ed5b2b8da568c
|
|
||||||
|
|
||||||
So add it to missing.h to fix build with kernel older than 4.8
|
|
||||||
|
|
||||||
Fixes:
|
|
||||||
- http://autobuild.buildroot.org/results/0c0aff02df91cdb869efa01e397f7ccc0d9f69af
|
|
||||||
|
|
||||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
||||||
[Upstream: https://github.com/gentoo/eudev/commit/2cb6b734de901dda6e631de5dffbd4cb8e165cbb]
|
|
||||||
---
|
|
||||||
src/shared/missing.h | 4 ++++
|
|
||||||
1 file changed, 4 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/shared/missing.h b/src/shared/missing.h
|
|
||||||
index bebbb42be..b5b2e1194 100644
|
|
||||||
--- a/src/shared/missing.h
|
|
||||||
+++ b/src/shared/missing.h
|
|
||||||
@@ -179,3 +179,7 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
|
|
||||||
#ifndef INPUT_PROP_MAX
|
|
||||||
#define INPUT_PROP_MAX 0x1f
|
|
||||||
#endif
|
|
||||||
+
|
|
||||||
+#ifndef KEY_ALS_TOGGLE
|
|
||||||
+#define KEY_ALS_TOGGLE 0x7a
|
|
||||||
+#endif
|
|
||||||
--
|
|
||||||
2.14.1
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
From 981b8b997e119a117fada2731eeeb0475c511c8a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
|
||||||
Date: Tue, 11 Dec 2018 07:56:20 +0100
|
|
||||||
Subject: [PATCH] missing.h: add BTN_DPAD_UP
|
|
||||||
|
|
||||||
As explained in issue 6267 of systemd [1], Linux < 3.11 does not
|
|
||||||
provide definitions for BTN_DPAD_{UP,RIGHT}, which were introduced in
|
|
||||||
[2].
|
|
||||||
|
|
||||||
This patch fixes this issue.
|
|
||||||
|
|
||||||
[1] https://github.com/systemd/systemd/pull/6267
|
|
||||||
[2] https://github.com/torvalds/linux/commit/9ee27487127461b5cf71670b708ed5b2b8da568c
|
|
||||||
|
|
||||||
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
|
||||||
---
|
|
||||||
src/shared/missing.h | 5 +++++
|
|
||||||
1 file changed, 5 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/shared/missing.h b/src/shared/missing.h
|
|
||||||
index b5b2e1194..3a83c91a6 100644
|
|
||||||
--- a/src/shared/missing.h
|
|
||||||
+++ b/src/shared/missing.h
|
|
||||||
@@ -183,3 +183,8 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
|
|
||||||
#ifndef KEY_ALS_TOGGLE
|
|
||||||
#define KEY_ALS_TOGGLE 0x7a
|
|
||||||
#endif
|
|
||||||
+
|
|
||||||
+#ifndef BTN_DPAD_UP
|
|
||||||
+#define BTN_DPAD_UP 0x220
|
|
||||||
+#define BTN_DPAD_RIGHT 0x223
|
|
||||||
+#endif
|
|
||||||
--
|
|
||||||
2.17.2
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user