mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
sysutils/consolehm: fix build on aarch64, powerpc64le, riscv64
This commit is contained in:
parent
c1d30750d3
commit
1c0798faa1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=568611
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user