summaryrefslogtreecommitdiff
path: root/package/acpid/acpid-socket-path.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 08:42:37 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 08:42:37 +0000
commit8bdb7bd3aadff4b68ad59bb482411ad88a72af64 (patch)
tree7392dea4c8ba09d90487e93df083d76b238ad8fd /package/acpid/acpid-socket-path.patch
parentc33db03a191aa2d211d12a9fa0f8239de50efb68 (diff)
- acpid is compiled with -Werror, and gcc 4.1.1 warns about mismatching
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
Diffstat (limited to 'package/acpid/acpid-socket-path.patch')
-rw-r--r--package/acpid/acpid-socket-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/acpid/acpid-socket-path.patch b/package/acpid/acpid-socket-path.patch
new file mode 100644
index 000000000..9304e7a52
--- /dev/null
+++ b/package/acpid/acpid-socket-path.patch
@@ -0,0 +1,11 @@
+--- 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
+