Hello,

Attached is a patch that fixes VDR 1.4.7's build for me on Fedora 9 devel 
against GCC 4.3's cleaned up C++ headers.  The build errors were due to 
INT_MAX not being defined.
diff -up vdr-1.4.7/epg.c~ vdr-1.4.7/epg.c
--- vdr-1.4.7/epg.c~	2006-10-28 12:12:42.000000000 +0300
+++ vdr-1.4.7/epg.c	2008-02-14 19:12:26.000000000 +0200
@@ -12,6 +12,7 @@
 
 #include "epg.h"
 #include <ctype.h>
+#include <limits.h>
 #include <time.h>
 #include "libsi/si.h"
 #include "timers.h"
diff -up vdr-1.4.7/menuitems.h~ vdr-1.4.7/menuitems.h
--- vdr-1.4.7/menuitems.h~	2008-02-14 19:10:06.000000000 +0200
+++ vdr-1.4.7/menuitems.h	2008-02-14 19:12:39.000000000 +0200
@@ -10,6 +10,7 @@
 #ifndef __MENUITEMS_H
 #define __MENUITEMS_H
 
+#include <limits.h>
 #include "osdbase.h"
 
 extern const char *FileNameChars;
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to