diff options
Diffstat (limited to 'net-dialup/slmodem/files/slmodem-2.9.11-kernel-2.6.18.patch')
-rw-r--r-- | net-dialup/slmodem/files/slmodem-2.9.11-kernel-2.6.18.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11-kernel-2.6.18.patch b/net-dialup/slmodem/files/slmodem-2.9.11-kernel-2.6.18.patch deleted file mode 100644 index 62a21f332a1b..000000000000 --- a/net-dialup/slmodem/files/slmodem-2.9.11-kernel-2.6.18.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -Nru slmodem-2.9.11-20051101.orig/drivers/amrmo_init.c slmodem-2.9.11-20051101/drivers/amrmo_init.c ---- slmodem-2.9.11-20051101.orig/drivers/amrmo_init.c 2005-10-10 00:14:13.000000000 +0300 -+++ slmodem-2.9.11-20051101/drivers/amrmo_init.c 2006-09-09 18:13:47.219081000 +0300 -@@ -53,7 +53,13 @@ - #include <linux/poll.h> - #include <linux/fs.h> - #include <asm/uaccess.h> --#include <linux/devfs_fs_kernel.h> -+ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) -+# include <linux/devfs_fs_kernel.h> -+#else -+# define devfs_mk_cdev(dev, mode, fmt, i) -+# define devfs_remove(fmt, i) -+#endif - - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) - #define OLD_KERNEL 1 -diff -Nru slmodem-2.9.11-20051101.orig/drivers/kernel-ver.c slmodem-2.9.11-20051101/drivers/kernel-ver.c ---- slmodem-2.9.11-20051101.orig/drivers/kernel-ver.c 2003-09-23 20:38:40.000000000 +0300 -+++ slmodem-2.9.11-20051101/drivers/kernel-ver.c 2006-09-10 12:45:04.643367500 +0300 -@@ -4,6 +4,9 @@ - - #include <stdio.h> - #include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) -+# include <linux/utsrelease.h> -+#endif - - int main() - { -diff -Nru slmodem-2.9.11-20051101.orig/drivers/st7554.c slmodem-2.9.11-20051101/drivers/st7554.c ---- slmodem-2.9.11-20051101.orig/drivers/st7554.c 2005-11-01 17:31:45.000000000 +0200 -+++ slmodem-2.9.11-20051101/drivers/st7554.c 2006-09-09 18:14:36.910186500 +0300 -@@ -55,7 +55,13 @@ - #include <linux/poll.h> - #include <linux/usb.h> - #include <linux/device.h> --#include <linux/devfs_fs_kernel.h> -+ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) -+# include <linux/devfs_fs_kernel.h> -+#else -+# define devfs_mk_cdev(dev, mode, fmt, i) -+# define devfs_remove(fmt, i) -+#endif - - #include <modem_defs.h> - |