mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 10:07:15 +08:00
xorg update: updated xf86-video-tdfx, added patch from Arch
This commit is contained in:
parent
32a830b938
commit
2029a33633
@ -4,24 +4,29 @@
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=xf86-video-tdfx
|
||||
pkgver=1.4.4
|
||||
pkgrel=2
|
||||
pkgver=1.4.5
|
||||
pkgrel=1
|
||||
pkgdesc="X.org tdfx video driver"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://xorg.freedesktop.org/"
|
||||
license=('custom')
|
||||
depends=('glibc')
|
||||
makedepends=('xorg-server>=1.12.3')
|
||||
makedepends=('xorg-server>=1.12.3' 'xf86driproto' 'resourceproto' 'scrnsaverproto')
|
||||
conflicts=('xorg-server<1.12.3')
|
||||
options=(!libtool)
|
||||
groups=('xorg-video-drivers')
|
||||
source=("${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2")
|
||||
md5sums=('890d6c96c12e91e22b4ceaa9ef93b442')
|
||||
source=("${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2" "git-fixes.patch")
|
||||
md5sums=('1b4a7815a604b3764900b520336a75ea'
|
||||
'0ecba5bb7ffc81fea7646bf8ea377832')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
patch -Np1 < ${srcdir}/git-fixes.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr --disable-dri
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
|
32
xf86-video-tdfx/git-fixes.patch
Normal file
32
xf86-video-tdfx/git-fixes.patch
Normal file
@ -0,0 +1,32 @@
|
||||
From 10498d2730c651eb7a1890eb9e728269732e9dad Mon Sep 17 00:00:00 2001
|
||||
From: Adam Jackson <ajax@redhat.com>
|
||||
Date: Tue, 25 Sep 2012 12:54:59 +0000
|
||||
Subject: Remove mibstore.h
|
||||
|
||||
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||
---
|
||||
diff --git a/src/tdfx_driver.c b/src/tdfx_driver.c
|
||||
index ddd5431..412da07 100644
|
||||
--- a/src/tdfx_driver.c
|
||||
+++ b/src/tdfx_driver.c
|
||||
@@ -62,10 +62,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "compiler.h"
|
||||
|
||||
-/* Drivers using the mi implementation of backing store need: */
|
||||
-
|
||||
-#include "mibstore.h"
|
||||
-
|
||||
/* All drivers using the vgahw module need this */
|
||||
/* This driver needs to be modified to not use vgaHW for multihead operation */
|
||||
#include "vgaHW.h"
|
||||
@@ -2373,7 +2369,6 @@ TDFXScreenInit(SCREEN_INIT_ARGS_DECL) {
|
||||
}
|
||||
}
|
||||
|
||||
- miInitializeBackingStore(pScreen);
|
||||
xf86SetBackingStore(pScreen);
|
||||
xf86SetSilkenMouse(pScreen);
|
||||
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
Loading…
Reference in New Issue
Block a user