mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-20 10:43:33 +08:00
8bdb7bd3aa
pointers. Fix it by using socklen_t type. - Modify acpid.mk to apply all available patches. Convert ACPI_SOCKETFILE adjustment from sed script to a patch. Thanks to Pavel Roskin
12 lines
350 B
Diff
12 lines
350 B
Diff
--- acpid-1.0.4/acpid.h
|
|
+++ acpid-1.0.4/acpid.h
|
|
@@ -32,7 +32,7 @@
|
|
#define ACPI_EVENTFILE ACPI_PROCDIR "/event"
|
|
#define ACPI_CONFDIR "/etc/acpi/events"
|
|
#define ACPI_LOGFILE "/var/log/acpid"
|
|
-#define ACPI_SOCKETFILE "/var/run/acpid.socket"
|
|
+#define ACPI_SOCKETFILE "/tmp/acpid.socket"
|
|
#define ACPI_SOCKETMODE 0666
|
|
#define ACPI_MAX_ERRS 5
|
|
|