summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2008-06-03 20:02:53 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2008-06-03 20:02:53 +0000
commitf3251580e3e24b27e2d4874e4b39732d21457a9d (patch)
tree0f6aa07f0189e64fae6e77367ad965aeb72a3456 /patches
parent1c06afd2f4dfdc5b488f8ef8a3939373a0605aba (diff)
downloadptxdist-f3251580e3e24b27e2d4874e4b39732d21457a9d.tar.gz
ptxdist-f3251580e3e24b27e2d4874e4b39732d21457a9d.tar.xz
* usplash: add patch to make it compile
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8283 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches')
-rw-r--r--patches/usplash_0.5.21/generic/series1
-rw-r--r--patches/usplash_0.5.21/generic/use-compiler-for-dependencies.diff26
2 files changed, 27 insertions, 0 deletions
diff --git a/patches/usplash_0.5.21/generic/series b/patches/usplash_0.5.21/generic/series
new file mode 100644
index 000000000..713850a97
--- /dev/null
+++ b/patches/usplash_0.5.21/generic/series
@@ -0,0 +1 @@
+use-compiler-for-dependencies.diff
diff --git a/patches/usplash_0.5.21/generic/use-compiler-for-dependencies.diff b/patches/usplash_0.5.21/generic/use-compiler-for-dependencies.diff
new file mode 100644
index 000000000..acee94f2f
--- /dev/null
+++ b/patches/usplash_0.5.21/generic/use-compiler-for-dependencies.diff
@@ -0,0 +1,26 @@
+Subject: usplash: needs compiler to build dependencies
+
+Usplash tries to use the preprocessor to create the dependencies, but
+this only works with the compiler. Trying the preprocessor results in
+
+cpp: too many input files
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+
+---
+ bogl/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: usplash_0.5.21/bogl/Makefile
+===================================================================
+--- usplash_0.5.21.orig/bogl/Makefile
++++ usplash_0.5.21/bogl/Makefile
+@@ -92,7 +92,7 @@ pngtobogl: pngtobogl.o
+
+ depend: .depend
+ .depend: $(SOURCES_DEP)
+- $(CPP) $(ALLCFLAGS) -M $(SOURCES_DEP) > .depend
++ $(CC) $(ALLCFLAGS) -M $(SOURCES_DEP) > .depend
+
+ clean:
+ rm -rf reduce-font bterm bdftobogl pngtobogl *.o $(GENERATED) *-test lang.h tmp.*.c bowl-boxes $(LIB) unifont-reduced.bgf unifont-reduced.bdf