================================
ieee80211:source=1.0.3-3 (previous: 1.0.3-2)
cvc rdiff ieee80211 -1 /[EMAIL PROTECTED]:desktop/1.0.3-3
================================
1.0.3-3 xiaowen ([EMAIL PROTECTED]) Mon Sep 19 00:19:44 2005
    Do without the Makefile patch and compile against kernel 2.6.13.
    
ieee80211.recipe: changed
Index: ieee80211.recipe
====================================================================
contents(size sha1)
inode(mtime)
--- ieee80211.recipe /[EMAIL PROTECTED]:desktop/1.0.3-2
+++ ieee80211.recipe /[EMAIL PROTECTED]:desktop/1.0.3-3
@@ -6,9 +6,16 @@
     
     def unpack(r):
         
r.addArchive('http://unc.dl.sourceforge.net/sourceforge/%(name)s/%(name)s-%(version)s.tgz')
-        r.addPatch('makefile.patch', level=0)
+
+        # Use the ieee80211.h included with the package instead of the kernel.
+        r.addAction("""sed -i 's/<net\/ieee80211.h>/"net\/ieee80211.h"/' 
*.c""")
+
+        # Remove depmod from the Makefile.
+        r.Replace(('/sbin/depmod.*', '@/bin/true'), 'Makefile')
 
     def build(r):
         r.Make('modules KVER=%(kver)s')
-        r.MakeInstall('KVER=%(kver)s')
+        r.MakeInstall('KVER=%(kver)s'
+                      ' 
IEEE80211_INC=%(destdir)s/lib/modules/%(kver)s/build/include'
+                      ' 
KMISC=%(destdir)s/lib/modules/%(kver)s/build/net/ieee80211/')
         r.AutoDoc('CHANGES')


makefile.patch: removed

Committed by: xiaowen
_______________________________________________
Desktop-commits mailing list
[email protected]
http://lists.bizrace.com/mailman/listinfo/desktop-commits

Reply via email to