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

This commit is contained in:
Fredrik Rinnestam 2013-03-09 15:35:21 +01:00
parent 4bdfc60d05
commit 77d997344a
3 changed files with 38 additions and 3 deletions
xorg-xf86-video-geode

@ -1 +1,2 @@
c4e67cb833ea51163bd7e9b25c4ab28a mibstore.patch
c9a4e1c5438240e5bdce332f92df9163 xf86-video-geode-2.11.14.tar.bz2

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

@ -0,0 +1,34 @@
diff -rupN xf86-video-geode-2.11.14-orig/src/geode_driver.c xf86-video-geode-2.11.14/src/geode_driver.c
--- xf86-video-geode-2.11.14-orig/src/geode_driver.c 2013-03-09 15:16:56.957299445 +0100
+++ xf86-video-geode-2.11.14/src/geode_driver.c 2013-03-09 15:17:49.260088291 +0100
@@ -59,8 +59,6 @@
/* Machine independent stuff */
#include "mipointer.h"
#include "micmap.h"
-/* All drivers implementing backing store need this */
-#include "mibstore.h"
#include "vgaHW.h"
#include "vbe.h"
diff -rupN xf86-video-geode-2.11.14-orig/src/gx_driver.c xf86-video-geode-2.11.14/src/gx_driver.c
--- xf86-video-geode-2.11.14-orig/src/gx_driver.c 2013-03-09 15:16:56.957299445 +0100
+++ xf86-video-geode-2.11.14/src/gx_driver.c 2013-03-09 15:18:18.461086994 +0100
@@ -1350,7 +1350,6 @@ GXScreenInit(SCREEN_INIT_ARGS_DECL)
if (!pGeode->NoAccel)
GXAccelInit(pScrn);
- miInitializeBackingStore(pScrn);
xf86SetBackingStore(pScrn);
/* Set up the soft cursor */
diff -rupN xf86-video-geode-2.11.14-orig/src/lx_driver.c xf86-video-geode-2.11.14/src/lx_driver.c
--- xf86-video-geode-2.11.14-orig/src/lx_driver.c 2013-03-09 15:16:56.956299411 +0100
+++ xf86-video-geode-2.11.14/src/lx_driver.c 2013-03-09 15:18:26.861374290 +0100
@@ -932,7 +932,6 @@ LXScreenInit(SCREEN_INIT_ARGS_DECL)
if (!pGeode->NoAccel)
pGeode->NoAccel = LXExaInit(pScrn) ? FALSE : TRUE;
- miInitializeBackingStore(pScrn);
xf86SetBackingStore(pScrn);
/* Set up the soft cursor */