diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-02-24 19:40:09 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-02-24 19:40:09 +0000 |
commit | 8fcc335c3450c958dcb14b472e280275374b9e7a (patch) | |
tree | bcdb159934eb3a8675d40a5754e2c10f40680587 /media-libs | |
parent | adding fPIC patches. Closes 39268. (diff) | |
download | gentoo-2-8fcc335c3450c958dcb14b472e280275374b9e7a.tar.gz gentoo-2-8fcc335c3450c958dcb14b472e280275374b9e7a.tar.bz2 gentoo-2-8fcc335c3450c958dcb14b472e280275374b9e7a.zip |
Fixed patch as the version was not getting sourced in some instances.
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch | 6 |
1 files changed, 5 insertions, 1 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 d62ebf274ab3..daa224563392 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,11 +121,15 @@ 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,42 @@ +@@ -0,0 +1,46 @@ +#ifndef minor +#define minor(x) MINOR(x) +#endif + ++#ifndef KERNEL_VERSION ++# include <linux/version.h> ++#endif ++ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) + +# ifdef KERNEL_2_6 |