#! /bin/sh /usr/share/dpatch/dpatch-run ## 91_xineliboutput-1.0.0pre7-1.5.1.dpatch by Thomas Günther ## http://toms-cafe.de/vdr/download/xineliboutput-1.0.0pre7-1.5.1.diff ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Changes for VDR >= 1.5.1. @DPATCH@ --- xineliboutput-1.0.0pre7/frontend_local.c +++ xineliboutput-1.0.0pre7/frontend_local.c @@ -17,6 +17,9 @@ #include #include +#if APIVERSNUM >= 10501 +#include +#endif #include "logdefs.h" #include "config.h" @@ -471,7 +474,11 @@ if(!m_bReconfigRequest && xc.exit_on_close) { LOGMSG("Shutting down VDR"); +#if APIVERSNUM >= 10501 + ShutdownHandler.RequestEmergencyExit(); +#else cThread::EmergencyExit(true); +#endif break; } }