diff options
author | sborrill <sborrill> | 2007-08-02 14:15:18 +0000 |
---|---|---|
committer | sborrill <sborrill> | 2007-08-02 14:15:18 +0000 |
commit | 05f7b22c17319918222d46c7d090432fa186ca6d (patch) | |
tree | 499b45693d2fc53b5cd3bb4327540669c63ed812 /x11/xf86-video-vesa | |
parent | 4bff00aff3ede9d0f0c4d970454142d392932b62 (diff) | |
download | pkgsrc-05f7b22c17319918222d46c7d090432fa186ca6d.tar.gz |
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 (limited to 'x11/xf86-video-vesa')
-rw-r--r-- | x11/xf86-video-vesa/Makefile | 3 | ||||
-rw-r--r-- | x11/xf86-video-vesa/distinfo | 3 | ||||
-rw-r--r-- | x11/xf86-video-vesa/patches/patch-aa | 21 |
3 files changed, 25 insertions, 2 deletions
diff --git a/x11/xf86-video-vesa/Makefile b/x11/xf86-video-vesa/Makefile index 71f5a88c5b0..550694821ca 100644 --- a/x11/xf86-video-vesa/Makefile +++ b/x11/xf86-video-vesa/Makefile @@ -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 --git a/x11/xf86-video-vesa/distinfo b/x11/xf86-video-vesa/distinfo index fea8d62c9df..cb26a1c5491 100644 --- a/x11/xf86-video-vesa/distinfo +++ b/x11/xf86-video-vesa/distinfo @@ -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 --git a/x11/xf86-video-vesa/patches/patch-aa b/x11/xf86-video-vesa/patches/patch-aa new file mode 100644 index 00000000000..78b240f107d --- /dev/null +++ b/x11/xf86-video-vesa/patches/patch-aa @@ -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 */ |