Mdklirc-patch

From VDR Wiki
Jump to navigation Jump to search

Description

Hardware requirements

Software requirements

  • patch

Applying the patch

If the patch is compressed you have to unpack it before

gunzip patch

Now you can install it with

cd $SOURCEDIR/VDR
patch -p 1 < /path/to/patch

Note, VDR has to be recompiled now, see VDR installation.

Problems

Patch

diff -Nru vdr-1.2.5/vdr.c vdr-1.2.5_MDK/vdr.c
--- vdr-1.2.5/vdr.c     2003-09-14 11:36:54.000000000 +0200
+++ vdr-1.2.5_MDK/vdr.c 2003-10-11 09:54:26.000000000 +0200
@@ -416,6 +416,9 @@
   new cRcuRemote("/dev/ttyS1");
 #elif defined(REMOTE_LIRC)
   new cLircRemote("/dev/lircd");
+#elif defined(REMOTE_LIRC_MDK)
+  /* 2003-09-31 <mk> for LIRC from Mandrake 9.1 RPMs */
+  new cLircRemote("/tmp/.lircd");
 #endif
 #if defined(REMOTE_KBD)
   if (!DaemonMode && HasStdin)