Revision: 5218
Author: pebender
Date: Thu Jul 23 11:34:10 2009
Log: - Patched the lirc_i2c driver so that it compiles against the  
2.6.31-rc4 kernel.


http://code.google.com/p/minimyth/source/detail?r=5218

Added:
   
/trunk/gar-minimyth/script/system/lirc/files/lirc-20090715Z-kernel_2.6.31.patch
Modified:
  /trunk/gar-minimyth/script/system/lirc/Makefile
  /trunk/gar-minimyth/script/system/lirc/checksums

=======================================
--- /dev/null
+++  
/trunk/gar-minimyth/script/system/lirc/files/lirc-20090715Z-kernel_2.6.31.patch 
 
Thu Jul 23 11:34:10 2009
@@ -0,0 +1,13 @@
+diff -Naur lirc-20090715Z-old/drivers/lirc_i2c/lirc_i2c.c  
lirc-20090715Z-new/drivers/lirc_i2c/lirc_i2c.c
+--- lirc-20090715Z-old/drivers/lirc_i2c/lirc_i2c.c     2009-07-07  
08:39:06.000000000 -0700
++++ lirc-20090715Z-new/drivers/lirc_i2c/lirc_i2c.c     2009-07-23  
11:31:02.000000000 -0700
+@@ -567,7 +567,9 @@
+
+       if (retval < 0) {
+               printk(KERN_ERR "lirc_i2c: failed to register driver!\n");
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26)
+               i2c_detach_client(&ir->c);
++#endif
+               kfree(ir);
+               return retval;
+       }
=======================================
--- /trunk/gar-minimyth/script/system/lirc/Makefile     Fri Jul 17 11:08:21 2009
+++ /trunk/gar-minimyth/script/system/lirc/Makefile     Thu Jul 23 11:34:10 2009
@@ -5,7 +5,7 @@
  #MASTER_SITES = http://www.lirc.org/software/snapshots/
  MASTER_SITES =  
cvs://anonym...@$(GARNAME).cvs.sourceforge.net:/cvsroot/$(GARNAME)/
  DISTFILES = $(DISTNAME).tar.bz2
-PATCHFILES = $(DISTNAME)-no_python.patch  
$(DISTNAME)-remove_smp_unsafe_drivers.patch $(DISTNAME)-input_map.patch.gar
+PATCHFILES = $(DISTNAME)-kernel_2.6.31.patch $(DISTNAME)-no_python.patch  
$(DISTNAME)-remove_smp_unsafe_drivers.patch $(DISTNAME)-input_map.patch.gar
  LICENSE = GPL2

  DESCRIPTION =
=======================================
--- /trunk/gar-minimyth/script/system/lirc/checksums    Tue Jul 14 20:38:59  
2009
+++ /trunk/gar-minimyth/script/system/lirc/checksums    Thu Jul 23 11:34:10  
2009
@@ -1,3 +1,4 @@
  3d4b1e3bfbdfb2c1d98db53732fa875b  download/lirc-20090715Z-no_python.patch
+b075a9eb3e5fec83915ff46c22d0110a   
download/lirc-20090715Z-kernel_2.6.31.patch
  a8ccdb35f50a74c687e5ec1a597565bf   
download/lirc-20090715Z-remove_smp_unsafe_drivers.patch
  86d9ad1ca0e728c33eab4c733ad934b2   
download/lirc-20090715Z-input_map.patch.gar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to