summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-savage/files/2.1.2-fix-respawn-crash.patch')
-rw-r--r--x11-drivers/xf86-video-savage/files/2.1.2-fix-respawn-crash.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-savage/files/2.1.2-fix-respawn-crash.patch b/x11-drivers/xf86-video-savage/files/2.1.2-fix-respawn-crash.patch
new file mode 100644
index 000000000000..f436afaeb7e3
--- /dev/null
+++ b/x11-drivers/xf86-video-savage/files/2.1.2-fix-respawn-crash.patch
@@ -0,0 +1,12 @@
+--- a/src/savage_driver.c
++++ b/src/savage_driver.c
+@@ -3088,6 +3088,9 @@ static Bool SavageScreenInit(int scrnInd
+
+ SavageEnableMMIO(pScrn);
+
++ if (!SavageMapMem(pScrn))
++ return FALSE;
++
+ psav->FBStart2nd = 0;
+
+ if (psav->overlayDepth) {