aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorRobert Noland <rnoland@FreeBSD.org>2010-05-03 17:04:15 +0000
committerRobert Noland <rnoland@FreeBSD.org>2010-05-03 17:04:15 +0000
commit224187888b4a0c4a0acff4fcfa1e180db406858e (patch)
treee4bbdd07c90c2f70aff1e9b51b5791b8a7f36742 /x11-drivers
parent77a0b9ed3f00e4264e2b5bbdd500c9fa3cc93c00 (diff)
downloadports-224187888b4a0c4a0acff4fcfa1e180db406858e.tar.gz
ports-224187888b4a0c4a0acff4fcfa1e180db406858e.zip
Notes
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-intel/Makefile2
-rw-r--r--x11-drivers/xf86-video-intel/files/patch-src_i830_dvo.c80
2 files changed, 81 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-intel/Makefile b/x11-drivers/xf86-video-intel/Makefile
index 901919ca66f1..aa0d3bce8b3b 100644
--- a/x11-drivers/xf86-video-intel/Makefile
+++ b/x11-drivers/xf86-video-intel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xf86-video-intel
PORTVERSION= 2.7.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
diff --git a/x11-drivers/xf86-video-intel/files/patch-src_i830_dvo.c b/x11-drivers/xf86-video-intel/files/patch-src_i830_dvo.c
new file mode 100644
index 000000000000..d392942ef66f
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/patch-src_i830_dvo.c
@@ -0,0 +1,80 @@
+--- src/i830_dvo.c.orig 2010-05-03 11:09:54.000000000 -0500
++++ src/i830_dvo.c 2010-05-03 11:13:31.000000000 -0500
+@@ -38,28 +38,6 @@
+ #include "ch7xxx/ch7xxx.h"
+ #include "tfp410/tfp410.h"
+
+-static const char *SIL164Symbols[] = {
+- "Sil164VidOutput",
+- NULL
+-};
+-static const char *TFP410Symbols[] = {
+- "Tfp410VidOutput",
+- NULL
+-};
+-static const char *CH7xxxSymbols[] = {
+- "CH7xxxVidOutput",
+- NULL
+-};
+-static const char *ivch_symbols[] = {
+- "ivch_methods",
+- NULL
+-};
+-
+-static const char *ch7017_symbols[] = {
+- "ch7017_methods",
+- NULL
+-};
+-
+ /* driver list */
+ struct _I830DVODriver i830_dvo_drivers[] =
+ {
+@@ -69,7 +47,6 @@
+ .fntablename = "SIL164VidOutput",
+ .dvo_reg = DVOC,
+ .address = (SIL164_ADDR_1<<1),
+- .symbols = SIL164Symbols
+ },
+ {
+ .type = I830_OUTPUT_DVO_TMDS,
+@@ -77,7 +54,6 @@
+ .fntablename = "CH7xxxVidOutput",
+ .dvo_reg = DVOC,
+ .address = (CH7xxx_ADDR_1<<1),
+- .symbols = CH7xxxSymbols
+ },
+ {
+ .type = I830_OUTPUT_DVO_LVDS,
+@@ -85,7 +61,6 @@
+ .fntablename = "ivch_methods",
+ .dvo_reg = DVOA,
+ .address = 0x04, /* Might also be 0x44, 0x84, 0xc4 */
+- .symbols = ivch_symbols
+ },
+ {
+ .type = I830_OUTPUT_DVO_TMDS,
+@@ -93,7 +68,6 @@
+ .fntablename = "TFP410VidOutput",
+ .dvo_reg = DVOC,
+ .address = (TFP410_ADDR_1<<1),
+- .symbols = TFP410Symbols
+ },
+ {
+ .type = I830_OUTPUT_DVO_LVDS,
+@@ -101,7 +75,6 @@
+ .fntablename = "ch7017_methods",
+ .dvo_reg = DVOC,
+ .address = 0xea,
+- .symbols = ch7017_symbols,
+ .gpio = GPIOE,
+ }
+ };
+@@ -447,8 +420,6 @@
+ if (drv->modhandle == NULL)
+ continue;
+
+- xf86LoaderReqSymLists(drv->symbols, NULL);
+-
+ ret_ptr = NULL;
+ drv->vid_rec = LoaderSymbol(drv->fntablename);
+