[Mplayer-cvslog] CVS: main/osdep lrmi.c,1.3,1.4 vbelib.c,1.22,1.23
Gabucino
gabucino at mplayerhq.hu
Thu Nov 13 21:53:48 CET 2003
Update of /cvsroot/mplayer/main/osdep
In directory mail:/var/tmp.root/cvs-serv16741/osdep
Modified Files:
lrmi.c vbelib.c
Log Message:
cumulative libc5 compatibility patch ;)
- VESA detection by sys/io.h header
- workaround a missing define on libc5
Index: lrmi.c
===================================================================
RCS file: /cvsroot/mplayer/main/osdep/lrmi.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- lrmi.c 11 Nov 2003 10:39:36 -0000 1.3
+++ lrmi.c 13 Nov 2003 20:53:40 -0000 1.4
@@ -11,6 +11,9 @@
Original location: http://cvs.debian.org/lrmi/
*/
+#include "../config.h"
+#ifdef HAVE_VESA
+
#include <signal.h>
#include <stdio.h>
#include <string.h>
@@ -918,3 +921,4 @@
return vret;
}
+#endif
Index: vbelib.c
===================================================================
RCS file: /cvsroot/mplayer/main/osdep/vbelib.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- vbelib.c 16 May 2003 16:34:57 -0000 1.22
+++ vbelib.c 13 Nov 2003 20:53:40 -0000 1.23
@@ -7,6 +7,10 @@
of GNU General Public licence v2.
Written by Nick Kurshev <nickols_k at mail.ru>
*/
+
+#include <../config.h>
+#ifdef HAVE_VESA
+
#include "vbelib.h"
#include "lrmi.h"
#include <stdlib.h>
@@ -728,3 +732,5 @@
if(verbose > 1) printf("vbelib: vbeUnmapVideoBuffer(%08lX,%08lX)\n",linear_addr,size);
munmap((void *)linear_addr,size);
}
+
+#endif
More information about the MPlayer-cvslog
mailing list