svn commit: r568611 - in head/sysutils/consolehm: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Mar 16 20:31:52 UTC 2021
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 at 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
More information about the svn-ports-head
mailing list