summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-07-24 21:23:39 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-07-24 21:23:39 +0000
commit4c855413851c4a33ea3f319e2e87bfd42940f5cb (patch)
tree89b1abd5b58962c750716979ae213d18a14eb37a /net-dialup
parentversion bump (diff)
downloadhistorical-4c855413851c4a33ea3f319e2e87bfd42940f5cb.tar.gz
historical-4c855413851c4a33ea3f319e2e87bfd42940f5cb.tar.bz2
historical-4c855413851c4a33ea3f319e2e87bfd42940f5cb.zip
add missing patch
Package-Manager: portage-2.1.1_pre3-r3
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/misdn/Manifest4
-rw-r--r--net-dialup/misdn/files/nodevfs.patch43
2 files changed, 47 insertions, 0 deletions
diff --git a/net-dialup/misdn/Manifest b/net-dialup/misdn/Manifest
index e97c2b0a02b2..7e7c91419830 100644
--- a/net-dialup/misdn/Manifest
+++ b/net-dialup/misdn/Manifest
@@ -14,6 +14,10 @@ AUX mqueue.modulesd 2900 RMD160 9367f81188c53d71c02985c3adce3944eb6fb2a3 SHA1 16
MD5 2e3de2a37e6ce9be6c8b7892a25de0a5 files/mqueue.modulesd 2900
RMD160 9367f81188c53d71c02985c3adce3944eb6fb2a3 files/mqueue.modulesd 2900
SHA256 9d7108a0e7c9cdb4bb721f8dd7c60e9aca64cec28031be533ad446007bb5fcb8 files/mqueue.modulesd 2900
+AUX nodevfs.patch 1124 RMD160 db853a7b2826f3fb8f8f129f101a7e604a83e3dd SHA1 f427d75339b023e73eab6f801456165e8bdbb89f SHA256 d403e92260ba4138198e6cc2093604b8152ffd143b83f2aeda5c1fe310036a50
+MD5 239002ba807041ebf33e6168b1550c9c files/nodevfs.patch 1124
+RMD160 db853a7b2826f3fb8f8f129f101a7e604a83e3dd files/nodevfs.patch 1124
+SHA256 d403e92260ba4138198e6cc2093604b8152ffd143b83f2aeda5c1fe310036a50 files/nodevfs.patch 1124
AUX packed.diff 6119 RMD160 dab624bed851da2de70ba36c653c9b692d03df2a SHA1 cc7c9eb48381c2c7187c61e5637f0dbcbc384cfc SHA256 c4c5e3df8d4ab87e1b691769f904ff7cb4b9cea0a8b873a968402be6737de8e3
MD5 f575d20408bfa0a1b7fecc36d701ea9d files/packed.diff 6119
RMD160 dab624bed851da2de70ba36c653c9b692d03df2a files/packed.diff 6119
diff --git a/net-dialup/misdn/files/nodevfs.patch b/net-dialup/misdn/files/nodevfs.patch
new file mode 100644
index 000000000000..f1621a0433a5
--- /dev/null
+++ b/net-dialup/misdn/files/nodevfs.patch
@@ -0,0 +1,43 @@
+Index: mISDN/udevice.c
+===================================================================
+RCS file: /i4ldev/mISDN/drivers/isdn/hardware/mISDN/udevice.c,v
+retrieving revision 1.20
+diff -u -r1.20 udevice.c
+--- mISDN/udevice.c 12 May 2006 13:27:23 -0000 1.20
++++ mISDN/udevice.c 18 Jul 2006 11:00:55 -0000
+@@ -10,7 +10,13 @@
+ #include <linux/vmalloc.h>
+ #include <linux/config.h>
+ #include <linux/timer.h>
++#include <linux/version.h>
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
++#define HAVE_DEVFS 1
+ #include <linux/devfs_fs_kernel.h>
++#else
++#define HAVE_DEVFS 0
++#endif
+ #include "core.h"
+
+ #define MAX_HEADER_LEN 4
+@@ -1983,8 +1989,11 @@
+ if (err) {
+ printk(KERN_ERR "Can't register %s error(%d)\n", MName, err);
+ unregister_chrdev(mISDN_MAJOR, "mISDN");
+- } else
++ } else {
++#if HAVE_DEVFS
+ devfs_mk_cdev(MKDEV(mISDN_MAJOR, 0), S_IFCHR | S_IRUSR | S_IWUSR, "mISDN");
++#endif
++ }
+
+ return(err);
+ }
+@@ -2006,6 +2015,8 @@
+ if ((err = unregister_chrdev(mISDN_MAJOR, "mISDN"))) {
+ printk(KERN_WARNING "mISDN: devices busy on remove\n");
+ }
++#if HAVE_DEVFS
+ devfs_remove("mISDN");
++#endif
+ return(err);
+ }