xorg-xf86-video-xgixp: buildfix for xorg-xserver 1.14

This commit is contained in:
Fredrik Rinnestam 2013-03-09 15:46:04 +01:00
parent 5890d17e39
commit dd49466066
3 changed files with 27 additions and 3 deletions

View File

@ -1 +1,2 @@
030488e46bb4ca72587b7511544a1126 mibstore.patch
590ec61b6368fee3805623958eb843cb xf86-video-xgixp-1.8.1.tar.bz2

View File

@ -5,12 +5,12 @@
name=xorg-xf86-video-xgixp
version=1.8.1
release=1
source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-xgixp-$version.tar.bz2)
release=2
source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-xgixp-$version.tar.bz2 mibstore.patch)
build() {
cd xf86-video-xgixp-$version
patch -p1 -i $SRC/mibstore.patch
./configure --prefix=/usr --mandir=/usr/man
make

View File

@ -0,0 +1,23 @@
diff -rupN xf86-video-xgixp-1.8.1-orig/src/xgi_driver.c xf86-video-xgixp-1.8.1/src/xgi_driver.c
--- xf86-video-xgixp-1.8.1-orig/src/xgi_driver.c 2013-03-09 15:29:16.335583456 +0100
+++ xf86-video-xgixp-1.8.1/src/xgi_driver.c 2013-03-09 15:30:53.721913145 +0100
@@ -53,8 +53,6 @@
/* initialise a SW cursor */
#include "mipointer.h"
-/* implementing backing store */
-#include "mibstore.h"
/* colormap initialization */
#include "micmap.h"
@@ -2041,10 +2039,6 @@ pScrn->pScreen = pScreen;
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "FB Manager init failed \n");
}
- /* If backing store is to be supported (as is usually the case), initialise it. */
- miInitializeBackingStore(pScreen);
- XGIDebug(DBG_FUNCTION, "[DBG] Jong 06142006-After miInitializeBackingStore()\n");
-
xf86SetBackingStore(pScreen);
XGIDebug(DBG_FUNCTION, "[DBG] Jong 06142006-After xf86SetBackingStore()\n");