diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-03 07:08:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-03 07:08:57 +0000 |
commit | 4ff8b4d25ce90e6e39cad38af656ec01a4740e7f (patch) | |
tree | 1846751b8a06c384d01da005d79f56f71b515b88 /media-libs/svgalib/files | |
parent | Stable on ppc; bug #156770. (diff) | |
download | gentoo-2-4ff8b4d25ce90e6e39cad38af656ec01a4740e7f.tar.gz gentoo-2-4ff8b4d25ce90e6e39cad38af656ec01a4740e7f.tar.bz2 gentoo-2-4ff8b4d25ce90e6e39cad38af656ec01a4740e7f.zip |
Fix building with linux-2.6.19 #156799 by Vlastimil Babka (Caster).
(Portage version: 2.1.2_rc2-r3)
Diffstat (limited to 'media-libs/svgalib/files')
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.9.25-linux2.6.patch | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/media-libs/svgalib/files/svgalib-1.9.25-linux2.6.patch b/media-libs/svgalib/files/svgalib-1.9.25-linux2.6.patch index 926698e72556..01bcaf856ca4 100644 --- a/media-libs/svgalib/files/svgalib-1.9.25-linux2.6.patch +++ b/media-libs/svgalib/files/svgalib-1.9.25-linux2.6.patch @@ -4,6 +4,7 @@ - dont include headers that dont exist in 2.4.x kernels - use module_param() for 2.6.x and MODULE_PARM() for all others - dont declare all_devices as static since it is exported + - dont include <linux/config.h> as the build system does it for us --- svgalib/kernel/svgalib_helper/Makefile +++ svgalib/kernel/svgalib_helper/Makefile @@ -61,6 +62,12 @@ # else --- svgalib/kernel/svgalib_helper/main.c +++ svgalib/kernel/svgalib_helper/main.c +@@ -1,5 +1,3 @@ +-#include <linux/config.h> +- + #if defined (CONFIG_MODVERSIONS) && !defined (MODVERSIONS) + # define MODVERSIONS + #endif @@ -19,15 +19,22 @@ #include <linux/ioport.h> #include <linux/interrupt.h> |