diff options
author | Daniel Drake <dsd@gentoo.org> | 2005-01-12 19:43:14 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2005-01-12 19:43:14 +0000 |
commit | 330df011dc97ee9e340690e87e3f3f87be47336c (patch) | |
tree | 7fb4281e466277b0ffa1cf7713c1d023fa457c78 /media-libs/svgalib/files | |
parent | Updated HOMEPAGE. (diff) | |
download | gentoo-2-330df011dc97ee9e340690e87e3f3f87be47336c.tar.gz gentoo-2-330df011dc97ee9e340690e87e3f3f87be47336c.tar.bz2 gentoo-2-330df011dc97ee9e340690e87e3f3f87be47336c.zip |
Fix 2.6.10 compatibility, bug #77186
Diffstat (limited to 'media-libs/svgalib/files')
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.9.19-devfs.patch | 15 | ||||
-rw-r--r-- | media-libs/svgalib/files/svgalib.devfs | 4 |
2 files changed, 19 insertions, 0 deletions
diff --git a/media-libs/svgalib/files/svgalib-1.9.19-devfs.patch b/media-libs/svgalib/files/svgalib-1.9.19-devfs.patch new file mode 100644 index 000000000000..9029588f8370 --- /dev/null +++ b/media-libs/svgalib/files/svgalib-1.9.19-devfs.patch @@ -0,0 +1,15 @@ +No longer available in Linux 2.6.10 + +- Daniel Drake <dsd@gentoo.org> + +diff -urNp svgalib-1.9.19/kernel/svgalib_helper/main.c svgalib-dsd/kernel/svgalib_helper/main.c +--- svgalib-1.9.19/kernel/svgalib_helper/main.c 2004-05-07 10:10:22.000000000 +0100 ++++ svgalib-dsd/kernel/svgalib_helper/main.c 2005-01-09 18:25:13.094026296 +0000 +@@ -577,7 +577,6 @@ int init_module(void) + devfs_mk_cdev(MKDEV(SVGALIB_HELPER_MAJOR, i), + S_IFCHR | S_IRUGO | S_IRWXU, "svga_helper/%d", i); + } +- devfs_mk_symlink("svga", "svga_helper/0"); + # endif + #endif /* devfsd support */ + diff --git a/media-libs/svgalib/files/svgalib.devfs b/media-libs/svgalib/files/svgalib.devfs new file mode 100644 index 000000000000..d6bde0b2c798 --- /dev/null +++ b/media-libs/svgalib/files/svgalib.devfs @@ -0,0 +1,4 @@ +LOOKUP ^svga$ CFUNCTION GLOBAL mksymlink svga_helper/0 svga +REGISTER ^svga_helper/0$ CFUNCTION GLOBAL mksymlink $devname svga +UNREGISTER ^svga_helper/0$ CFUNCTION GLOBAL unlink svga + |