diff options
author | wiz <wiz@pkgsrc.org> | 2015-05-08 11:43:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-05-08 11:43:12 +0000 |
commit | e480a91d682d7d06d6da91842a90fd8056e3b217 (patch) | |
tree | c72b74ad3ae9e122c74efff8a9e7d1bc245283df /x11 | |
parent | 9a501fb1d9b859b5361f6b05bd13c5261837833a (diff) | |
download | pkgsrc-e480a91d682d7d06d6da91842a90fd8056e3b217.tar.gz |
Update to 1.2.9:
Adam Jackson (1):
Use own thunk functions instead of vgaHW*Weak
Dave Airlie (1):
neomagic: fix build against master X server.
Julien Cristau (2):
Fix compiler warning with recent X servers
Bump to 1.2.9
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xf86-video-neomagic/Makefile | 5 | ||||
-rw-r--r-- | x11/xf86-video-neomagic/distinfo | 9 | ||||
-rw-r--r-- | x11/xf86-video-neomagic/patches/patch-src_neo__driver.c | 92 |
3 files changed, 6 insertions, 100 deletions
diff --git a/x11/xf86-video-neomagic/Makefile b/x11/xf86-video-neomagic/Makefile index aa7894685c3..727191c306c 100644 --- a/x11/xf86-video-neomagic/Makefile +++ b/x11/xf86-video-neomagic/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2015/04/25 14:25:22 tnn Exp $ +# $NetBSD: Makefile,v 1.18 2015/05/08 11:43:12 wiz Exp $ -DISTNAME= xf86-video-neomagic-1.2.8 -PKGREVISION= 3 +DISTNAME= xf86-video-neomagic-1.2.9 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XORG:=driver/} EXTRACT_SUFX= .tar.bz2 diff --git a/x11/xf86-video-neomagic/distinfo b/x11/xf86-video-neomagic/distinfo index e4cdf55df8d..7d0e46b1202 100644 --- a/x11/xf86-video-neomagic/distinfo +++ b/x11/xf86-video-neomagic/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.7 2015/04/02 22:16:47 tnn Exp $ +$NetBSD: distinfo,v 1.8 2015/05/08 11:43:12 wiz Exp $ -SHA1 (xf86-video-neomagic-1.2.8.tar.bz2) = 281a70cc89fb39ae91deb4a16c46026b63bbd060 -RMD160 (xf86-video-neomagic-1.2.8.tar.bz2) = 43f659053041727d9451941751f1b03213f16886 -Size (xf86-video-neomagic-1.2.8.tar.bz2) = 334223 bytes -SHA1 (patch-src_neo__driver.c) = 63bba9d9d9a5198ab886bf43a22a258a836e68ad +SHA1 (xf86-video-neomagic-1.2.9.tar.bz2) = 63762e9144926c0071f86a5a3c2bc88c02db5a4b +RMD160 (xf86-video-neomagic-1.2.9.tar.bz2) = 75ef28eb9dd43cb250dc419dbcbcc4c444e42965 +Size (xf86-video-neomagic-1.2.9.tar.bz2) = 340789 bytes diff --git a/x11/xf86-video-neomagic/patches/patch-src_neo__driver.c b/x11/xf86-video-neomagic/patches/patch-src_neo__driver.c deleted file mode 100644 index 3392d6cb730..00000000000 --- a/x11/xf86-video-neomagic/patches/patch-src_neo__driver.c +++ /dev/null @@ -1,92 +0,0 @@ -$NetBSD: patch-src_neo__driver.c,v 1.1 2015/04/02 22:16:47 tnn Exp $ - -From 6661bdd4551e4e63e983685464a277845aed3012 Mon Sep 17 00:00:00 2001 -From: Dave Airlie <airlied@gmail.com> -Date: Sun, 21 Sep 2014 09:51:37 +1000 -Subject: neomagic: fix build against master X server. - -Signed-off-by: Dave Airlie <airlied@redhat.com> - -From 74a9a343f6e156d24539b81f1224b7410acf0e38 Mon Sep 17 00:00:00 2001 -From: Adam Jackson <ajax@redhat.com> -Date: Wed, 21 May 2014 14:07:53 -0400 -Subject: Use own thunk functions instead of vgaHW*Weak - -I plan to remove the Weak functions from a future server - -Signed-off-by: Adam Jackson <ajax@redhat.com> - -diff --git a/src/neo_driver.c b/src/neo_driver.c -index 7e60f3e..1b0da34 100644 ---- src/neo_driver.c.orig 2013-08-16 18:10:25.000000000 +0000 -+++ src/neo_driver.c -@@ -1439,6 +1439,12 @@ NEOShadowInit(ScreenPtr pScreen) - return TRUE; - } - -+static Bool -+NEOSaveScreen(ScreenPtr pScreen, int mode) -+{ -+ return vgaHWSaveScreen(pScreen, mode); -+} -+ - /* Mandatory */ - static Bool - NEOScreenInit(SCREEN_INIT_ARGS_DECL) -@@ -1712,7 +1718,7 @@ NEOScreenInit(SCREEN_INIT_ARGS_DECL) - - NEOInitVideo(pScreen); - -- pScreen->SaveScreen = vgaHWSaveScreenWeak(); -+ pScreen->SaveScreen = NEOSaveScreen; - - /* Setup DPMS mode */ - if (nPtr->NeoChipset != NM2070) -@@ -1988,10 +1994,12 @@ neoMapMem(ScrnInfoPtr pScrn) - } - #endif - } else -+#ifdef VIDMEM_MMIO - nPtr->NeoMMIOBase = - xf86MapVidMem(pScrn->scrnIndex, - VIDMEM_MMIO, nPtr->NeoMMIOAddr, - 0x200000L); -+#endif - if (nPtr->NeoMMIOBase == NULL) - return FALSE; - } -@@ -2018,10 +2026,12 @@ neoMapMem(ScrnInfoPtr pScrn) - } - #endif - else -+#ifdef VIDMEM_FRAMEBUFFER - nPtr->NeoFbBase = - xf86MapVidMem(pScrn->scrnIndex, VIDMEM_FRAMEBUFFER, - (unsigned long)nPtr->NeoLinearAddr, - nPtr->NeoFbMapSize); -+#endif - if (nPtr->NeoFbBase == NULL) - return FALSE; - return TRUE; -@@ -3049,6 +3059,12 @@ neo_ddc1Read(ScrnInfoPtr pScrn) - return (tmp); - } - -+static void -+neo_ddc1SetSpeed(ScrnInfoPtr pScrn, xf86ddcSpeed speed) -+{ -+ vgaHWddc1SetSpeed(pScrn, speed); -+} -+ - static xf86MonPtr - neo_ddc1(ScrnInfoPtr pScrn) - { -@@ -3063,7 +3079,7 @@ neo_ddc1(ScrnInfoPtr pScrn) - VGAwCR(0x21,0x00); - VGAwCR(0x1D,0x01); /* some Voodoo */ - VGAwGR(0xA1,0x2F); -- ret = xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn),vgaHWddc1SetSpeedWeak(),neo_ddc1Read); -+ ret = xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn),neo_ddc1SetSpeed,neo_ddc1Read); - /* undo initialization */ - VGAwCR(0x21,reg1); - VGAwCR(0x1D,reg2); |