pkgsrc/emulators/xcopilot/patches/patch-al
tron d82db97703 Fix build with GCC 4.x:
- Use "stdlib.h" to get prototype for alloca() under NetBSD.
- Remove bogus "extern" declaration for a variable which is declared
  "static" later.
- Fix bad lvalue constructs.
2006-06-30 22:14:49 +00:00

12 lines
350 B
Text

$NetBSD: patch-al,v 1.1 2006/06/30 22:14:49 tron Exp $
--- mc68k/custom.h.orig 1998-04-25 18:50:11.000000000 +0100
+++ mc68k/custom.h 2006-06-30 23:07:10.000000000 +0100
@@ -43,7 +43,6 @@
extern void do_cycles(int longtime);
extern int do_api(int api);
-extern unsigned long cycles;
extern unsigned long specialflags;
#define SPCFLAG_STOP 2