From b44a95da23de57a722104bc82ba4658065d09522 Mon Sep 17 00:00:00 2001 From: Fredrik Rinnestam Date: Sat, 9 Mar 2013 15:43:02 +0100 Subject: [PATCH] xorg-xf86-video-tga: buildfix for xorg-xserver 1.14 --- xorg-xf86-video-tga/.md5sum | 1 + xorg-xf86-video-tga/Pkgfile | 6 +++--- xorg-xf86-video-tga/mibstore.patch | 31 ++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 xorg-xf86-video-tga/mibstore.patch diff --git a/xorg-xf86-video-tga/.md5sum b/xorg-xf86-video-tga/.md5sum index 07948d0e..98841973 100644 --- a/xorg-xf86-video-tga/.md5sum +++ b/xorg-xf86-video-tga/.md5sum @@ -1 +1,2 @@ +ca6ff2deeb9822adf57e75d47ec2d90c mibstore.patch f77d66e86ed0485b204b17e734aa47df xf86-video-tga-1.2.2.tar.bz2 diff --git a/xorg-xf86-video-tga/Pkgfile b/xorg-xf86-video-tga/Pkgfile index 5e407a52..52833081 100644 --- a/xorg-xf86-video-tga/Pkgfile +++ b/xorg-xf86-video-tga/Pkgfile @@ -5,12 +5,12 @@ name=xorg-xf86-video-tga version=1.2.2 -release=1 -source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-tga-$version.tar.bz2) +release=2 +source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-tga-$version.tar.bz2 mibstore.patch) build() { cd xf86-video-tga-$version - + patch -p1 -i $SRC/mibstore.patch ./configure --prefix=/usr make diff --git a/xorg-xf86-video-tga/mibstore.patch b/xorg-xf86-video-tga/mibstore.patch new file mode 100644 index 00000000..53144156 --- /dev/null +++ b/xorg-xf86-video-tga/mibstore.patch @@ -0,0 +1,31 @@ +diff -rupN xf86-video-tga-1.2.2-orig/src/tga_accel.c xf86-video-tga-1.2.2/src/tga_accel.c +--- xf86-video-tga-1.2.2-orig/src/tga_accel.c 2013-03-09 15:25:10.281170192 +0100 ++++ xf86-video-tga-1.2.2/src/tga_accel.c 2013-03-09 15:25:33.688970603 +0100 +@@ -37,7 +37,6 @@ + #include "xf86cmap.h" + #include "mipointer.h" + +-#include "mibstore.h" + #include "miline.h" + + #include "tga_regs.h" +diff -rupN xf86-video-tga-1.2.2-orig/src/tga_driver.c xf86-video-tga-1.2.2/src/tga_driver.c +--- xf86-video-tga-1.2.2-orig/src/tga_driver.c 2013-03-09 15:25:10.281170192 +0100 ++++ xf86-video-tga-1.2.2/src/tga_driver.c 2013-03-09 15:25:46.120395683 +0100 +@@ -46,8 +46,6 @@ + + /* software cursor */ + #include "mipointer.h" +-/* backing store */ +-#include "mibstore.h" + + /* #include "mibank.h" */ + /* colormap manipulation */ +@@ -1451,7 +1449,6 @@ TGAScreenInit(SCREEN_INIT_ARGS_DECL) + + fbPictureInit (pScreen, 0, 0); + +- miInitializeBackingStore(pScreen); + xf86SetBackingStore(pScreen); + xf86SetSilkenMouse(pScreen); +