summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-01-26 17:07:18 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-01-26 17:07:18 +0000
commitded045b858697e7b879f8c9cb5a218f113954017 (patch)
treea3e9a2a1539917a22297ed031b2817b71fa73ba3 /media-libs/svgalib
parentmirror://sourceforge, marked stable on x86. (Manifest recommit) (diff)
downloadgentoo-2-ded045b858697e7b879f8c9cb5a218f113954017.tar.gz
gentoo-2-ded045b858697e7b879f8c9cb5a218f113954017.tar.bz2
gentoo-2-ded045b858697e7b879f8c9cb5a218f113954017.zip
Updated patch to solve irqreturn_t problems on 2.4[.23+] series
kernels - closes bug #38883.
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch b/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch
index 31ef2a034692..1a253ce3af4d 100644
--- a/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch
+++ b/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch
@@ -137,9 +137,9 @@ diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/kernel26compat.h svgalib-1.9.17
+# endif
+
+#define my_remap_page_range(vma, start, ofs, len, prot) remap_page_range(start,ofs,len,prot)
-+
++# if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,23)
+typedef void irqreturn_t;
-+
++# endif
+#else
+
+# ifndef KERNEL_2_6