acpid doesn't build correctly. this should do the trick.
Code:
--- ud_socket.c.old 2003-11-17 22:24:58.000000000 +0100
+++ ud_socket.c 2007-06-29 23:44:25.000000000 +0200
@@ -58,7 +58,7 @@
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) {
EDIT:
this is also patched by the other distros (the debian folks made a very thorough one)and also in the cvs. i asked the author to release a new version.