aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-voodoo/files
diff options
context:
space:
mode:
authorMatthew Rezny <rezny@FreeBSD.org>2017-02-11 14:17:58 +0000
committerMatthew Rezny <rezny@FreeBSD.org>2017-02-11 14:17:58 +0000
commit3f87b5cb51a9164076426ff318d5d77c12b0ced3 (patch)
treef850017ca906c1f973d599485b77a7dceb60e2fc /x11-drivers/xf86-video-voodoo/files
parentce75c0657853608ceeaeda9f2d28dc0d2c634129 (diff)
downloadports-3f87b5cb51a9164076426ff318d5d77c12b0ced3.tar.gz
ports-3f87b5cb51a9164076426ff318d5d77c12b0ced3.zip
Notes
Diffstat (limited to 'x11-drivers/xf86-video-voodoo/files')
-rw-r--r--x11-drivers/xf86-video-voodoo/files/patch-src_voodoo.h7
-rw-r--r--x11-drivers/xf86-video-voodoo/files/patch-src_voodoo__driver.c12
-rw-r--r--x11-drivers/xf86-video-voodoo/files/patch-src_voodoo__hardware.c17
3 files changed, 30 insertions, 6 deletions
diff --git a/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo.h b/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo.h
index e10001f5135c..94f19539bb78 100644
--- a/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo.h
+++ b/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo.h
@@ -4,9 +4,7 @@ Date: Mon, 22 Sep 2014 10:56:02 +1000
Subject: don't use PCITAG in struct anymore
-diff --git a/src/voodoo.h b/src/voodoo.h
-index bfed497..c3eb64e 100644
---- src/voodoo.h
+--- src/voodoo.h.orig 2012-07-17 05:21:17 UTC
+++ src/voodoo.h
@@ -23,7 +23,9 @@ typedef struct {
@@ -18,6 +16,3 @@ index bfed497..c3eb64e 100644
CARD32 PhysBase;
CARD32 Width; /* Current width */
---
-cgit v0.10.2
-
diff --git a/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo__driver.c b/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo__driver.c
new file mode 100644
index 000000000000..1e0183b0e3c9
--- /dev/null
+++ b/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo__driver.c
@@ -0,0 +1,12 @@
+# Remove obsolete function call
+#
+--- src/voodoo_driver.c.orig 2016-11-25 18:37:43 UTC
++++ src/voodoo_driver.c
+@@ -680,7 +680,6 @@ VoodooScreenInit(SCREEN_INIT_ARGS_DECL)
+ if(pVoo->Accel)
+ Voodoo2XAAInit(pScreen);
+
+- miInitializeBackingStore(pScreen);
+ xf86SetBackingStore(pScreen);
+
+
diff --git a/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo__hardware.c b/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo__hardware.c
new file mode 100644
index 000000000000..952fff7d0068
--- /dev/null
+++ b/x11-drivers/xf86-video-voodoo/files/patch-src_voodoo__hardware.c
@@ -0,0 +1,17 @@
+# Fix fubar code that worked by accident
+#
+--- src/voodoo_hardware.c.orig 2016-11-25 18:41:04 UTC
++++ src/voodoo_hardware.c
+@@ -390,10 +390,10 @@ static int voodoo_find_dac(VoodooPtr pVo
+ device_id = dac_in(pVoo, 2);
+
+ /* AT&T 20C409 and clones */
+- if(vendor_id == DAC_VENDOR_ATT && DAC_DEVICE_ATT20C409)
++ if(vendor_id == DAC_VENDOR_ATT && device_id == DAC_DEVICE_ATT20C409)
+ return DAC_ID_ATT;
+
+- if(vendor_id == DAC_VENDOR_TI && DAC_DEVICE_TITVP3409)
++ if(vendor_id == DAC_VENDOR_TI && device_id == DAC_DEVICE_TITVP3409)
+ return DAC_ID_TI;
+
+ /* ICS5432 doesn't implement the back door. Glide does some