Package: linuxlogo
Version: 5.11-5
Severity: normal
Tags: patch
Dear Maintainer,
This package does not build on the new platform ppc64el due to a missing a
Makefile target for the platform. I just fixed it and added POWER7 and POWER8
processors to the code.
Now I am able to see the following screen on my Debian/ppc64el. :-)
_,met$$$$$gg.
,g$$$$$$$$$$$$$$$P.
,g$$P"" """Y$$.".
,$$P' `$$$.
',$$P ,ggs. `$$b:
`d$$' ,$P"' . $$$ ,#.
$$P d$' , $$P ##: :## :###:
$$: $$. - ,d$$' ##' `## `#'
$$; Y$b._ _,d$P' __ ## __ ## __ _ __ _
Y$$. `.`"Y$$$$P"' ,####:## ,######. ##.#####. :### ,######. ###.####:
`$$b "-.__ ,##' `### ##: :## ###' `### ##' #: `## `###' `##:
`Y$$b ## `## ## ## ##' `## ## ___,## ##: `##
`Y$$. ## ## #######: ## ## ## .####### ##' ##
`$$b. ## ## ##' ## ## ## ##' `## ## ##
`Y$$b. ##. ,## ## ## ,## ## ## ## ## ##
`"Y$b._ :#:._,### ##:__,## ##:__,##' ,##. ##.__:##. ## ##
`"""" `:#### ### ######' `######' #### `#####"## ## ##
Linux Version 3.13-1-powerpc64le, Compiled #1 SMP Debian 3.13.4-1 (2014-02-22)
Four 3.3GHz PPC POWER8 Processors, 6GB RAM, 0.00 Bogomips Total
debian-le-1-2
Thank you,
Breno
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'.)
Architecture: ppc64el (ppc64le.)
Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8.)
Shell: /bin/sh linked to /bin/dash
Versions of packages linuxlogo depends on:
ii libc6 2.18-0experimental1+ppc64el.1.mauricfo
ii lsb-base 4.1+Debian12
linuxlogo recommends no packages.
linuxlogo suggests no packages.
-- no debconf information
Index: linuxlogo-5.11/libsysinfo-0.2.2/Linux/Makefile
===================================================================
--- linuxlogo-5.11.orig/libsysinfo-0.2.2/Linux/Makefile 2010-02-15 17:15:07.000000000 +0000
+++ linuxlogo-5.11/libsysinfo-0.2.2/Linux/Makefile 2014-05-22 19:13:00.000000000 +0000
@@ -61,6 +61,9 @@
ppc64: cpuinfo_ppc.c
$(CROSS)$(CC) $(CFLAGS) -o cpuinfo.o -c cpuinfo_ppc.c
+ppc64le: cpuinfo_ppc.c
+ $(CROSS)$(CC) $(CFLAGS) -o cpuinfo.o -c cpuinfo_ppc.c
+
s390: cpuinfo_s390.c
$(CROSS)$(CC) $(CFLAGS) -o cpuinfo.o -c cpuinfo_s390.c
Index: linuxlogo-5.11/libsysinfo-0.2.2/Linux/cpuinfo_ppc.c
===================================================================
--- linuxlogo-5.11.orig/libsysinfo-0.2.2/Linux/cpuinfo_ppc.c 2010-02-19 22:34:11.000000000 +0000
+++ linuxlogo-5.11/libsysinfo-0.2.2/Linux/cpuinfo_ppc.c 2014-05-22 19:14:23.000000000 +0000
@@ -70,6 +70,12 @@
if (strstr(model_string,"POWER6")!=NULL) {
strncpy(cpu_info->chip_type,"POWER6",7);
}
+ if (strstr(model_string,"POWER7")!=NULL) {
+ strncpy(cpu_info->chip_type,"POWER7",7);
+ }
+ if (strstr(model_string,"POWER8")!=NULL) {
+ strncpy(cpu_info->chip_type,"POWER8",7);
+ }
/* I Have an iBook now ;) */
if (strstr(model_string,"745/755")!=NULL) {