diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2006-06-05 19:24:58 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2006-06-05 19:24:58 +0000 |
commit | c5accf0b1725931103517e6be9ee055747b0a713 (patch) | |
tree | cb0d0e6adfda9d20a4b74ed8abce7572e93c4184 /sysutils/kfloppy/files/patch-kdelirc_irkick-klircclient.cpp | |
parent | a39413592f31d8b91f994ab980ac410aa258c782 (diff) | |
download | ports-c5accf0b1725931103517e6be9ee055747b0a713.tar.gz ports-c5accf0b1725931103517e6be9ee055747b0a713.zip |
Notes
Diffstat (limited to 'sysutils/kfloppy/files/patch-kdelirc_irkick-klircclient.cpp')
-rw-r--r-- | sysutils/kfloppy/files/patch-kdelirc_irkick-klircclient.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/kfloppy/files/patch-kdelirc_irkick-klircclient.cpp b/sysutils/kfloppy/files/patch-kdelirc_irkick-klircclient.cpp new file mode 100644 index 000000000000..3d0e3cd8c08b --- /dev/null +++ b/sysutils/kfloppy/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; |