Browse Source

Dimitar Zhekov <jimmy@is-vn.bg>:

fixed svgalib kernel helper compilation (for linux26)


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2217 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Dimitar Zhekov 21 years ago
parent
commit
62cc815a34
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      package/jimmy/svgalib/kernel26compat.patch

+ 15
- 0
package/jimmy/svgalib/kernel26compat.patch

@ -0,0 +1,15 @@
--- ./kernel/svgalib_helper/kernel26compat.h.orig 2003-10-04 16:42:01.000000000 +0300
+++ ./kernel/svgalib_helper/kernel26compat.h 2004-01-11 17:30:25.000000000 +0200
@@ -9,9 +9,12 @@
# define my_io_remap_page_range(vma, start, ofs, len, prot) io_remap_page_range(start,ofs,len,prot)
+#ifndef IRQ_NONE
+/* The newest 2.4 kernels define these ... */
typedef void irqreturn_t;
# define IRQ_NONE
# define IRQ_HANDLED
+#endif
#else /* Kernel 2.6 */

Loading…
Cancel
Save