commit quickcam for openSUSE:Factory
Hello community, here is the log from the commit of package quickcam for openSUSE:Factory checked in at Mon Jun 8 11:54:26 CEST 2009. -------- --- quickcam/quickcam.changes 2009-04-27 01:56:30.000000000 +0200 +++ /mounts/work_src_done/STABLE/quickcam/quickcam.changes 2009-06-08 01:15:28.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Jun 8 01:15:03 CEST 2009 - ro@suse.de + +- fix build with 2.6.30 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- qc-usb-messenger-proc_owner.patch qc-usb-proc_owner.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ quickcam.spec ++++++ --- /var/tmp/diff_new_pack.d19272/_old 2009-06-08 11:54:00.000000000 +0200 +++ /var/tmp/diff_new_pack.d19272/_new 2009-06-08 11:54:00.000000000 +0200 @@ -24,7 +24,7 @@ BuildRequires: kernel-syms module-init-tools Url: http://qce-ga.sourceforge.net/ Version: 0.6.6 -Release: 10 +Release: 11 %define qc_usb_messenger qc-usb-messenger-1.8 License: LGPL v2.1 or later Group: System/Kernel @@ -43,12 +43,14 @@ Patch9: qc-usb-mem_map_reserve.patch Patch10: qc-usb.video_device-type.patch Patch11: qc-usb-video_drvdata.patch +Patch12: qc-usb-proc_owner.patch Patch21: qc-usb-messenger.UTS_RELEASE.patch Patch25: qc-usb-messenger-mem_map_reserve.patch Patch26: qc-usb-messenger-sem_getcount.patch Patch27: qc-usb-messenger-input_dev-private.patch Patch28: qc-usb-messenger.video_device-type.patch Patch29: qc-usb-messenger-video_drvdata.patch +Patch30: qc-usb-messenger-proc_owner.patch %suse_kernel_module_package -x default ppc64 smp bigsmp pae %description @@ -93,6 +95,7 @@ %patch9 -p1 %patch10 -p1 %patch11 -p0 +%patch12 -p0 cd %{qc_usb_messenger} %patch21 -p1 %patch25 -p1 @@ -100,6 +103,7 @@ %patch27 -p1 %patch28 -p1 %patch29 -p0 +%patch30 -p1 %build mkdir source obj @@ -148,6 +152,8 @@ done %changelog +* Mon Jun 08 2009 ro@suse.de +- fix build with 2.6.30 * Mon Apr 27 2009 ro@suse.de - try to make it build on current kernel * Wed Dec 03 2008 olh@suse.de ++++++ qc-usb-messenger-proc_owner.patch ++++++ --- qc-usb-messenger-1.8/qc-driver.c +++ qc-usb-messenger-1.8/qc-driver.c @@ -1123,7 +1123,9 @@ PRINTK(KERN_WARNING,"Could not register procfs file entry"); return -ENXIO; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) entry->owner = THIS_MODULE; +#endif entry->data = qc; entry->read_proc = qc_proc_read; entry->write_proc = qc_proc_write; @@ -1136,7 +1138,9 @@ PRINTK(KERN_WARNING,"Could not register procfs file entry"); return -ENXIO; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) entry->owner = THIS_MODULE; +#endif entry->data = qc; entry->read_proc = qc_proc_button_read; entry->write_proc = qc_proc_write; @@ -1178,13 +1182,17 @@ PRINTK(KERN_WARNING,"Could not register procfs dir entry"); return -ENXIO; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) qc_proc_video_entry->owner = THIS_MODULE; +#endif qc_proc_quickcam_entry = create_proc_entry(qc_proc_quickcam_name, S_IFDIR, qc_proc_video_entry); if (!qc_proc_quickcam_entry) { PRINTK(KERN_WARNING,"Could not register procfs dir entry"); return -ENXIO; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) qc_proc_quickcam_entry->owner = THIS_MODULE; +#endif return 0; } /* }}} */ ++++++ qc-usb-proc_owner.patch ++++++ --- qc-driver.c +++ qc-driver.c @@ -988,7 +988,9 @@ PRINTK(KERN_WARNING,"Could not register procfs file entry"); return -ENXIO; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) entry->owner = THIS_MODULE; +#endif entry->data = qc; entry->read_proc = qc_proc_read; entry->write_proc = qc_proc_write; @@ -1026,7 +1028,9 @@ return -ENXIO; } } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) qc_proc_entry->owner = THIS_MODULE; +#endif return 0; } /* }}} */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de