mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user