git: b7143c6b8b23 - main - patch-chm.c: use correct __defined__ for riscv64 to fix build there.
Mark Linimon
linimon at FreeBSD.org
Wed May 12 20:56:00 UTC 2021
The branch main has been updated by linimon:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b7143c6b8b23fa22bfd88c8c13159b2af33e377d
commit b7143c6b8b23fa22bfd88c8c13159b2af33e377d
Author: Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-05-12 19:48:02 +0000
Commit: Mark Linimon <linimon at 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
More information about the dev-commits-ports-all
mailing list