Thursday, December 31, 2020

Re: [new] comms/syncterm

$OpenBSD$

Index: src/xpdev/genwrap.h
--- src/xpdev/genwrap.h.orig
+++ src/xpdev/genwrap.h
@@ -201,7 +201,7 @@ extern "C" {
#define ARCHITECTURE_DESC "x86"
#elif defined(__mips__)
#define ARCHITECTURE_DESC "mips"
-#elif defined(__arm__)
+#elif defined(__arm__) || defined(__aarch64__)
#define ARCHITECTURE_DESC "arm"
#elif defined(_M_PPC) || defined(__ppc__)
#define ARCHITECTURE_DESC "ppc"
Stuart Henderson <stu@spacehopper.org> wrote:

> On 2020/12/21 12:05, joshua stein wrote:
> > SyncTERM is a BBS terminal program with lots of features.
>
> this updated version is ok with me to import..
>

Tested on aarch64, needed a small patch to compile.
Inlined and attached.

Tim.

$OpenBSD$

Index: src/xpdev/genwrap.h
--- src/xpdev/genwrap.h.orig
+++ src/xpdev/genwrap.h
@@ -201,7 +201,7 @@ extern "C" {
#define ARCHITECTURE_DESC "x86"
#elif defined(__mips__)
#define ARCHITECTURE_DESC "mips"
-#elif defined(__arm__)
+#elif defined(__arm__) || defined(__aarch64__)
#define ARCHITECTURE_DESC "arm"
#elif defined(_M_PPC) || defined(__ppc__)
#define ARCHITECTURE_DESC "ppc"

No comments:

Post a Comment