Date: Tue, 16 Mar 2021 20:31:51 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568611 - in head/sysutils/consolehm: . files Message-ID: <202103162031.12GKVpaQ038368@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Tue Mar 16 20:31:51 2021 New Revision: 568611 URL: https://svnweb.freebsd.org/changeset/ports/568611 Log: sysutils/consolehm: fix build on aarch64, powerpc64le, riscv64 Modified: head/sysutils/consolehm/Makefile head/sysutils/consolehm/files/patch-chm.c Modified: head/sysutils/consolehm/Makefile ============================================================================== --- head/sysutils/consolehm/Makefile Tue Mar 16 20:24:00 2021 (r568610) +++ head/sysutils/consolehm/Makefile Tue Mar 16 20:31:51 2021 (r568611) @@ -10,9 +10,6 @@ MASTER_SITES= LOCAL/fenner MAINTAINER= ports@FreeBSD.org COMMENT= Console based hardware monitor for FreeBSD -BROKEN_aarch64= fails to link: undefined symbol: outb -BROKEN_riscv64= fails to link: undefined symbol: outb - USES= uidfix GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/consolehm/consolehm Modified: head/sysutils/consolehm/files/patch-chm.c ============================================================================== --- head/sysutils/consolehm/files/patch-chm.c Tue Mar 16 20:24:00 2021 (r568610) +++ head/sysutils/consolehm/files/patch-chm.c Tue Mar 16 20:31:51 2021 (r568611) @@ -5,7 +5,7 @@ */ +#include <osreldate.h> -+#if (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) && defined(__FreeBSD__) ++#if (defined(__aarch64__) || defined(__powerpc__) || defined(__riscv64__)) && defined(__FreeBSD__) +#include <sys/types.h> +#include <machine/pio.h> +#endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103162031.12GKVpaQ038368>