diff options
author | sf <sf@FreeBSD.org> | 2001-04-12 22:26:00 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-04-12 22:26:00 +0800 |
commit | a98876ef40f16306576afa388d0dcb8ffd6bfa39 (patch) | |
tree | 8d4a55967466b6263d4ce942d7cf017c56dd97f4 /x11/XFree86-4-libraries | |
parent | 3a1389e4b87610931cf1a9d515a87d8e6227a3c7 (diff) | |
download | freebsd-ports-gnome-a98876ef40f16306576afa388d0dcb8ffd6bfa39.tar.gz freebsd-ports-gnome-a98876ef40f16306576afa388d0dcb8ffd6bfa39.tar.zst freebsd-ports-gnome-a98876ef40f16306576afa388d0dcb8ffd6bfa39.zip |
sync up with x11/XFree86-4.
o build DRI kernel modules.
o add option to build Matrox G200/G400/G450 beta drivers.
Submitted by: Stijn Hoop <stijn@win.tue.nl>
Diffstat (limited to 'x11/XFree86-4-libraries')
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-DRI | 101 | ||||
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-a1 | 16 |
2 files changed, 117 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-DRI b/x11/XFree86-4-libraries/files/patch-DRI new file mode 100644 index 000000000000..2796fce64e50 --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-DRI @@ -0,0 +1,101 @@ +--- programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/mga/mga_drv.c~ Sat Jun 17 02:03:32 2000 ++++ programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/mga/mga_drv.c Fri Mar 30 02:50:04 2001 +@@ -41,7 +41,7 @@ + #define MGA_NAME "mga" + #define MGA_DESC "Matrox g200/g400" + #define MGA_DATE "19991213" +-#define MGA_MAJOR 1 ++#define MGA_MAJOR 2 + #define MGA_MINOR 0 + #define MGA_PATCHLEVEL 0 + +--- programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drmP.h.orig Sat Jun 17 02:03:28 2000 ++++ programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drmP.h Tue Apr 10 02:56:17 2001 +@@ -49,11 +49,11 @@ + #include <sys/sysctl.h> + #include <sys/select.h> + #include <sys/bus.h> +-#if __FreeBSD_version >= 500005 ++#if __FreeBSD_version > 410000 + #include <sys/taskqueue.h> + #endif + +-#if __FreeBSD_version >= 500006 ++#if __FreeBSD_version > 410000 + #define DRM_AGP + #endif + +@@ -128,7 +128,7 @@ + * Fake out the module macros for versions of FreeBSD where they don't + * exist. + */ +-#if __FreeBSD_version < 500002 ++#if __FreeBSD_version < 420000 + + #define MODULE_VERSION(a,b) struct __hack + #define MODULE_DEPEND(a,b,c,d,e) struct __hack +@@ -517,7 +517,7 @@ + int last_checked; /* Last context checked for DMA */ + int last_context; /* Last current context */ + int last_switch; /* Time at last context switch */ +-#if __FreeBSD_version >= 500005 ++#if __FreeBSD_version >= 420000 + struct task task; + #endif + struct timespec ctx_start; +@@ -548,6 +548,8 @@ + void *dev_private; + } drm_device_t; + ++#undef SYSCTL_HANDLER_ARGS ++#define SYSCTL_HANDLER_ARGS (struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req) + + /* Internal function definitions */ + +--- programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/Makefile.bsd~ Sat Jun 17 02:03:28 2000 ++++ programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/Makefile.bsd Fri Mar 30 15:02:30 2001 +@@ -2,3 +2,3 @@ + +-SUBDIR = drm tdfx gamma ++SUBDIR = drm tdfx gamma mga + +--- programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm/Makefile.orig Wed Apr 11 11:15:17 2001 ++++ programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm/Makefile Wed Apr 11 11:18:01 2001 +@@ -6,6 +6,7 @@ + agpsupport.c ctxbitmap.c + SRCS += device_if.h bus_if.h pci_if.h + CFLAGS += ${DEBUG_FLAGS} -I.. ++KMODDIR = ${X11BASE}/lib/X11/kernel + + @: + ln -sf /sys @ +--- programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/tdfx/Makefile.orig Wed Apr 11 11:20:15 2001 ++++ programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/tdfx/Makefile Wed Apr 11 11:20:31 2001 +@@ -5,6 +5,7 @@ + SRCS += device_if.h bus_if.h pci_if.h + CFLAGS += ${DEBUG_FLAGS} -I.. + KMODDEPS = drm ++KMODDIR = ${X11BASE}/lib/X11/kernel + + @: + ln -sf /sys @ +--- programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/gamma/Makefile.orig Wed Apr 11 11:17:21 2001 ++++ programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/gamma/Makefile Wed Apr 11 11:20:01 2001 +@@ -5,6 +5,7 @@ + SRCS += device_if.h bus_if.h pci_if.h + CFLAGS += ${DEBUG_FLAGS} -I.. + KMODDEPS = drm ++KMODDIR = ${X11BASE}/lib/X11/kernel + + @: + ln -sf /sys @ +--- programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/mga/Makefile.orig Wed Apr 11 11:20:10 2001 ++++ programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/mga/Makefile Wed Apr 11 11:20:22 2001 +@@ -6,6 +6,7 @@ + CFLAGS += ${DEBUG_FLAGS} -I.. + KERN = /usr/src/sys + KMODDEPS = drm ++KMODDIR = ${X11BASE}/lib/X11/kernel + + @: + ln -sf /sys @ diff --git a/x11/XFree86-4-libraries/files/patch-a1 b/x11/XFree86-4-libraries/files/patch-a1 new file mode 100644 index 000000000000..4b8c723564f1 --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-a1 @@ -0,0 +1,16 @@ +--- programs/Xserver/hw/xfree86/os-support//shared/xf86Axp.h~ Mon Nov 6 22:57:11 2000 ++++ programs/Xserver/hw/xfree86/os-support//shared/xf86Axp.h Fri Apr 6 00:21:23 2001 +@@ -19,13 +19,6 @@ + IRONGATE + } axpDevice; + +-typedef struct +- { char* sysName; +- char* sysVari; +- char* cpu; +- axpDevice sys; } +-AXP; +- + typedef struct { + axpDevice id; + unsigned long hae_thresh; |