r300 - in /unstable/madwifi/debian: changelog patches/00list patches/13_fix-2.6.24-set-module-owner.dpatch

kelmo-guest at users.alioth.debian.org kelmo-guest at users.alioth.debian.org
Wed Oct 17 04:41:51 UTC 2007


Author: kelmo-guest
Date: Wed Oct 17 04:41:51 2007
New Revision: 300

URL: http://svn.debian.org/wsvn/pkg-madwifi/?sc=1&rev=300
Log:
* Add 13_fix-2.6.24-set-module-owner.dpatch to fix compilation on 2.6.24.

Added:
    unstable/madwifi/debian/patches/13_fix-2.6.24-set-module-owner.dpatch
Modified:
    unstable/madwifi/debian/changelog
    unstable/madwifi/debian/patches/00list

Modified: unstable/madwifi/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-madwifi/unstable/madwifi/debian/changelog?rev=300&op=diff
==============================================================================
--- unstable/madwifi/debian/changelog (original)
+++ unstable/madwifi/debian/changelog Wed Oct 17 04:41:51 2007
@@ -1,3 +1,9 @@
+madwifi (1:0.9.3.2-3) UNRELEASED; urgency=low
+
+  * Add 13_fix-2.6.24-set-module-owner.dpatch to fix compilation on 2.6.24.
+
+ -- Kel Modderman <kel at otaku42.de>  Wed, 17 Oct 2007 14:40:53 +1000
+
 madwifi (1:0.9.3.2-2) unstable; urgency=high
 
   * Add fix_2.6.23_include_fs_h.dpatch for linux 2.6.23 compatibility.

Modified: unstable/madwifi/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-madwifi/unstable/madwifi/debian/patches/00list?rev=300&op=diff
==============================================================================
--- unstable/madwifi/debian/patches/00list (original)
+++ unstable/madwifi/debian/patches/00list Wed Oct 17 04:41:51 2007
@@ -1,3 +1,4 @@
 10_CVE-2007-5448_sanitize_xrates
 11_mips-compile-flags-fix
 12_fix-2.6.23-include-fs-h
+13_fix-2.6.24-set-module-owner

Added: unstable/madwifi/debian/patches/13_fix-2.6.24-set-module-owner.dpatch
URL: http://svn.debian.org/wsvn/pkg-madwifi/unstable/madwifi/debian/patches/13_fix-2.6.24-set-module-owner.dpatch?rev=300&op=file
==============================================================================
--- unstable/madwifi/debian/patches/13_fix-2.6.24-set-module-owner.dpatch (added)
+++ unstable/madwifi/debian/patches/13_fix-2.6.24-set-module-owner.dpatch Wed Oct 17 04:41:51 2007
@@ -1,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 13_fix-2.6.24-set-module-owner.dpatch by Kel Modderman <kel at otaku42.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: http://madwifi.org/changeset/2755
+
+ at DPATCH@
+diff -Nrup madwifi-0.9.3.2.orig/ath/if_athvar.h madwifi-0.9.3.2/ath/if_athvar.h
+--- madwifi-0.9.3.2.orig/ath/if_athvar.h	2007-07-26 23:42:40.000000000 +1000
++++ madwifi-0.9.3.2/ath/if_athvar.h	2007-10-17 14:37:42.000000000 +1000
+@@ -101,9 +101,13 @@ typedef void irqreturn_t;
+ #endif /* !defined(IRQ_NONE) */
+ 
+ #ifndef SET_MODULE_OWNER
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
+ #define	SET_MODULE_OWNER(dev) do {		\
+ 	dev->owner = THIS_MODULE;		\
+ } while (0)
++#else
++#define SET_MODULE_OWNER(dev) do { } while (0)
++#endif
+ #endif
+ 
+ #ifndef SET_NETDEV_DEV




More information about the Pkg-madwifi-maintainers mailing list