[arch-commits] Commit in lirc/trunk (PKGBUILD kernel-2.6.27.patch lirc.install)

Thomas Baechler thomas at archlinux.org
Fri Oct 10 15:32:13 UTC 2008


    Date: Friday, October 10, 2008 @ 11:32:13
  Author: thomas
Revision: 14762

upgpkg: lirc 0.8.3-2

Added:
  lirc/trunk/kernel-2.6.27.patch
Modified:
  lirc/trunk/PKGBUILD
  lirc/trunk/lirc.install

---------------------+
 PKGBUILD            |   14 +++++++++-----
 kernel-2.6.27.patch |   24 ++++++++++++++++++++++++
 lirc.install        |    6 +++---
 3 files changed, 36 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-10 15:32:06 UTC (rev 14761)
+++ PKGBUILD	2008-10-10 15:32:13 UTC (rev 14762)
@@ -3,25 +3,29 @@
 
 pkgname=lirc
 pkgver=0.8.3
-pkgrel=1
-_kernver=2.6.26-ARCH
+pkgrel=2
+_kernver=2.6.27-ARCH
 pkgdesc="Linux Infrared Remote Control kernel modules for stock arch kernel"
 arch=(i686 x86_64)
 url="http://www.lirc.org/"
 license=('GPL')
-depends=('lirc-utils=0.8.3' 'kernel26>=2.6.26-1' 'kernel26<2.6.27')
+depends=('lirc-utils=0.8.3' 'kernel26>=2.6.27' 'kernel26<2.6.28')
 makedepends=('help2man')
 replaces=('lirc+pctv')
 options=('!makeflags')
 install=$pkgname.install
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
-	kernel-2.6.26.patch)
-md5sums=('8e78eeded7b31e5ad02e328970437c0f' '1753acd774f50b638e6173d364de53fd')
+	kernel-2.6.26.patch
+	kernel-2.6.27.patch)
+md5sums=('8e78eeded7b31e5ad02e328970437c0f'
+         '1753acd774f50b638e6173d364de53fd'
+         '851a7d2d2bd9b849d84cd5fab51dee24')
 
 build() {
 	# configure
 	cd $startdir/src/lirc-$pkgver || return 1
 	patch -Np1 -i ../kernel-2.6.26.patch || return 1
+	patch -Np1 -i ../kernel-2.6.27.patch || return 1
 
 	./configure --enable-sandboxed --prefix=/usr \
 		--with-driver=all --with-kerneldir=/usr/src/linux-${_kernver}/ \

Added: kernel-2.6.27.patch
===================================================================
--- kernel-2.6.27.patch	                        (rev 0)
+++ kernel-2.6.27.patch	2008-10-10 15:32:13 UTC (rev 14762)
@@ -0,0 +1,24 @@
+diff -Nur lirc-0.8.3.orig/drivers/lirc_dev/lirc_dev.c lirc-0.8.3/drivers/lirc_dev/lirc_dev.c
+--- lirc-0.8.3.orig/drivers/lirc_dev/lirc_dev.c	2008-01-13 11:45:02.000000000 +0100
++++ lirc-0.8.3/drivers/lirc_dev/lirc_dev.c	2008-10-10 16:29:15.000000000 +0200
+@@ -49,7 +49,7 @@
+ #include <linux/uaccess.h>
+ #include <linux/errno.h>
+ #endif
+-#include <asm/semaphore.h>
++#include <linux/semaphore.h>
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
+ #include <linux/wrapper.h>
+ #endif
+diff -Nur lirc-0.8.3.orig/drivers/lirc_i2c/lirc_i2c.c lirc-0.8.3/drivers/lirc_i2c/lirc_i2c.c
+--- lirc-0.8.3.orig/drivers/lirc_i2c/lirc_i2c.c	2008-05-04 15:49:53.000000000 +0200
++++ lirc-0.8.3/drivers/lirc_i2c/lirc_i2c.c	2008-10-10 16:29:00.000000000 +0200
+@@ -54,7 +54,7 @@
+ #include <linux/i2c.h>
+ #include <linux/i2c-algo-bit.h>
+ 
+-#include <asm/semaphore.h>
++#include <linux/semaphore.h>
+ 
+ #include "drivers/kcompat.h"
+ #include "drivers/lirc_dev/lirc_dev.h"

Modified: lirc.install
===================================================================
--- lirc.install	2008-10-10 15:32:06 UTC (rev 14761)
+++ lirc.install	2008-10-10 15:32:13 UTC (rev 14762)
@@ -10,7 +10,7 @@
 post_install() {
   # updating module dependencies
   echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.26-ARCH
+  KERNEL_VERSION=2.6.27-ARCH
   depmod -v $KERNEL_VERSION > /dev/null 2>&1
   /bin/true
 }
@@ -26,7 +26,7 @@
 post_upgrade() {
   # updating module dependencies
   echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.26-ARCH
+  KERNEL_VERSION=2.6.27-ARCH
   depmod -v $KERNEL_VERSION > /dev/null 2>&1
   /bin/true
 }
@@ -40,7 +40,7 @@
 post_remove() {
   # updating module dependencies
   echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.26-ARCH
+  KERNEL_VERSION=2.6.27-ARCH
   depmod -v $KERNEL_VERSION > /dev/null 2>&1
   /bin/true
 }




More information about the arch-commits mailing list