$OpenBSD: patch-mgetty_h,v 1.2 2017/12/26 06:08:48 jca Exp $

Add mips64 and arm64 to the list of arches where pointers are longs, otherwise
char gets typedef'd to an int as p_int and breaks in conf_mg.c.

Index: mgetty.h
--- mgetty.h.orig
+++ mgetty.h
@@ -198,7 +198,7 @@ typedef unsigned char uch;
  */
 #if defined(__alpha__) || defined(__sparc64__) || \
 	    defined(__ia64__) || defined(__s390x__) || defined(__x86_64__) || \
-	    defined(__powerpc64__)
+	    defined(__powerpc64__) || defined(__mips64__) || defined(__aarch64__)
 # define PTR_IS_LONG
 #endif
 
