[Xorg-driver-geode] FreeBSD patch for xf86-video-geode 2.11.10

Arrigo Marchiori ardovm at yahoo.it
Tue Nov 16 03:10:09 PST 2010


Dear List,

the attached patch allows compilation of the release 2.11.10 under
FreeBSD 7-STABLE.
-- 
rigo

http://rigo.altervista.org
-------------- next part --------------
diff -u -r xf86-video-geode-2.11.10-original/src/geode_msr.c xf86-video-geode-2.11.10-patched/src/geode_msr.c
--- xf86-video-geode-2.11.10-original/src/geode_msr.c	2010-11-09 10:12:44.000000000 +0100
+++ xf86-video-geode-2.11.10-patched/src/geode_msr.c	2010-11-16 11:59:27.000000000 +0100
@@ -7,6 +7,10 @@
 #include "os.h"
 #include "geode.h"
 
+// Begin FreeBSD patch
+typedef off_t off64_t;
+// End FreeBSD patch
+
 static int
 _msr_open(void)
 {
diff -u -r xf86-video-geode-2.11.10-original/src/z4l.c xf86-video-geode-2.11.10-patched/src/z4l.c
--- xf86-video-geode-2.11.10-original/src/z4l.c	2010-11-09 10:12:44.000000000 +0100
+++ xf86-video-geode-2.11.10-patched/src/z4l.c	2010-11-16 11:59:27.000000000 +0100
@@ -47,6 +47,8 @@
 #include "xf86xv.h"
 #include "fourcc.h"
 
+/* FreeBSD patch
+
 #include <linux/types.h>
 
 #define __s64 __s_64
@@ -55,6 +57,8 @@
 #define __u64 __u_64
 typedef unsigned long long __u64;
 
+*/
+
 #include "linux/videodev.h"
 #define __user
 #include "linux/videodev2.h"


More information about the Xorg-driver-geode mailing list