aboutsummaryrefslogtreecommitdiffstats
path: root/packages/apmd/apmd-3.2.2/devfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/apmd/apmd-3.2.2/devfs.patch')
-rw-r--r--packages/apmd/apmd-3.2.2/devfs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/apmd/apmd-3.2.2/devfs.patch b/packages/apmd/apmd-3.2.2/devfs.patch
index e69de29bb2..b11e01929b 100644
--- a/packages/apmd/apmd-3.2.2/devfs.patch
+++ b/packages/apmd/apmd-3.2.2/devfs.patch
@@ -0,0 +1,11 @@
+--- apmd-3.2.0.orig/apm.h~devfs
++++ apmd-3.2.0.orig/apm.h
+@@ -24,7 +24,7 @@
+ #include <sys/types.h>
+
+ #define APM_PROC "/proc/apm"
+-#define APM_DEVICE "/dev/apm_bios"
++#define APM_DEVICE "/dev/misc/apm_bios"
+
+ #define APM_DEV "/proc/devices"
+ #define APM_NAME "apm_bios"