1 diff -up vdr-1.6.0/PLUGINS/src/sky/Makefile~ vdr-1.6.0/PLUGINS/src/sky/Makefile
2 --- vdr-1.6.0/PLUGINS/src/sky/Makefile~ 2008-01-13 15:00:16.000000000 +0200
3 +++ vdr-1.6.0/PLUGINS/src/sky/Makefile 2009-11-22 22:37:27.000000000 +0200
4 @@ -41,7 +41,8 @@ PACKAGE = vdr-$(ARCHIVE)
6 INCLUDES += -I$(VDRDIR)/include
8 -DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
9 +LIRC_DEVICE ?= /dev/lircd
10 +DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DLIRC_DEVICE=\"$(LIRC_DEVICE)\"
12 ### The object files (add further files here):
14 diff -up vdr-1.6.0/PLUGINS/src/sky/sky.c~ vdr-1.6.0/PLUGINS/src/sky/sky.c
15 --- vdr-1.6.0/PLUGINS/src/sky/sky.c~ 2008-03-22 12:19:32.000000000 +0200
16 +++ vdr-1.6.0/PLUGINS/src/sky/sky.c 2009-11-22 22:33:03.000000000 +0200
17 @@ -88,7 +88,7 @@ cDigiboxDevice::cDigiboxDevice(void)
19 struct sockaddr_un addr;
20 addr.sun_family = AF_UNIX;
21 - strn0cpy(addr.sun_path, "/dev/lircd", sizeof(addr.sun_path));//XXX parameter???
22 + strn0cpy(addr.sun_path, LIRC_DEVICE, sizeof(addr.sun_path));//XXX parameter???
23 fd_lirc = socket(AF_UNIX, SOCK_STREAM, 0);
25 if (connect(fd_lirc, (struct sockaddr *)&addr, sizeof(addr)) < 0) {