pkgsrc/games/pmars/patches/patch-src_xwindisp.c
kamil c8c39aa791 Import pmars-0.9.2 as games/pmars
Core War is a game in which two or more virus-like programs fight against
each other in a simulated memory space or core.

Core War programs are written in an assembly language called Redcode which is
interpreted by a Core War simulator or MARS (Memory Array Redcode Simulator).

The object of the game is to prevent the other program(s) from executing.
2016-06-11 18:41:56 +00:00

17 lines
578 B
C

$NetBSD: patch-src_xwindisp.c,v 1.1 2016/06/11 18:41:56 kamil Exp $
Fix build issue on NetBSD. I don't know what is sighandler(0).
--- src/xwindisp.c.orig 2000-09-28 11:03:56.000000000 +0000
+++ src/xwindisp.c
@@ -1281,8 +1281,9 @@ xWin_display_cycle()
break;
case 'd':
- sighandler(0); /* ??? debugState = STEP; *//* stepping =
+ /*sighandler(0);*/ /* ??? debugState = STEP; *//* stepping =
* FALSE; */
+ fprintf(stderr, "unsupported");
break;
case '>':