Control: tag -1 + patch

Hi Dariusz and Martin,

Martin Michlmayr wrote:
> This package fails to build on arm64, but a quick looks suggests
> this package might be useful on arm64.  Do you know if upstream or
> someone else is working on arm64 support ("aarch64") already?  If
> not, I might be able to get somone to work on this.

Attached a patch to get it building and apparently also running on
arm64.

Here's the output of linuxlogo running on asachi.debian.org (an arm64
porterbox):

~/linuxlogo → ./linux_logo
             ,        ,
            /(        )`
            \ \___   / |
            /- _  `-/  '
           (/\/ \ \   /\
           / /   | `    \
           O O   ) /    |
           `-^--'`<     '
          (_.)  _  )   /
           `.___/`    /
             `-----' /
<----.     __ / __   \
<----|====O)))==) \) /====
<----'    `--' `.__,' \
             |        |
              \       /       /\
         ______( (_  / \______/
       ,'  ,-----'   |
       `--{__________)

Linux Version 3.16.0-4-arm64, Compiled #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08)
             Eight ARM  Processors, 16GB RAM, 800.00 Bogomips Total
                                     asachi

Those two blanks between "ARM" and "Processors" also appear on my
Debian Sid armhf running Raspberry Pi 2 which still has linuxlogo
without that patch, so they don't seem to come from a potential
incompleteness of my patch.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
Description: Add minimal support for arm64 aka aarch64
Author: Axel Beckert <a...@debian.org>
Forwarded: no
Bug-Debian: https://bugs.debian.org/791929

Index: linuxlogo/libsysinfo-0.2.2/Linux/Makefile
===================================================================
--- linuxlogo.orig/libsysinfo-0.2.2/Linux/Makefile	2016-04-26 00:17:47.419671863 +0200
+++ linuxlogo/libsysinfo-0.2.2/Linux/Makefile	2016-04-26 00:19:17.179550584 +0200
@@ -6,6 +6,9 @@
 ifneq (,$(findstring arm,$(ARCH)))
    ARCH := arm
 endif
+ifneq (,$(findstring aarch64,$(ARCH)))
+   ARCH := arm
+endif
 ifneq (,$(findstring sh,$(ARCH)))
    ARCH := sh
 endif

Reply via email to