xorg-xf86-video-savage: build fix for ValidateTree hook removal
This commit is contained in:
parent
11d073f29d
commit
73db6c62bf
@ -1 +1,2 @@
|
||||
4a1703cddc924fb6e71952963a532ec7 remove-validatetree.patch
|
||||
e813271ab43cc6a95ac0ab252b90a885 xf86-video-savage-2.3.7.tar.bz2
|
||||
|
@ -5,12 +5,15 @@
|
||||
|
||||
name=xorg-xf86-video-savage
|
||||
version=2.3.7
|
||||
release=1
|
||||
source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-savage-$version.tar.bz2)
|
||||
release=2
|
||||
source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-savage-$version.tar.bz2 \
|
||||
remove-validatetree.patch)
|
||||
|
||||
build() {
|
||||
cd xf86-video-savage-$version
|
||||
|
||||
patch -p1 -i $SRC/remove-validatetree.patch
|
||||
|
||||
./configure --prefix=/usr --mandir=/usr/man
|
||||
|
||||
make
|
||||
|
24
xorg-xf86-video-savage/remove-validatetree.patch
Normal file
24
xorg-xf86-video-savage/remove-validatetree.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From d28cd83c7b0b4a943efbe5ddf257c8ee2646ea73 Mon Sep 17 00:00:00 2001
|
||||
From: Adam Jackson <ajax@redhat.com>
|
||||
Date: Tue, 29 Jul 2014 09:15:26 -0400
|
||||
Subject: dri: Stop (uselessly) initializing the ValidateTree hooks
|
||||
|
||||
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||
|
||||
diff --git a/src/savage_dri.c b/src/savage_dri.c
|
||||
index bdb78e4..0842821 100644
|
||||
--- a/src/savage_dri.c
|
||||
+++ b/src/savage_dri.c
|
||||
@@ -875,9 +875,6 @@ Bool SAVAGEDRIScreenInit( ScreenPtr pScreen )
|
||||
psav->coreWakeupHandler = pDRIInfo->wrap.WakeupHandler;
|
||||
pDRIInfo->wrap.WakeupHandler = SAVAGEWakeupHandler;
|
||||
|
||||
- pDRIInfo->wrap.ValidateTree = NULL;
|
||||
- pDRIInfo->wrap.PostValidateTree = NULL;
|
||||
-
|
||||
pDRIInfo->createDummyCtx = TRUE;
|
||||
pDRIInfo->createDummyCtxPriv = FALSE;
|
||||
|
||||
--
|
||||
cgit v0.10.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user