File vdr-xine-0.8.2.diff of Package vdr-plugins

Index: xine-0.8.2/Makefile
===================================================================
--- xine-0.8.2.orig/Makefile
+++ xine-0.8.2/Makefile
@@ -25,18 +25,19 @@ CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloa
 
 ### The directory environment:
 
-VDRDIR = ../../..
-LIBDIR = ../../lib
+VDRDIR = /usr/include/vdr
+LIBDIR = .
 TMPDIR = /tmp
 
 ### Allow user defined options to overwrite defaults:
 
 -include $(VDRDIR)/Make.config
 
+CXXFLAGS += -fno-strict-aliasing
 INCLUDES += `pkg-config --cflags libxine` 
 
 # where to create fifos (xine expects them at /tmp/vdr-xine)
-VDR_XINE_FIFO_DIR ?= /tmp/vdr-xine
+VDR_XINE_FIFO_DIR ?= /var/lib/vdr-xine
 
 # can be used to detect inefficient OSD drawing
 # 0 - do not verify whether the dirty area of a bitmap is really dirty
Index: xine-0.8.2/xineLib.c
===================================================================
--- xine-0.8.2.orig/xineLib.c
+++ xine-0.8.2/xineLib.c
@@ -2230,7 +2230,7 @@ namespace PluginXine
 	  return false; \
 	} } while (0)
 
-    if (::mkdir(m_fifoDir.c_str(), 0755) < 0)
+    if (::mkdir(m_fifoDir.c_str(), 0755) < 0 && errno != EEXIST)
     {
       string msg = "vdr-xine: error: couldn't create directory '" + m_fifoDir + "'";
       perror(msg.c_str());
Index: xine-0.8.2/xineLib.h
===================================================================
--- xine-0.8.2.orig/xineLib.h
+++ xine-0.8.2/xineLib.h
@@ -24,6 +24,7 @@
 #include "xineExternal.h"
 #include "xineSettings.h"
 
+class cPlugin;
 
 
 namespace PluginXine
openSUSE Build Service is sponsored by