From 8bdb7bd3aadff4b68ad59bb482411ad88a72af64 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 29 Nov 2006 08:42:37 +0000 Subject: - 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 --- package/acpid/acpid-socket-path.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/acpid/acpid-socket-path.patch (limited to 'package/acpid/acpid-socket-path.patch') 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 + -- cgit v1.2.3