Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 243923 Details for
Bug 333619
net-misc/cisco-vpnclient-3des-4.8.00.0490-r1 will not compile with gentoo-sources-2.6.34-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2.6.33.patch - Header move from linux/autoconf.h to generated/autoconf.h
2.6.33.patch (text/plain), 2.48 KB, created by
Cyprien Nicolas (fulax)
on 2010-08-21 18:33:19 UTC
(
hide
)
Description:
2.6.33.patch - Header move from linux/autoconf.h to generated/autoconf.h
Filename:
MIME Type:
Creator:
Cyprien Nicolas (fulax)
Created:
2010-08-21 18:33:19 UTC
Size:
2.48 KB
patch
obsolete
>diff -Naur vpnclient.orig/frag.c vpnclient/frag.c >--- vpnclient.orig/frag.c 2010-08-21 20:03:21.000000000 +0200 >+++ vpnclient/frag.c 2010-08-21 20:04:01.000000000 +0200 >@@ -12,8 +12,12 @@ > * This module does some really cool stuff only Cisco knows about > ***************************************************************************/ > >-#include <linux/autoconf.h> > #include <linux/version.h> >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) >+#include <generated/autoconf.h> >+#else >+#include <linux/autoconf.h> >+#endif > #include <linux/netdevice.h> > #include <linux/etherdevice.h> > #include <linux/skbuff.h> >diff -Naur vpnclient.orig/interceptor.c vpnclient/interceptor.c >--- vpnclient.orig/interceptor.c 2010-08-21 20:03:23.000000000 +0200 >+++ vpnclient/interceptor.c 2010-08-21 20:04:21.000000000 +0200 >@@ -11,8 +11,12 @@ > *************************************************************************** > * This module implements the linux driver. > ***************************************************************************/ >-#include <linux/autoconf.h> > #include <linux/version.h> >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) >+#include <generated/autoconf.h> >+#else >+#include <linux/autoconf.h> >+#endif > #include <linux/module.h> > #include <linux/init.h> > #include <linux/kernel.h> >diff -Naur vpnclient.orig/IPSecDrvOS_linux.c vpnclient/IPSecDrvOS_linux.c >--- vpnclient.orig/IPSecDrvOS_linux.c 2010-08-21 20:03:23.000000000 +0200 >+++ vpnclient/IPSecDrvOS_linux.c 2010-08-21 20:05:36.000000000 +0200 >@@ -11,8 +11,12 @@ > * > * > ***************************************************************************/ >-#include <linux/autoconf.h> > #include <linux/version.h> >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) >+#include <generated/autoconf.h> >+#else >+#include <linux/autoconf.h> >+#endif > #include <linux/vmalloc.h> > #include <linux/sched.h> > #include <linux/string.h> >diff -Naur vpnclient.orig/linuxcniapi.c vpnclient/linuxcniapi.c >--- vpnclient.orig/linuxcniapi.c 2010-08-21 20:03:24.000000000 +0200 >+++ vpnclient/linuxcniapi.c 2010-08-21 20:04:38.000000000 +0200 >@@ -12,8 +12,12 @@ > * This module implements a translation layer between the CNI API and the > * Linux Interceptor driver. > ***************************************************************************/ >-#include <linux/autoconf.h> > #include <linux/version.h> >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) >+#include <generated/autoconf.h> >+#else >+#include <linux/autoconf.h> >+#endif > #include <linux/netdevice.h> > #include <linux/if.h> > #include <linux/if_arp.h>
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 333619
:
243757
|
243873
| 243923