summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2006-09-25 18:33:13 +0000
committerMichael Januszewski <spock@gentoo.org>2006-09-25 18:33:13 +0000
commit1c4c3df552ff716f92679de52390c6262ac85ea3 (patch)
treeec0b12740f8ab324f06a602a8d0be300e5be014c /media-gfx/splashutils/files
parentFixed libraw1394 dependency, bug #149095. Thanks a lot to Torsten Kaiser. (diff)
downloadgentoo-2-1c4c3df552ff716f92679de52390c6262ac85ea3.tar.gz
gentoo-2-1c4c3df552ff716f92679de52390c6262ac85ea3.tar.bz2
gentoo-2-1c4c3df552ff716f92679de52390c6262ac85ea3.zip
Make it possible to compile splashutils without support for fbsplash (bug #149094).
(Portage version: 2.1.2_pre1-r1)
Diffstat (limited to 'media-gfx/splashutils/files')
-rw-r--r--media-gfx/splashutils/files/splashutils-1.3-r2-fbsplash.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-gfx/splashutils/files/splashutils-1.3-r2-fbsplash.patch b/media-gfx/splashutils/files/splashutils-1.3-r2-fbsplash.patch
new file mode 100644
index 000000000000..a39fda6591c3
--- /dev/null
+++ b/media-gfx/splashutils/files/splashutils-1.3-r2-fbsplash.patch
@@ -0,0 +1,21 @@
+diff --git a/splash.h b/splash.h
+index 5dccfe0..eae2939 100644
+--- a/splash.h
++++ b/splash.h
+@@ -30,10 +30,14 @@ #endif
+ */
+ #ifdef TARGET_KERNEL
+ #include <linux/fb.h>
+- #include <linux/console_splash.h>
++ #ifdef CONFIG_FBSPLASH
++ #include <linux/console_splash.h>
++ #endif
+ #else
+ #include <fb.h>
+- #include <console_splash.h>
++ #ifdef CONFIG_FBSPLASH
++ #include <console_splash.h>
++ #endif
+ #endif
+
+ /*