summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-08-26 17:41:46 +0000
committersobomax <sobomax@FreeBSD.org>2002-08-26 17:41:46 +0000
commit158b4280b3617fcc937a1add71842ea562be4855 (patch)
tree654ad8ce2081c444c49d4a1cde5234683d1524cb
parentdcedbd608c2a0afda2fbe960b174f77bf70d8d35 (diff)
downloadFreeBSD-ports-158b4280b3617fcc937a1add71842ea562be4855.zip
FreeBSD-ports-158b4280b3617fcc937a1add71842ea562be4855.tar.gz
When initialising s3 driver call fbPictureInit() like other drivers do. This
fixes a problem with RENDER extention not working with s3 driver. Bump PORTREVISION. Approved by: maintainer (implicitly)
-rw-r--r--x11-servers/XFree86-4-Server-snap/Makefile2
-rw-r--r--x11-servers/XFree86-4-Server/Makefile2
-rw-r--r--x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c25
3 files changed, 27 insertions, 2 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile
index cf4cbcc..3f48c59 100644
--- a/x11-servers/XFree86-4-Server-snap/Makefile
+++ b/x11-servers/XFree86-4-Server-snap/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Server
PORTVERSION= 4.2.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
${MASTER_SITE_LOCAL:S/$/:local/}
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile
index cf4cbcc..3f48c59 100644
--- a/x11-servers/XFree86-4-Server/Makefile
+++ b/x11-servers/XFree86-4-Server/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Server
PORTVERSION= 4.2.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
${MASTER_SITE_LOCAL:S/$/:local/}
diff --git a/x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c b/x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c
new file mode 100644
index 0000000..025f8b8
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c
@@ -0,0 +1,25 @@
+
+$FreeBSD$
+
+--- programs/Xserver/hw/xfree86/drivers/s3/s3_driver.c 2002/08/26 06:45:40 1.1
++++ programs/Xserver/hw/xfree86/drivers/s3/s3_driver.c 2002/08/26 06:49:53
+@@ -174,6 +174,7 @@
+ #ifdef S3_USEFB
+ static const char *fbSymbols[] = {
+ "fbScreenInit",
++ "fbPictureInit",
+ NULL
+ };
+ #else
+@@ -850,6 +851,11 @@
+ }
+ }
+ }
++
++#ifdef S3_USEFB
++ /* must be after RGB order fixed */
++ fbPictureInit (pScreen, 0, 0);
++#endif
+
+ S3DGAInit(pScreen);
+
OpenPOWER on IntegriCloud