acpid: remove unused legacy patches
As discussed on the list.
This commit is contained in:
parent
4d097fe8f9
commit
132b010efc
@ -1,11 +0,0 @@
|
||||
--- acpid-1.0.4/ud_socket.c
|
||||
+++ acpid-1.0.4/ud_socket.c
|
||||
@@ -58,7 +58,7 @@ ud_accept(int listenfd, struct ucred *cr
|
||||
while (1) {
|
||||
int newsock = 0;
|
||||
struct sockaddr_un cliaddr;
|
||||
- int len = sizeof(struct sockaddr_un);
|
||||
+ socklen_t len = sizeof(struct sockaddr_un);
|
||||
|
||||
newsock = accept(listenfd, (struct sockaddr *)&cliaddr, &len);
|
||||
if (newsock < 0) {
|
@ -1,11 +0,0 @@
|
||||
--- 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
|
||||
|
Loading…
Reference in New Issue
Block a user