Hello community,
here is the log from the commit of package wlan-ng
checked in at Mon Nov 12 12:22:37 CET 2007.
--------
--- arch/i386/wlan-ng/wlan-ng.changes 2007-08-06 16:23:45.000000000 +0200
+++ /mounts/work_users/ro/STABLE/wlan-ng/wlan-ng.changes 2007-11-12 12:21:26.003555000 +0100
@@ -1,0 +2,5 @@
+Mon Nov 12 12:21:17 CET 2007 - ro@suse.de
+
+- hack to build with 2.6.24rc2
+
+-------------------------------------------------------------------
New:
----
wlan-ng-2.6.24.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wlan-ng.spec ++++++
--- /var/tmp/diff_new_pack.q17693/_old 2007-11-12 12:21:56.000000000 +0100
+++ /var/tmp/diff_new_pack.q17693/_new 2007-11-12 12:21:56.000000000 +0100
@@ -14,17 +14,18 @@
BuildRequires: kernel-source kernel-syms module-init-tools
Summary: Tools for wlan-ng Drivers
Version: 0.2.8
-Release: 15
+Release: 52
Group: System/Kernel
-License: GPL v2 or later, MOZILLA PUBLIC LICENSE (MPL/NPL)
+License: GPL v2 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-URL: http://www.linux-wlan.org/
-Autoreqprov: on
+Url: http://www.linux-wlan.org/
+AutoReqProv: on
Source: linux-wlan-ng-%{version}.tar.bz2
Source1: config.in
Source2: mkversionh.sh
Patch1: linux-wlan-ng.diff
Patch2: wlan-ng-2.6.22.diff
+Patch3: wlan-ng-2.6.24.diff
Source100: preamble
ExclusiveArch: %ix86 x86_64
%suse_kernel_module_package -n wlan-ng -p %_sourcedir/preamble kdump um
@@ -41,7 +42,7 @@
%package -n wlan-ng-KMP
Group: System/Kernel
-License: GPL v2 or later, MOZILLA PUBLIC LICENSE (MPL/NPL)
+License: GPL v2 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Summary: Kernel Modules for Prism2/2.5/3 Devices
%description -n wlan-ng-KMP
@@ -56,14 +57,13 @@
--------
AbsoluteValue Systems
-Requires: wlan-ng
%prep
%setup -n linux-wlan-ng-%{version}
%patch1
cp %{SOURCE1} config.in
cp %{SOURCE2} mkversionh.sh
%patch2 -p1
-#%patch3 -p1
+%patch3 -p0
%build
./mkversionh.sh
@@ -99,8 +99,9 @@
%{_sbindir}/*
%doc %attr(644,root,root) %{_mandir}/man*/*
%doc CHANGES COPYING FAQ LICENSE README THANKS TODO
-
%changelog
+* Mon Nov 12 2007 - ro@suse.de
+- hack to build with 2.6.24rc2
* Mon Aug 06 2007 - jg@suse.de
- obsolete wlan-kmp
- disable PCI driver in favour of in-kernel hostap driver
++++++ preamble ++++++
--- arch/i386/wlan-ng/preamble 2007-08-06 16:15:28.000000000 +0200
+++ /mounts/work_users/ro/STABLE/wlan-ng/preamble 2007-11-12 12:18:32.950867000 +0100
@@ -1,2 +1,3 @@
Enhances: kernel-%1
Obsoletes: wlan-kmp-%1
+PreReq: coreutils grep
++++++ wlan-ng-2.6.24.diff ++++++
--- src/p80211/p80211netdev.c
+++ src/p80211/p80211netdev.c
@@ -82,6 +82,8 @@
#if WIRELESS_EXT > 12
#include
#endif
+#include
+
/*================================================================*/
/* Project Includes */
@@ -167,11 +169,11 @@
DBFENTER;
#ifdef CONFIG_PROC_FS
- if (proc_net != NULL) {
+ if (init_net.proc_net != NULL) {
proc_p80211 = create_proc_entry(
"p80211",
(S_IFDIR|S_IRUGO|S_IXUGO),
- proc_net);
+ init_net.proc_net);
}
#endif
DBFEXIT;
@@ -196,7 +198,7 @@
DBFENTER;
#ifdef CONFIG_PROC_FS
if (proc_p80211 != NULL) {
- remove_proc_entry("p80211", proc_net);
+ remove_proc_entry("p80211", init_net.proc_net);
}
#endif
DBFEXIT;
--- src/prism2/driver/prism2_cs.c
+++ src/prism2/driver/prism2_cs.c
@@ -517,7 +517,6 @@
#endif
/* Register the network device and get assigned a name */
- SET_MODULE_OWNER(wlandev->netdev);
SET_NETDEV_DEV(wlandev->netdev, &handle_to_dev(pdev));
if (register_wlandev(wlandev) != 0) {
WLAN_LOG_NOTICE("prism2sta_cs: register_wlandev() failed.\n");
@@ -1080,7 +1079,6 @@
link->dev = &hw->node;
/* Register the network device and get assigned a name */
- SET_MODULE_OWNER(wlandev->netdev);
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) )
SET_NETDEV_DEV(wlandev->netdev, &handle_to_dev(link->handle));
#endif
--- src/prism2/driver/prism2_pci.c
+++ src/prism2/driver/prism2_pci.c
@@ -119,7 +119,6 @@
/* Register the wlandev, this gets us a name and registers the
* linux netdevice.
*/
- SET_MODULE_OWNER(wlandev->netdev);
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
SET_NETDEV_DEV(wlandev->netdev, &(pdev->dev));
#endif
--- src/prism2/driver/prism2_plx.c
+++ src/prism2/driver/prism2_plx.c
@@ -228,7 +228,6 @@
/* Register the wlandev, this gets us a name and registers the
* linux netdevice.
*/
- SET_MODULE_OWNER(wlandev->netdev);
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
SET_NETDEV_DEV(wlandev->netdev, &(pdev->dev));
#endif
--- src/prism2/driver/prism2_usb.c
+++ src/prism2/driver/prism2_usb.c
@@ -131,7 +131,6 @@
/* Register the wlandev, this gets us a name and registers the
* linux netdevice.
*/
- SET_MODULE_OWNER(wlandev->netdev);
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
SET_NETDEV_DEV(wlandev->netdev, &(interface->dev));
#endif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org