pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xf86-video-neomagic Update to 1.2.9:
details: https://anonhg.NetBSD.org/pkgsrc/rev/43c6e880d25e
branches: trunk
changeset: 651622:43c6e880d25e
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri May 08 11:43:12 2015 +0000
description:
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:
x11/xf86-video-neomagic/Makefile | 5 +-
x11/xf86-video-neomagic/distinfo | 9 +-
x11/xf86-video-neomagic/patches/patch-src_neo__driver.c | 92 -----------------
3 files changed, 6 insertions(+), 100 deletions(-)
diffs (123 lines):
diff -r d857356becaf -r 43c6e880d25e x11/xf86-video-neomagic/Makefile
--- a/x11/xf86-video-neomagic/Makefile Fri May 08 11:37:32 2015 +0000
+++ b/x11/xf86-video-neomagic/Makefile Fri May 08 11:43:12 2015 +0000
@@ -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 -r d857356becaf -r 43c6e880d25e x11/xf86-video-neomagic/distinfo
--- a/x11/xf86-video-neomagic/distinfo Fri May 08 11:37:32 2015 +0000
+++ b/x11/xf86-video-neomagic/distinfo Fri May 08 11:43:12 2015 +0000
@@ -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 -r d857356becaf -r 43c6e880d25e x11/xf86-video-neomagic/patches/patch-src_neo__driver.c
--- a/x11/xf86-video-neomagic/patches/patch-src_neo__driver.c Fri May 08 11:37:32 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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@localhost>
-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@localhost>
-
-From 74a9a343f6e156d24539b81f1224b7410acf0e38 Mon Sep 17 00:00:00 2001
-From: Adam Jackson <ajax%redhat.com@localhost>
-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@localhost>
-
-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);
Home |
Main Index |
Thread Index |
Old Index