[arch-commits] CVS update of core/base/kernel26 (PKGBUILD winfast-2000.patch)

Tobias Powalowski tpowa at archlinux.org
Fri Jan 11 08:13:37 UTC 2008


    Date: Friday, January 11, 2008 @ 03:13:37
  Author: tpowa
    Path: /home/cvs-core/core/base/kernel26

   Added: winfast-2000.patch (1.1)
Modified: PKGBUILD (1.283 -> 1.284)

'upgpkg: update to new version'


--------------------+
 PKGBUILD           |   18 +++++++++++++-----
 winfast-2000.patch |   20 ++++++++++++++++++++
 2 files changed, 33 insertions(+), 5 deletions(-)


Index: core/base/kernel26/PKGBUILD
diff -u core/base/kernel26/PKGBUILD:1.283 core/base/kernel26/PKGBUILD:1.284
--- core/base/kernel26/PKGBUILD:1.283	Sat Dec 22 08:26:33 2007
+++ core/base/kernel26/PKGBUILD	Fri Jan 11 03:13:37 2008
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.283 2007/12/22 13:26:33 tpowa Exp $
+# $Id: PKGBUILD,v 1.284 2008/01/11 08:13:37 tpowa Exp $
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 # Maintainer: Thomas Baechler <thomas at archlinux.org>
 pkgname=kernel26
 _basekernel=2.6.23
-pkgver=2.6.23.12
-pkgrel=3
+pkgver=2.6.23.13
+pkgrel=1
 pkgdesc="The Linux Kernel and modules"
 arch=(i686 x86_64)
 license=('GPL2')
@@ -62,9 +62,11 @@
 	linux-phc-0.3.0-kernel-vanilla-2.6.23rc3.patch
 	# adding genpatches from gentoo
 	2405_hostap-netdev-type.patch
+	# fix Leadtek_WinFast_2000
+	winfast-2000.patch
 )
 md5sums=('2cc2fd4d521dc5d7cfce0d8a9d1b3472'
-         '5932b5043abe8ca1ac7ee1ed73fa5e91'
+         'ea24bb06e910537e7482c4a17c53f79f'
          '23f3fa43b0724e46963bfbfe4066e986'
          '5c60ef8e3e18735e1aa3ff31ca158eea'
          '5a62bcc7e96601052c7405459b483826'
@@ -86,7 +88,8 @@
          'b7e5e3ad9fae40eba0f1e91f49c31627'
          '19d8ed2579c18627ed4de1fd037a6652'
          'c273cf48f268ea205f483239e7f51073'
-         'd03807b1d61028a2d048152961b032a5')
+         'd03807b1d61028a2d048152961b032a5'
+         '9dd6078ef9426ef0dafa9bcfd042af58')
 
 build() {
   [ "${CARCH}" = "i686" ]   && KARCH=i386
@@ -153,6 +156,11 @@
   # sent in by: Hussam Al-Tayeb <ht990332 at gmail.com>
   patch -Np0 -i ../hibernate-saa7134.diff || return 1
 
+  # fix Leadtek_WinFast_2000
+  # in reference to: 
+  # http://www.linuxtv.org/v4lwiki/index.php/Leadtek_WinFast_2000
+  patch -Np0 -i ../winfast-2000.patch || return 1
+
   # adding some genpatches from gentoo, in reference to:
   # http://sources.gentoo.org/viewcvs.py/linux-patches/genpatches-2.6/trunk/2.6.23/
   patch -Np1 -i ../2405_hostap-netdev-type.patch || return 1
Index: core/base/kernel26/winfast-2000.patch
diff -u /dev/null core/base/kernel26/winfast-2000.patch:1.1
--- /dev/null	Fri Jan 11 03:13:37 2008
+++ core/base/kernel26/winfast-2000.patch	Fri Jan 11 03:13:37 2008
@@ -0,0 +1,20 @@
+--- drivers/media/video/bt8xx/bttv-input.c.orig	2006-10-15 18:57:11.000000000 +0300
++++ drivers/media/video/bt8xx/bttv-input.c	2006-10-15 18:28:08.000000000 +0300
+@@ -65,6 +65,8 @@
+ 	    (ir->mask_keyup    &&  (0 == (gpio & ir->mask_keyup)))) {
+ 		ir_input_keydown(ir->dev,&ir->ir,data,data);
+ 	} else {
++
++	        if (btv->c.type == BTTV_BOARD_WINFAST2000) ir_input_keydown(ir->dev,&ir->ir,data,data);
+ 		ir_input_nokey(ir->dev,&ir->ir);
+ 	}
+ 
+@@ -313,7 +315,7 @@
+ 
+ 	case BTTV_BOARD_WINFAST2000:
+ 		ir_codes         = ir_codes_winfast;
+-		ir->mask_keycode = 0x1f8;
++		ir->mask_keycode = 0x8f8;
+ 		break;
+ 	case BTTV_BOARD_MAGICTVIEW061:
+ 	case BTTV_BOARD_MAGICTVIEW063:




More information about the arch-commits mailing list