openbsd-ports/games/slash/patches/patch-include_termcap_h
tobiasu 47f8e84063 Fix crashing build on sparc
makedefs: the strict alignment gods demand time_t
fixed format strings that could anger the same gods
ospeed: homegrown termcap.h, sync ospeed symbol size
include string.h for those new machines with 64 bit pointers

Play-tested on sparc sparc64
2015-03-27 11:11:01 +00:00

13 lines
447 B
Plaintext

$OpenBSD: patch-include_termcap_h,v 1.1 2015/03/27 11:11:01 tobiasu Exp $
--- include/termcap.h.orig Fri Mar 20 19:25:57 2015
+++ include/termcap.h Fri Mar 20 19:26:11 2015
@@ -43,7 +43,7 @@ extern struct tc_lcl_data { /* defined and set up in
#define UE tc_lcl_data.tc_UE
#define ul_hack tc_lcl_data.tc_ul_hack
-extern short ospeed; /* set up in termcap.c */
+extern int ospeed; /* set up in termcap.c */
#ifdef TEXTCOLOR
# ifdef TOS