]> git.pld-linux.org Git - packages/eagle-usb.git/commitdiff
- patch for kernel 2.6.16
authorzbyniu <zbyniu@pld-linux.org>
Tue, 9 May 2006 18:47:37 +0000 (18:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eagle-usb-kill_owner.patch -> 1.1
    eagle-usb.spec -> 1.80

eagle-usb-kill_owner.patch [new file with mode: 0644]
eagle-usb.spec

diff --git a/eagle-usb-kill_owner.patch b/eagle-usb-kill_owner.patch
new file mode 100644 (file)
index 0000000..32a0127
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urp eagle-usb-2.3.3.org/driver/eu_main.c eagle-usb-2.3.3/driver/eu_main.c
+--- eagle-usb-2.3.3.org/driver/eu_main.c       2006-05-09 20:17:34.000000000 +0200
++++ eagle-usb-2.3.3/driver/eu_main.c   2006-05-09 20:29:24.000000000 +0200
+@@ -173,7 +173,7 @@ static const struct usb_device_id eu_ids
+  */
+ static struct usb_driver eu_driver =
+ {
+-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,19)
++#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,19) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
+     .owner      = THIS_MODULE,
+ #endif    
+     .name       = "eagle-usb",
index 1cbf0a97d10c0c4858da244152070514667e9791..9a2d7e3e07285d105138c8f677df56bc397fc696 100644 (file)
@@ -32,6 +32,7 @@ Patch5:               %{name}-usb_kill_urb.patch
 Patch6:                %{name}-kernel_sources_checking_hack.patch
 # Workaround for obsolete kernel API. To be removed...
 Patch7:                %{name}-spin_lock_unlocked.patch
+Patch8:                %{name}-kill_owner.patch
 URL:           http://gna.org/projects/eagleusb/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -99,6 +100,7 @@ Sterownik dla Linuksa SMP do modem
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %ifnarch %{ix86}
 # invalid not only for ppc
This page took 0.059809 seconds and 4 git commands to generate.