Date: Wed, 12 May 2021 20:56:00 GMT From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b7143c6b8b23 - main - patch-chm.c: use correct __defined__ for riscv64 to fix build there. Message-ID: <202105122056.14CKu0fl040024@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by linimon: URL: https://cgit.FreeBSD.org/ports/commit/?id=b7143c6b8b23fa22bfd88c8c13159b2af33e377d commit b7143c6b8b23fa22bfd88c8c13159b2af33e377d Author: Mark Linimon <linimon@FreeBSD.org> AuthorDate: 2021-05-12 19:48:02 +0000 Commit: Mark Linimon <linimon@FreeBSD.org> CommitDate: 2021-05-12 20:55:56 +0000 patch-chm.c: use correct __defined__ for riscv64 to fix build there. --- sysutils/consolehm/files/patch-chm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysutils/consolehm/files/patch-chm.c b/sysutils/consolehm/files/patch-chm.c index c8476689263b..0a0e80ab7e47 100644 --- a/sysutils/consolehm/files/patch-chm.c +++ b/sysutils/consolehm/files/patch-chm.c @@ -5,7 +5,7 @@ */ +#include <osreldate.h> -+#if (defined(__aarch64__) || defined(__powerpc__) || defined(__riscv64__)) && defined(__FreeBSD__) ++#if (defined(__aarch64__) || defined(__powerpc__) || defined(__riscv__)) && 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?202105122056.14CKu0fl040024>