summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-04-19 19:36:42 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-04-19 19:36:42 (GMT)
commit3ec3017dfdbfb6eb626a86446b4aaed1cd4d0704 (patch)
tree01e81dfa9a8e2e1b12c98ed157e35b602020a9e4 /abs/core-testing
parentf151bf82e44fbbc90db0ab5f0ae6d55649fdbd2d (diff)
downloadlinhes_pkgbuild-3ec3017dfdbfb6eb626a86446b4aaed1cd4d0704.zip
linhes_pkgbuild-3ec3017dfdbfb6eb626a86446b4aaed1cd4d0704.tar.gz
linhes_pkgbuild-3ec3017dfdbfb6eb626a86446b4aaed1cd4d0704.tar.bz2
Initial inclusion, for PVR 350 tv out.
Diffstat (limited to 'abs/core-testing')
-rw-r--r--abs/core-testing/xf86-video-ivtvfb/PKGBUILD26
-rw-r--r--abs/core-testing/xf86-video-ivtvfb/xf86-video-ivtv-pagesize.patch20
2 files changed, 46 insertions, 0 deletions
diff --git a/abs/core-testing/xf86-video-ivtvfb/PKGBUILD b/abs/core-testing/xf86-video-ivtvfb/PKGBUILD
new file mode 100644
index 0000000..592a439
--- /dev/null
+++ b/abs/core-testing/xf86-video-ivtvfb/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: Andreas Baumann <abaumann@yahoo.com>
+
+pkgname=xf86-video-ivtvfb
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="xorg framebuffer driver for IVTV video cards"
+arch=('i686')
+url="http://ivtvdriver.org"
+license=('GPL')
+source=(http://dl.ivtvdriver.org/xf86-video-ivtv/archive/1.0.x/xf86-video-ivtv-1.0.1.tar.gz
+ xf86-video-ivtv-pagesize.patch
+ )
+
+md5sums=('c66a5cd5c12c3eab92751b310c1fd43e'
+ 'a32d2bf15f08bddebdbdd9b8534715c4')
+
+build() {
+ cd "$srcdir/xf86-video-ivtv-1.0.1"
+
+ patch -Np1 -i "$srcdir/xf86-video-ivtv-pagesize.patch" || return 1
+
+ ./configure --prefix=/usr
+
+ make || return 1
+ make DESTDIR=${pkgdir} install || return 1
+}
diff --git a/abs/core-testing/xf86-video-ivtvfb/xf86-video-ivtv-pagesize.patch b/abs/core-testing/xf86-video-ivtvfb/xf86-video-ivtv-pagesize.patch
new file mode 100644
index 0000000..61272f3
--- /dev/null
+++ b/abs/core-testing/xf86-video-ivtvfb/xf86-video-ivtv-pagesize.patch
@@ -0,0 +1,20 @@
+diff -rauN xf86-video-ivtv-1.0.1/src/ivtv_hw.c xf86-video-ivtv-pagesize-patch/src/ivtv_hw.c
+--- xf86-video-ivtv-1.0.1/src/ivtv_hw.c 2008-02-28 08:05:23.000000000 +0100
++++ xf86-video-ivtv-pagesize-patch/src/ivtv_hw.c 2009-02-14 18:07:01.000000000 +0100
+@@ -54,7 +54,6 @@
+
+ #include "xf86cmap.h"
+
+-#include "asm/page.h" /* #define for PAGE_* */
+ #include "globals.h"
+ #define DPMS_SERVER
+ #include <X11/extensions/dpms.h>
+@@ -570,7 +569,7 @@
+ ivtvHWMapVidmem(ScrnInfoPtr pScrn)
+ {
+ ivtvHWPtr hwPtr = IVTVDEVHWPTR(pScrn);
+- long page_mask = ~(sysconf(_SC_PAGESIZE) - 1);
++ long page_mask = ~(getpagesize() - 1);
+
+ TRACE_ENTER("MapVidmem");
+ if (NULL == hwPtr->fbmem) {