Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138265 Details for
Bug 201922
net-wireless/fsam7400-0.5.1 requires CONFIG_CHECK_SIGNATURE=y and wrong CFLAGS in Makefile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to net-wireless/fsam7400-0.5.1
fsam7400-0.5.1-patch-2.6.23.diff (text/plain), 1.69 KB, created by
Daniele C.
on 2007-12-11 16:41:11 UTC
(
hide
)
Description:
patch to net-wireless/fsam7400-0.5.1
Filename:
MIME Type:
Creator:
Daniele C.
Created:
2007-12-11 16:41:11 UTC
Size:
1.69 KB
patch
obsolete
>diff -N -u fsam7400-0.5.1/cfgcheck.sh fsam7400-0.5.1-patched/cfgcheck.sh >--- fsam7400-0.5.1/cfgcheck.sh 1970-01-01 01:00:00.000000000 +0100 >+++ fsam7400-0.5.1-patched/cfgcheck.sh 2007-12-11 17:43:06.000000000 +0100 >@@ -0,0 +1,7 @@ >+#!/bin/bash >+## this script returns 0 only if CONFIG_CHECK_SIGNATURE is active in the current kernel >+CHECK_SIG=$(gunzip < /proc/config.gz | grep 'CONFIG_CHECK_SIGNATURE=y') >+if [[ "$CHECK_SIG" == "" ]]; then >+ echo "Error: your kernel is not compiled with CONFIG_CHECK_SIGNATURE=y" >+ exit -1 >+fi >diff -N -u fsam7400-0.5.1/fsam7400.c fsam7400-0.5.1-patched/fsam7400.c >--- fsam7400-0.5.1/fsam7400.c 2006-09-24 15:11:08.000000000 +0200 >+++ fsam7400-0.5.1-patched/fsam7400.c 2007-12-11 10:06:30.000000000 +0100 >@@ -28,7 +28,8 @@ > > *******************************************************************************/ > >-#include <linux/config.h> >+#include <linux/autoconf.h> >+#include <linux/io.h> > #ifdef CONFIG_X86 > #include <linux/version.h> > #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) >diff -N -u fsam7400-0.5.1/Makefile fsam7400-0.5.1-patched/Makefile >--- fsam7400-0.5.1/Makefile 2006-09-22 14:39:30.000000000 +0200 >+++ fsam7400-0.5.1-patched/Makefile 2007-12-11 17:43:47.000000000 +0100 >@@ -26,10 +26,10 @@ > @echo -e clean\\t- removes all binaries and temporary files > > fsam7400.ko: $(SOURCE) >- $(MAKE) -C $(KERNELSRC) SUBDIRS=$(PWD) modules >+ ./cfgcheck.sh && $(MAKE) -C $(KERNELSRC) SUBDIRS=$(PWD) modules > > fsam7400.o: $(SOURCE) >- $(CC) $(INCLUDE) $(CFLAGS) -DDEBUG -DMODVERSIONS -DMODULE -D__KERNEL__ -o $(TARGET) $(SOURCE) >+ ./cfgcheck.sh && $(CC) $(INCLUDE) $(CFLAGS) -DDEBUG -DMODVERSIONS -DMODULE -D__KERNEL__ -o $(TARGET) $(SOURCE) > > clean: > @echo -n "sweeping directory... "
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201922
:
138265
|
167525
|
167527
|
329830