From ed93b288616c3f45f45503ceab944c988044cbd9 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Sun, 29 Dec 2002 22:22:25 +0000 Subject: build with kernel 2.5 --- media-libs/svgalib/files/digest-svgalib-1.9.17-r1 | 1 + media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 media-libs/svgalib/files/digest-svgalib-1.9.17-r1 create mode 100644 media-libs/svgalib/files/svgalib-1.9.17-kernel25.patch (limited to 'media-libs/svgalib/files') 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 ++ ++#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) -- cgit v1.2.3-65-gdbad