[Lunar-commits] <moonbase> libifp: Adding a patch to compile with kernels 2.6.31 or greater.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sat Mar 13 19:26:39 CET 2010


commit 7ddc206635c9c5717cddae7719630640dc79e128
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat Mar 13 13:26:39 2010 -0500

    libifp: Adding a patch to compile with kernels 2.6.31 or greater.
---
 audio/libifp/BUILD   |    6 +++++-
 audio/libifp/DETAILS |    5 ++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/audio/libifp/BUILD b/audio/libifp/BUILD
index 673895c..71445ba 100644
--- a/audio/libifp/BUILD
+++ b/audio/libifp/BUILD
@@ -1,11 +1,15 @@
 (
 
+  cd .. &&
+  patch -p0 < /home/dveatch/libifp-module-1.0.0.2-kernel-2.6.31.patch &&
+  cd $SOURCE_DIRECTORY &&
+
   # Yeah, I know it looks redundant to specify the libusb path BUT
   # it's configure script cannot find it otherwise.
   # In fact ifp.h does ot get built unless ALL these are specified.
   OPTS="--enable-examples              \
         --with-libusb=/usr             \
-        --with-kmodule=/usr/src/linux"
+        --with-kmodule=/usr/src/linux" &&
 
   default_build
 
diff --git a/audio/libifp/DETAILS b/audio/libifp/DETAILS
index 09f91e9..da807d6 100644
--- a/audio/libifp/DETAILS
+++ b/audio/libifp/DETAILS
@@ -1,11 +1,14 @@
           MODULE=libifp
          VERSION=1.0.0.2
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=libifp-module-1.0.0.2-kernel-2.6.31.patch
       SOURCE_URL=$SFORGE_URL/ifp-driver/
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:3bd2808f8b5fce9234764b84bc6f65d666381086
+     SOURCE2_VFY=sha1:c373091e5721c96b26cfb2c5a06df1e1db01875e
         WEB_SITE=http://ifp-driver.sourceforge.net/
          ENTERED=20060712
-         UPDATED=20060712
+         UPDATED=20100313
            SHORT="a generic iFP support library"
 
 cat << EOF


More information about the Lunar-commits mailing list