[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#545938: linuxlogo: FTFBS on sh4

Package: linuxlogo
Version: 5.06-2
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4

I am now trying to run Debian on Renesas SH CPU(sh4).
linuxlogo FTBFS on sh4.

Current linuxlogo package doesn't support sh4.
But because this support sh3 , this can support SuperH(sh) in few 
I made a patch to revise to be able to build.
Would you apply it?

Best regards,
--- a/libsysinfo-0.2.1/Linux/Makefile	2009-09-10 03:23:00.000000000 +0000
+++ b/libsysinfo-0.2.1/Linux/Makefile	2009-09-10 03:23:55.000000000 +0000
@@ -6,6 +6,9 @@
 ifneq (,$(findstring arm,$(ARCH)))
    ARCH := arm
+ifneq (,$(findstring sh,$(ARCH)))
+   ARCH := sh
 all:	cpuinfo.o sysinfo_linux.o
@@ -64,7 +67,7 @@
 s390x:	cpuinfo_s390x.c
 	$(CROSS)$(CC) $(CFLAGS) -o cpuinfo.o -c cpuinfo_s390x.c	
-sh3:	cpuinfo_sh3.c
+sh:	cpuinfo_sh3.c
 	$(CROSS)$(CC) $(CFLAGS) -o cpuinfo.o -c cpuinfo_sh3.c
 sparc:	cpuinfo_sparc.c

Reply to: