[arch-commits] Commit in martian/trunk (PKGBUILD kernel-2.6.39.patch)

Tobias Powalowski tpowa at archlinux.org
Fri May 20 14:05:42 UTC 2011


    Date: Friday, May 20, 2011 @ 10:05:42
  Author: tpowa
Revision: 124397

upgpkg: martian 20080625-17
rebuild against 2.6.39

Added:
  martian/trunk/kernel-2.6.39.patch
Modified:
  martian/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   15 +++++++++------
 kernel-2.6.39.patch |   12 ++++++++++++
 2 files changed, 21 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-05-20 13:18:49 UTC (rev 124396)
+++ PKGBUILD	2011-05-20 14:05:42 UTC (rev 124397)
@@ -4,22 +4,24 @@
 
 pkgname=martian
 pkgver=20080625
-pkgrel=16
+pkgrel=17
 pkgdesc="Alternative driver for the Agere Systems PCI WinModem."
 arch=('i686')
 url="http://martian.barrelsoutofbond.org/"
 license=("GPL" "custom:Agere Systems WinModem License")
-depends=('kernel26>=2.6.38' 'kernel26<2.6.39' 'martian-utils')
-makedepends=('kernel26-headers>=2.6.38' 'kernel26-headers<2.6.39')
+depends=('kernel26>=2.6.39' 'kernel26<2.6.40' 'martian-utils')
+makedepends=('kernel26-headers>=2.6.39' 'kernel26-headers<2.6.40')
 replaces=('ltmodem')
 options=(!strip)
 install=martian.install 
-source=(http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/martian-full-${pkgver}.tar.gz)
-_kernver=2.6.38-ARCH
+source=(http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/martian-full-${pkgver}.tar.gz
+        kernel-2.6.39.patch)
+_kernver=2.6.39-ARCH
 options=(!strip)
          
 build() { 
   cd $startdir/src/martian-full-$pkgver
+  patch -Np0 -i ../kernel-2.6.39.patch
   make KERNEL_DIR=/usr/src/linux-${_kernver} all
 }
 
@@ -29,4 +31,5 @@
   # gzip -9 modules
   find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
 }  
-md5sums=('7ecbf7d294c620b5382eb54e28d8bbbb')
+md5sums=('7ecbf7d294c620b5382eb54e28d8bbbb'
+         '7c09e190b4c7f21c996d12804677a904')

Added: kernel-2.6.39.patch
===================================================================
--- kernel-2.6.39.patch	                        (rev 0)
+++ kernel-2.6.39.patch	2011-05-20 14:05:42 UTC (rev 124397)
@@ -0,0 +1,12 @@
+--- kmodule/martian.old	2011-05-20 13:59:17.921974143 +0000
++++ kmodule/martian.c	2011-05-20 14:02:32.963231734 +0000
+@@ -37,7 +37,8 @@
+ #include <linux/bitops.h>
+ #include <linux/poll.h>
+ #include <linux/interrupt.h>
+-
++#include <linux/sched.h>
++#include <linux/wait.h>
+ #include "kmartian.h"
+ #include "../martian.h"
+ #include "marsio.h"




More information about the arch-commits mailing list