acpid: remove unused legacy patches
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 26 Jan 2009 15:28:05 +0000 (15:28 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 26 Jan 2009 15:28:05 +0000 (15:28 -0000)
As discussed on the list.

package/acpid/acpid-sign-warning.patch [deleted file]
package/acpid/acpid-socket-path.patch [deleted file]

diff --git a/package/acpid/acpid-sign-warning.patch b/package/acpid/acpid-sign-warning.patch
deleted file mode 100644 (file)
index ec66ace..0000000
+++ /dev/null
@@ -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) {
diff --git a/package/acpid/acpid-socket-path.patch b/package/acpid/acpid-socket-path.patch
deleted file mode 100644 (file)
index 9304e7a..0000000
+++ /dev/null
@@ -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