summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-20 23:12:44 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-20 23:12:44 +0000
commit13bab47268cb58b09ce27bc29cd93a4f15ac2a14 (patch)
tree5362e37e5bcaae45933e8904dfec5064b0c6843f /media-libs/svgalib/files
parentMoved sys-devel/gettext into DEPEND as it's only used at build time. (Manifes... (diff)
downloadgentoo-2-13bab47268cb58b09ce27bc29cd93a4f15ac2a14.tar.gz
gentoo-2-13bab47268cb58b09ce27bc29cd93a4f15ac2a14.tar.bz2
gentoo-2-13bab47268cb58b09ce27bc29cd93a4f15ac2a14.zip
update 2.6 compat patch #57420
Diffstat (limited to 'media-libs/svgalib/files')
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch b/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch
index 979d1f87f35f..c191b93be937 100644
--- a/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch
+++ b/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch
@@ -220,3 +220,14 @@ diff -urpN svgalib-1.9.18/kernel/svgalib_helper/main.c svgalib-1.9.18.new/kernel
devfs_unregister_chrdev(SVGALIB_HELPER_MAJOR, "svgalib_helper");
}
+--- svgalib-1.9.19/kernel/svgalib_helper/kernel26compat.h.orig 2004-07-20 19:05:13.491390800 -0400
++++ svgalib-1.9.19/kernel/svgalib_helper/kernel26compat.h 2004-07-20 19:05:29.217999992 -0400
+@@ -7,7 +7,7 @@
+ # undef KERNEL_2_6
+ # endif
+
+-# if defined (PG_chainlock)
++# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,3)
+ # define my_io_remap_page_range(vma, start, ofs, len, prot) \
+ io_remap_page_range(vma,start,ofs,len,prot)
+ # else