aboutsummaryrefslogtreecommitdiff
path: root/misc/kdeutils4/files/patch-kdelirc_irkick-klircclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kdeutils4/files/patch-kdelirc_irkick-klircclient.cpp')
-rw-r--r--misc/kdeutils4/files/patch-kdelirc_irkick-klircclient.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/kdeutils4/files/patch-kdelirc_irkick-klircclient.cpp b/misc/kdeutils4/files/patch-kdelirc_irkick-klircclient.cpp
new file mode 100644
index 000000000000..3d0e3cd8c08b
--- /dev/null
+++ b/misc/kdeutils4/files/patch-kdelirc_irkick-klircclient.cpp
@@ -0,0 +1,20 @@
+--- kdelirc/irkick/klircclient.cpp.orig Sat Sep 10 10:21:34 2005
++++ kdelirc/irkick/klircclient.cpp Mon Jun 5 16:16:51 2006
+@@ -55,15 +55,10 @@
+
+ sockaddr_un addr;
+ addr.sun_family = AF_UNIX;
+- strcpy(addr.sun_path, "/dev/lircd");
++ strcpy(addr.sun_path, "/var/lirc/lircd");
+ if(::connect(sock, (struct sockaddr *)(&addr), sizeof(addr)) == -1)
+ { ::close(sock);
+- // in case of mandrake...
+- strcpy(addr.sun_path, "/tmp/.lircd");
+- if(::connect(sock, (struct sockaddr *)(&addr), sizeof(addr)) == -1)
+- { ::close(sock);
+- return false;
+- }
++ return false;
+ }
+
+ theSocket = new QSocket;