diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-02-05 18:17:56 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-02-05 18:17:56 +0000 |
commit | df534c8bc70476db68c8a98df6e9d4fd9d8aaf87 (patch) | |
tree | 2e973589e37ad92f5a0118b20dc8a03d50a32767 /media-libs/svgalib | |
parent | update gnome-vfs dep (diff) | |
download | gentoo-2-df534c8bc70476db68c8a98df6e9d4fd9d8aaf87.tar.gz gentoo-2-df534c8bc70476db68c8a98df6e9d4fd9d8aaf87.tar.bz2 gentoo-2-df534c8bc70476db68c8a98df6e9d4fd9d8aaf87.zip |
Updated the patch; should solve compilation issues on 2.4 headers.
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch | 10 |
1 files changed, 7 insertions, 3 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 e99b00286413..403ceea4de68 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 @@ -121,7 +121,7 @@ diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/kernel25compat.h svgalib-1.9.17 diff -urpwN svgalib-1.9.17/kernel/svgalib_helper/kernel26compat.h svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/kernel26compat.h --- svgalib-1.9.17/kernel/svgalib_helper/kernel26compat.h 1970-01-01 02:00:00.000000000 +0200 +++ svgalib-1.9.17.kernel2.6/kernel/svgalib_helper/kernel26compat.h 2003-08-03 14:33:28.000000000 +0200 -@@ -0,0 +1,46 @@ +@@ -0,0 +1,50 @@ +#ifndef minor +#define minor(x) MINOR(x) +#endif @@ -137,8 +137,12 @@ 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; ++# ifdef __KERNEL__ ++ typedef void irqreturn_t; ++# else ++# if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,23) ++ typedef void irqreturn_t; ++# endif +# endif +#else + |