summaryrefslogtreecommitdiffstats
path: root/abs/extra/plex-home-theater/plex-lirc-socket.patch
blob: 711025289555c60ea1e816c14290b56f5578a60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
From c20e1deb62521acaca945fe6af780cdfb477610b Mon Sep 17 00:00:00 2001
From: Maxime Gauduin <alucryd@gmail.com>
Date: Thu, 30 Oct 2014 09:43:48 +0100
Subject: [PATCH] Fix lirc socket path

---
 configure.in                                | 4 ++--
 plex/CMakeModules/PlatformConfigLINUX.cmake | 2 +-
 plex/CMakeModules/PlatformConfigRPI.cmake   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.in b/configure.in
index 002245a..85ad398 100644
--- a/configure.in
+++ b/configure.in
@@ -452,9 +452,9 @@ AC_ARG_ENABLE([texturepacker],
 
 AC_ARG_WITH([lirc-device],
   [AS_HELP_STRING([--with-lirc-device=file],
-  [specify the default LIRC device (default is /dev/lircd)])],
+  [specify the default LIRC device (default is /var/run/lirc/lircd)])],
   [lirc_device=$withval],
-  [lirc_device=/dev/lircd])
+  [lirc_device=/var/run/lirc/lircd])
 AC_DEFINE_UNQUOTED([LIRC_DEVICE], ["$lirc_device"], [Default LIRC device])
 
 AC_ARG_ENABLE([udev],
diff --git a/plex/CMakeModules/PlatformConfigLINUX.cmake b/plex/CMakeModules/PlatformConfigLINUX.cmake
index 078fafb..3afa5c1 100644
--- a/plex/CMakeModules/PlatformConfigLINUX.cmake
+++ b/plex/CMakeModules/PlatformConfigLINUX.cmake
@@ -126,7 +126,7 @@ if(DEFINED OPENGL_FOUND)
 endif()
 
 #### default lircdevice
-set(LIRC_DEVICE "/dev/lircd")
+set(LIRC_DEVICE "/var/run/lirc/lircd")
 
 #### on linux we want to use a "easy" name
 set(EXECUTABLE_NAME "plexhometheater")
diff --git a/plex/CMakeModules/PlatformConfigRPI.cmake b/plex/CMakeModules/PlatformConfigRPI.cmake
index 82aa751..367cdc9 100644
--- a/plex/CMakeModules/PlatformConfigRPI.cmake
+++ b/plex/CMakeModules/PlatformConfigRPI.cmake
@@ -103,7 +103,7 @@ list(APPEND CONFIG_INTERNAL_LIBS lib_dllsymbols)
 
 
 #### default lircdevice
-set(LIRC_DEVICE "/dev/lircd")
+set(LIRC_DEVICE "/var/run/lirc/lircd")
 
 #### on linux we want to use a "easy" name
 set(EXECUTABLE_NAME "plexhometheater")
-- 
2.1.3