From: saq Date: Sun, 12 Aug 2001 19:07:00 +0000 (+0000) Subject: - use /tmp/.lircd as lircd socket path X-Git-Tag: zapping-0_5_92-1~2 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=0959b6ee15cf7fa4ecc990661b7ed89f25cc1dce;p=packages%2Fzapping.git - use /tmp/.lircd as lircd socket path Changed files: zapping-lirc-path.patch -> 1.1 --- diff --git a/zapping-lirc-path.patch b/zapping-lirc-path.patch new file mode 100644 index 0000000..f04abfe --- /dev/null +++ b/zapping-lirc-path.patch @@ -0,0 +1,24 @@ +diff -Nur plugins.orig/lirc/README plugins/lirc/README +--- plugins.orig/lirc/README Fri Mar 2 10:59:17 2001 ++++ plugins/lirc/README Sat Aug 11 00:33:45 2001 +@@ -2,7 +2,7 @@ + ---------------------------------------------- + + In order to use the LIRC plugin the LIRC daemon must be running and the +-user must have read/write-access to /dev/lircd. ++user must have read/write-access to /tmp/.lircd. + + The buttons you can specify are listed in your lircd.conf file. The button + names are case sensitive. +diff -Nur plugins.orig/lirc/lirc.c plugins/lirc/lirc.c +--- plugins.orig/lirc/lirc.c Fri Mar 9 22:33:40 2001 ++++ plugins/lirc/lirc.c Sat Aug 11 00:33:59 2001 +@@ -444,7 +444,7 @@ + int init_socket() + { + addr.sun_family=AF_UNIX; +- strcpy(addr.sun_path, "/dev/lircd"); ++ strcpy(addr.sun_path, "/tmp/.lircd"); + fd=socket(AF_UNIX, SOCK_STREAM, 0); + if(fd == -1) { + perror("socket");