Browse Source

eudev: fixup patches

sorry for the mess, once again I forgot to git add ...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 9 years ago
parent
commit
97d0a68ef8
2 changed files with 0 additions and 27 deletions
  1. +0
    -15
      utils/eudev/patches/0003-add_btn_trigger_happy_define.patch
  2. +0
    -12
      utils/eudev/patches/0004-mtd_probe-uses-stdint_h.patch

+ 0
- 15
utils/eudev/patches/0003-add_btn_trigger_happy_define.patch View File

@ -1,15 +0,0 @@
Index: eudev-3.1.5/src/udev/udev-builtin-input_id.c
===================================================================
--- eudev-3.1.5.orig/src/udev/udev-builtin-input_id.c
+++ eudev-3.1.5/src/udev/udev-builtin-input_id.c
@@ -33,6 +33,10 @@
#include "udev.h"
#include "util.h"
+#ifndef BTN_TRIGGER_HAPPY
+#define BTN_TRIGGER_HAPPY 0x2c0
+#endif
+
/* we must use this kernel-compatible implementation */
#define BITS_PER_LONG (sizeof(unsigned long) * 8)
#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)

+ 0
- 12
utils/eudev/patches/0004-mtd_probe-uses-stdint_h.patch View File

@ -1,12 +0,0 @@
Index: eudev-3.1.5/src/mtd_probe/mtd_probe.h
===================================================================
--- eudev-3.1.5.orig/src/mtd_probe/mtd_probe.h
+++ eudev-3.1.5/src/mtd_probe/mtd_probe.h
@@ -18,6 +18,7 @@
*/
#include <mtd/mtd-user.h>
+#include <stdint.h>
#include "macro.h"

Loading…
Cancel
Save