eudev: add new package

eudev is a fork of systemd-udev which doesn't require all the
rest of systemd. It's suitable for running along with OpenWrt's procd,
eplacing the very outdated version of pre-systemd udev.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2016-02-07 10:59:37 +02:00
parent a91a6f5b5a
commit 13d7efa13f
4 changed files with 235 additions and 0 deletions
@@ -0,0 +1,15 @@
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,0 +1,12 @@
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"