Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2017 00:37:06 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432179 - in head/x11-drivers/xf86-video-tdfx: . files
Message-ID:  <201701230037.v0N0b6YU014749@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 23 00:37:05 2017
New Revision: 432179
URL: https://svnweb.freebsd.org/changeset/ports/432179

Log:
  Update to 1.4.7
  
  PR:		216295
  Submitted by:	matthew@reztek.cz

Added:
  head/x11-drivers/xf86-video-tdfx/files/
  head/x11-drivers/xf86-video-tdfx/files/patch-src_tdfx__dri.c   (contents, props changed)
  head/x11-drivers/xf86-video-tdfx/files/patch-src_tdfx__driver.c   (contents, props changed)
Modified:
  head/x11-drivers/xf86-video-tdfx/Makefile
  head/x11-drivers/xf86-video-tdfx/distinfo

Modified: head/x11-drivers/xf86-video-tdfx/Makefile
==============================================================================
--- head/x11-drivers/xf86-video-tdfx/Makefile	Mon Jan 23 00:33:12 2017	(r432178)
+++ head/x11-drivers/xf86-video-tdfx/Makefile	Mon Jan 23 00:37:05 2017	(r432179)
@@ -1,16 +1,13 @@
 # $FreeBSD$
 
 PORTNAME=	xf86-video-tdfx
-PORTVERSION=	1.4.6
-PORTREVISION=	1
+PORTVERSION=	1.4.7
 CATEGORIES=	x11-drivers
 
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	X.Org tdfx display driver
 
 USE_GL=		gl
-
 XORG_CAT=	driver
-USE_XORG=	xf86driproto glproto
 
 .include <bsd.port.mk>

Modified: head/x11-drivers/xf86-video-tdfx/distinfo
==============================================================================
--- head/x11-drivers/xf86-video-tdfx/distinfo	Mon Jan 23 00:33:12 2017	(r432178)
+++ head/x11-drivers/xf86-video-tdfx/distinfo	Mon Jan 23 00:37:05 2017	(r432179)
@@ -1,2 +1,3 @@
-SHA256 (xorg/driver/xf86-video-tdfx-1.4.6.tar.bz2) = 3a8a88867c40ad61f1c9a09ffd7ac64102fa821685855d50ce66c7603dcc6d37
-SIZE (xorg/driver/xf86-video-tdfx-1.4.6.tar.bz2) = 368300
+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

Added: head/x11-drivers/xf86-video-tdfx/files/patch-src_tdfx__dri.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-drivers/xf86-video-tdfx/files/patch-src_tdfx__dri.c	Mon Jan 23 00:37:05 2017	(r432179)
@@ -0,0 +1,13 @@
+# Correct type in a format string
+#
+--- src/tdfx_dri.c.orig	2015-02-22 21:25:54 UTC
++++ src/tdfx_dri.c
+@@ -454,7 +454,7 @@ Bool TDFXDRIScreenInit(ScreenPtr pScreen
+     xf86DrvMsg(pScreen->myNum, X_ERROR, "drmAddMap failed, disabling DRI.\n");
+     return FALSE;
+   }
+-  xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] Registers = 0x%08x\n",
++  xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] Registers = 0x%08lx\n",
+ 	       pTDFXDRI->regs);
+ 
+   if (!(TDFXInitVisualConfigs(pScreen))) {

Added: head/x11-drivers/xf86-video-tdfx/files/patch-src_tdfx__driver.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-drivers/xf86-video-tdfx/files/patch-src_tdfx__driver.c	Mon Jan 23 00:37:05 2017	(r432179)
@@ -0,0 +1,40 @@
+# 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701230037.v0N0b6YU014749>