summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-12-29 22:22:25 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-12-29 22:22:25 +0000
commited93b288616c3f45f45503ceab944c988044cbd9 (patch)
treedc008f230e9647d59240d4b9797bedc80c7bece8 /media-libs/svgalib/files
parentVersion pumped. (diff)
downloadgentoo-2-ed93b288616c3f45f45503ceab944c988044cbd9.tar.gz
gentoo-2-ed93b288616c3f45f45503ceab944c988044cbd9.tar.bz2
gentoo-2-ed93b288616c3f45f45503ceab944c988044cbd9.zip
build with kernel 2.5
Diffstat (limited to 'media-libs/svgalib/files')
-rw-r--r--media-libs/svgalib/files/digest-svgalib-1.9.17-r11
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/svgalib/files/digest-svgalib-1.9.17-r1 b/media-libs/svgalib/files/digest-svgalib-1.9.17-r1
new file mode 100644
index 000000000000..c9f9b62846dc
--- /dev/null
+++ b/media-libs/svgalib/files/digest-svgalib-1.9.17-r1
@@ -0,0 +1 @@
+MD5 e1599bb3222899d39ce1a2af36670a98 svgalib-1.9.17.tar.gz 921750
diff --git a/media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch b/media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch
new file mode 100644
index 000000000000..603470fe466d
--- /dev/null
+++ b/media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch
@@ -0,0 +1,11 @@
+--- svgalib-1.9.17/kernel/svgalib_helper/kernel25compat.h.orig 2002-12-29 19:47:01.000000000 +0200
++++ svgalib-1.9.17/kernel/svgalib_helper/kernel25compat.h 2002-12-29 19:47:07.000000000 +0200
+@@ -1,4 +1,8 @@
++#include <linux/version.h>
++
++#ifndef minor
+ #define minor(x) MINOR(x)
++#endif
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+ #define my_remap_page_range(vma, start, ofs, len, prot) remap_page_range(start,ofs,len,prot)