LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   acpi_listen not included (https://www.linuxquestions.org/questions/slackware-14/acpi_listen-not-included-565257/)

kite 06-28-2007 10:56 PM

acpi_listen not included
 
Does anyone know why command acpi_listen is not included in official slackware acpid package?

erklaerbaer 06-29-2007 04:50 PM

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.

erklaerbaer 06-30-2007 06:25 PM

acpid 1.0.6 is out and you can build it yourself. if you depend on it. it won't be included in the upcoming release however ( lack of testing )

kite 07-01-2007 07:31 AM

Thanks for your valuable information.

But my previous question still remains not answered. My question was: Why "acpi_listen" is not included in official slackware acpid package? Is there a reason for not including this original command from acpid? You know I have to recompile acpid from source if I need this specific "acpi_listen" command to debug acpid.


All times are GMT -5. The time now is 11:53 AM.