diff options
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 + |