pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xf86-video-vesa Add patch to stop core dumping whe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e8769c571e8a
branches: trunk
changeset: 531576:e8769c571e8a
user: sborrill <sborrill%pkgsrc.org@localhost>
date: Thu Aug 02 14:15:18 2007 +0000
description:
Add patch to stop core dumping when switching resolutions with xrandr.
From:
http://www.redhat.com/archives/fedora-cvs-commits/2006-July/msg03489.html
OK joerg@
diffstat:
x11/xf86-video-vesa/Makefile | 3 ++-
x11/xf86-video-vesa/distinfo | 3 ++-
x11/xf86-video-vesa/patches/patch-aa | 21 +++++++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
diffs (49 lines):
diff -r fa0b50d11a81 -r e8769c571e8a x11/xf86-video-vesa/Makefile
--- a/x11/xf86-video-vesa/Makefile Thu Aug 02 13:54:34 2007 +0000
+++ b/x11/xf86-video-vesa/Makefile Thu Aug 02 14:15:18 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2007/03/20 15:04:29 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/08/02 14:15:18 sborrill Exp $
#
DISTNAME= xf86-video-vesa-1.3.0
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/driver/
EXTRACT_SUFX= .tar.bz2
diff -r fa0b50d11a81 -r e8769c571e8a x11/xf86-video-vesa/distinfo
--- a/x11/xf86-video-vesa/distinfo Thu Aug 02 13:54:34 2007 +0000
+++ b/x11/xf86-video-vesa/distinfo Thu Aug 02 14:15:18 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/03/09 22:03:25 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2007/08/02 14:15:18 sborrill Exp $
SHA1 (xf86-video-vesa-1.3.0.tar.bz2) = 09d74f838c07c58b6eba3600f3afa5fb74420ff4
RMD160 (xf86-video-vesa-1.3.0.tar.bz2) = d75e863733a8803a442f74f3f9ecedce1506e05b
Size (xf86-video-vesa-1.3.0.tar.bz2) = 237759 bytes
+SHA1 (patch-aa) = 9a60c79ef6cbf10356eb5fb6eb8712b69d12ea99
diff -r fa0b50d11a81 -r e8769c571e8a x11/xf86-video-vesa/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-vesa/patches/patch-aa Thu Aug 02 14:15:18 2007 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2007/08/02 14:15:18 sborrill Exp $
+
+--- src/vesa.c.orig 2007-08-02 14:28:14.000000000 +0100
++++ src/vesa.c 2007-08-02 14:35:09.000000000 +0100
+@@ -1049,15 +1049,7 @@
+ VESASwitchMode(int scrnIndex, DisplayModePtr pMode, int flags)
+ {
+ ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
+- VESAPtr pVesa = VESAGetRec(pScrn);
+- Bool ret;
+-
+- if (pVesa->ModeSetClearScreen)
+- pScrn->EnableDisableFBAccess(scrnIndex,FALSE);
+- ret = VESASetMode(xf86Screens[scrnIndex], pMode);
+- if (pVesa->ModeSetClearScreen)
+- pScrn->EnableDisableFBAccess(scrnIndex,TRUE);
+- return ret;
++ return VESASetMode(pScrn, pMode);
+ }
+
+ /* Set a graphics mode */
Home |
Main Index |
Thread Index |
Old Index