diff options
author | anholt <anholt@FreeBSD.org> | 2003-01-24 04:14:16 +0000 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2003-01-24 04:14:16 +0000 |
commit | 849a0baf4243c6889f7940762432246949d0493e (patch) | |
tree | 2dddf0f6b30e425d74943b1b65fb17c6b2255be0 /x11-servers/XFree86-4-Server | |
parent | 3c6e0dba37f6acfc177c8e0f17c56303343607bb (diff) | |
download | FreeBSD-ports-849a0baf4243c6889f7940762432246949d0493e.zip FreeBSD-ports-849a0baf4243c6889f7940762432246949d0493e.tar.gz |
[1] Fix missing symbols in i810 driver
[2] Fix xdm on Alpha by using NetBSD's version of Wraphelp.c
[3] Report buttons 7 and when using sysmouse protocol
[4] Fix missing symbols in r128 driver.
[5] Reset /usr/X11R6/bin/X to Xwrapper-4 after install if Xwrapper-4 exists.
PR: [1] i386/44203
[2] ports/43664
[3] ports/43232
Diffstat (limited to 'x11-servers/XFree86-4-Server')
-rw-r--r-- | x11-servers/XFree86-4-Server/Makefile | 13 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/distinfo | 3 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/files/patch-i810_driver.c | 11 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/files/patch-r128_driver.c | 18 |
4 files changed, 39 insertions, 6 deletions
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index 551c703..d8bb093 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/Makefile @@ -7,7 +7,7 @@ PORTNAME= Server PORTVERSION= 4.2.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \ ${MASTER_SITE_LOCAL:S/$/:local/} @@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= 4.2.0/:x \ anholt/:local PKGNAMEPREFIX= XFree86- DISTFILES= X420src-1.tgz:x \ - Wraphelp.gz:local + Wraphelp2.gz:local EXTRACT_ONLY= X420src-1.tgz PATCH_SITES= ${MASTER_SITE_LOCAL} @@ -31,7 +31,8 @@ DIST_SUBDIR= xc WRKSRC= ${WRKDIR}/xc PATCHDIR= ${.CURDIR}/../../x11/XFree86-4-libraries/files .for pf in patch-text-mode.c patch-xf86Configure.c patch-xf86config.c \ - patch-mga_driver.c patch-alp_xaam.c + patch-i810_driver.c patch-mga_driver.c patch-r128_driver.c \ + patch-alp_xaam.c EXTRA_PATCHES+= ${.CURDIR}/files/${pf} .endfor SCRIPTS_ENV= OSVERSION=${OSVERSION} \ @@ -188,7 +189,7 @@ PLIST_SUB+= MATROX="@comment " .endif post-extract:: - ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp.gz > \ + ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp2.gz > \ ${WRKSRC}/lib/Xdmcp/Wraphelp.c post-build: @@ -198,6 +199,10 @@ post-build: post-install:: @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE} strip ${PREFIX}/bin/XFree86 + @if [ -f ${PREFIX}/bin/Xwrapper-4 ] ; then \ + ln -sf Xwrapper-4 ${PREFIX}/bin/X; \ + fi; + .include "${.CURDIR}/../../x11/XFree86-4-libraries/Makefile.inc" .include <bsd.port.post.mk> diff --git a/x11-servers/XFree86-4-Server/distinfo b/x11-servers/XFree86-4-Server/distinfo index bc9a0a4..b025576 100644 --- a/x11-servers/XFree86-4-Server/distinfo +++ b/x11-servers/XFree86-4-Server/distinfo @@ -1,6 +1,5 @@ MD5 (xc/X420src-1.tgz) = ad43a8e9e39703322005cd6f7145b77f -MD5 (xc/Wraphelp.gz) = 7ee30e397359e8d64ab23f29aa551659 +MD5 (xc/Wraphelp2.gz) = bd1910492087442288d885412e2e5535 MD5 (xc/freebsd-glide3headers.tar.gz) = 2bb614c909898a17c05e43e60cfb8e3b -MD5 (xc/mgadrivers-2.0-src.tgz) = 877db503967ae837c147953dbcd8ee6d MD5 (xc/4.2.0-4.2.1-1-freebsd.patch.gz) = 1d4c49d7f354b307b7961e6d8e6c4274 MD5 (xc/patch-nvchips.gz) = bcb190d3f2c26d993a3a3c1512cf9bc9 diff --git a/x11-servers/XFree86-4-Server/files/patch-i810_driver.c b/x11-servers/XFree86-4-Server/files/patch-i810_driver.c new file mode 100644 index 0000000..c8fce6b --- /dev/null +++ b/x11-servers/XFree86-4-Server/files/patch-i810_driver.c @@ -0,0 +1,11 @@ +--- programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c.orig Sat Jan 11 21:08:42 2003 ++++ programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c Sat Jan 11 21:08:49 2003 +@@ -177,7 +177,7 @@ + "XAACachePlanarMonoStipple", + "XAACreateInfoRec", + "XAADestroyInfoRec", +- "XAAFillSolidRects" ++ "XAAFillSolidRects", + "XAAInit", + "XAAOverlayFBfuncs", + "XAAScreenIndex", diff --git a/x11-servers/XFree86-4-Server/files/patch-r128_driver.c b/x11-servers/XFree86-4-Server/files/patch-r128_driver.c new file mode 100644 index 0000000..a308f0a --- /dev/null +++ b/x11-servers/XFree86-4-Server/files/patch-r128_driver.c @@ -0,0 +1,18 @@ +--- programs/Xserver/hw/xfree86/drivers/ati/r128_driver.c.orig Sat Jan 11 05:45:34 2003 ++++ programs/Xserver/hw/xfree86/drivers/ati/r128_driver.c Sat Jan 11 05:45:41 2003 +@@ -277,6 +277,7 @@ + "drmAgpUnbind", + "drmAgpVendorId", + "drmAvailable", ++ "drmFreeBufs", + "drmFreeVersion", + "drmGetVersion", + "drmMap", +@@ -287,6 +288,7 @@ + "drmR128ResetCCE", + "drmR128StartCCE", + "drmR128StopCCE", ++ "drmR128TextureBlit", + "drmR128WaitForIdleCCE", + "drmR128FlushIndirectBuffer", + "drmScatterGatherAlloc", |