x11-drivers/xf86-video-tdfx: Update to 1.5.0
Update x11-drivers/xf86-video-tdfx to 1.5.0 Add USES=gl, LICENSE, LICENSE_FILE. This is a maintenance releas. Changelog: https://lists.x.org/archives/xorg-announce/2019-February/002944.html Sponsored by: B3 Init
This commit is contained in:
parent
58a7a27e6c
commit
9243c26fb3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503917
3 changed files with 9 additions and 45 deletions
|
@ -1,14 +1,18 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= xf86-video-tdfx
|
||||
PORTVERSION= 1.4.7
|
||||
PORTREVISION= 4
|
||||
PORTVERSION= 1.5.0
|
||||
CATEGORIES= x11-drivers
|
||||
|
||||
MAINTAINER= x11@FreeBSD.org
|
||||
COMMENT= X.Org tdfx display driver
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= gl
|
||||
USE_GL= gl
|
||||
|
||||
XORG_CAT= driver
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1484715181
|
||||
SHA256 (xorg/driver/xf86-video-tdfx-1.4.7.tar.bz2) = 4cf48ee14ead52b23493c3dce5032496fd68bf1d000170bb138730497e212a42
|
||||
SIZE (xorg/driver/xf86-video-tdfx-1.4.7.tar.bz2) = 372249
|
||||
TIMESTAMP = 1560184337
|
||||
SHA256 (xorg/driver/xf86-video-tdfx-1.5.0.tar.bz2) = 2f4580e1f66901dd578d6e1f73df8150fd4b8480eb0c9653d4c5d8e0f8e78561
|
||||
SIZE (xorg/driver/xf86-video-tdfx-1.5.0.tar.bz2) = 371315
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
# Correct types in a few format strings
|
||||
#
|
||||
--- src/tdfx_driver.c.orig 2015-02-22 21:25:54 UTC
|
||||
+++ src/tdfx_driver.c
|
||||
@@ -636,30 +636,30 @@ TDFXInitChips(ScrnInfoPtr pScrn)
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 3,
|
||||
"TDFXInitChips: numchips = %d\n", pTDFX->numChips);
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 3,
|
||||
- "TDFXInitChips: cfgbits = 0x%08lx, initbits = 0x%08lx\n",
|
||||
+ "TDFXInitChips: cfgbits = 0x%08x, initbits = 0x%08x\n",
|
||||
cfgbits, initbits);
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 3,
|
||||
- "TDFXInitChips: mem0base = 0x%08lx, mem1base = 0x%08lx\n",
|
||||
+ "TDFXInitChips: mem0base = 0x%08x, mem1base = 0x%08x\n",
|
||||
mem0base, mem1base);
|
||||
|
||||
mem0size = 32 * 1024 * 1024; /* Registers are always 32MB */
|
||||
mem1size = pScrn->videoRam * 1024 * 2; /* Linear mapping is 2x memory */
|
||||
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 3,
|
||||
- "TDFXInitChips: mem0size = 0x%08lx, mem1size = 0x%08lx\n",
|
||||
+ "TDFXInitChips: mem0size = 0x%08x, mem1size = 0x%08x\n",
|
||||
mem0size, mem1size);
|
||||
|
||||
mem0bits = TDFXSizeToCfg(mem0size);
|
||||
mem1bits = TDFXSizeToCfg(mem1size) << 4;
|
||||
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 3,
|
||||
- "TDFXInitChips: mem0bits = 0x%08lx, mem1bits = 0x%08lx\n",
|
||||
+ "TDFXInitChips: mem0bits = 0x%08x, mem1bits = 0x%08x\n",
|
||||
mem0bits, mem1bits);
|
||||
|
||||
cfgbits = (cfgbits & ~(0xFF)) | mem0bits | mem1bits;
|
||||
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 3,
|
||||
- "TDFXInitChips: cfgbits = 0x%08lx\n", cfgbits);
|
||||
+ "TDFXInitChips: cfgbits = 0x%08x\n", cfgbits);
|
||||
|
||||
for (i = 0; i < pTDFX->numChips; i++) {
|
||||
PCI_WRITE_LONG(initbits | BIT(10), CFG_INIT_ENABLE, i);
|
Loading…
Reference in a new issue