[Linux-Biella] compilare mplayer con kernel 2.6

Paul TT linux@ml.bilug.linux.it
Sun, 04 Jan 2004 16:41:33 +0100


This is a multi-part message in MIME format.
--------------030600010708010007050403
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

per compilare il suddetto programma abbisogna far girare il configure 
con --disable-fbdev (per i debianari: modificare il file debian/rules in 
modo che  faccia girare il configure suddetto nel suddetto modo), dato 
che son cambiate un po' di cose a livello kernel, e applicare la 
allegata patch per compilare la libdha :-)
se serve...

ciauz!

-- 
It was software, in cyberspace...
There was no system core.
It can not be shut down.
The attack began on 6:18 PM...



--------------030600010708010007050403
Content-Type: text/plain;
 name="pci.c_2.6.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="pci.c_2.6.patch"

--- MPlayer-20040103_orig/libdha/pci.c	2003-10-02 16:47:56.000000000 +0200
+++ MPlayer-20040103/libdha/pci.c	2004-01-04 04:15:13.291410704 +0100
@@ -61,6 +61,10 @@
 #include "AsmMacros.h"
 /* OS depended stuff */
 #if defined (linux)
+#if !defined(__u32)
+#include "asm/types.h"
+typedef unsigned long kernel_ulong_t;
+#endif
 #include "sysdep/pci_linux.c"
 #elif defined (__FreeBSD__)
 #include "sysdep/pci_freebsd.c"

--------------030600010708010007050403--