pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xf86-video-savage xf86-video-savage: fix build wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46c43765f38e
branches:  trunk
changeset: 380699:46c43765f38e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 20 07:30:09 2018 +0000

description:
xf86-video-savage: fix build with modular-xorg-server-1.20

diffstat:

 x11/xf86-video-savage/distinfo                           |   3 +-
 x11/xf86-video-savage/patches/patch-src_savage__driver.c |  17 ++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r f492636a186b -r 46c43765f38e x11/xf86-video-savage/distinfo
--- a/x11/xf86-video-savage/distinfo    Sun May 20 07:27:31 2018 +0000
+++ b/x11/xf86-video-savage/distinfo    Sun May 20 07:30:09 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.12 2017/01/18 20:19:57 wiz Exp $
+$NetBSD: distinfo,v 1.13 2018/05/20 07:30:09 wiz Exp $
 
 SHA1 (xf86-video-savage-2.3.9.tar.bz2) = 5896fc5560c4b7242a5d3df2e6840f09f4995a4c
 RMD160 (xf86-video-savage-2.3.9.tar.bz2) = 03c5d5476195dd5a32ff70c8886400d7941cbd1b
 SHA512 (xf86-video-savage-2.3.9.tar.bz2) = 35fe52651fe5799bbbc6e7b3608a655102547e8f8f2189288d3f5b477f819bfc56a9a8eef39813ca455e56076e4f7c36304480c3ccddbac6c794672828cf705a
 Size (xf86-video-savage-2.3.9.tar.bz2) = 433686 bytes
+SHA1 (patch-src_savage__driver.c) = 4e0013b11daceffd00e545a3006922d4fb9ad4c0
diff -r f492636a186b -r 46c43765f38e x11/xf86-video-savage/patches/patch-src_savage__driver.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-savage/patches/patch-src_savage__driver.c  Sun May 20 07:30:09 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_savage__driver.c,v 1.3 2018/05/20 07:30:09 wiz Exp $
+
+Fix build with modular-xorg-server-1.20
+
+--- src/savage_driver.c.orig   2017-01-17 22:43:40.000000000 +0000
++++ src/savage_driver.c
+@@ -2034,8 +2034,10 @@ static Bool SavagePreInit(ScrnInfoPtr pS
+     xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Detected current MCLK value of %1.3f MHz\n",
+              mclk / 1000.0);
+ 
++#if 0
+     pScrn->maxHValue = 2048 << 3;     /* 11 bits of h_total 8-pixel units */
+     pScrn->maxVValue = 2048;          /* 11 bits of v_total */
++#endif
+     pScrn->virtualX = pScrn->display->virtualX;
+     pScrn->virtualY = pScrn->display->virtualY;
+ 



Home | Main Index | Thread Index | Old Index