Fix build with gcc4 on -current.

This commit is contained in:
markd 2006-10-17 08:42:03 +00:00
parent f2d8b7b7aa
commit 429c044e71
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.9 2006/04/24 22:22:55 markd Exp $
$NetBSD: distinfo,v 1.10 2006/10/17 08:42:03 markd Exp $
SHA1 (spim-7.1.tar.gz) = 3e0399e4c2e007aecbd2532b9d8f3f63b7035ff9
RMD160 (spim-7.1.tar.gz) = 175f63d95011a20087ab135de54b03fccc98286d
@ -6,3 +6,4 @@ Size (spim-7.1.tar.gz) = 307599 bytes
SHA1 (patch-aa) = ad07b8a31f95c27596dc56e7ba687df62794b404
SHA1 (patch-ab) = 5e1cf699e926f434d6f6aba8f55df7ad7da44fdb
SHA1 (patch-ac) = f3785adfdedf5744b0ce7b0bae5f39436bd4ac88
SHA1 (patch-ad) = cf4e94736a0f5f5d036d362dfc6ca09e4e62bb9e

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1 2006/10/17 08:42:03 markd Exp $
--- spim.c.orig 2006-10-17 21:33:10.000000000 +1300
+++ spim.c
@@ -111,7 +111,7 @@ int spim_return_value; /* Value returne
/* Non-zero => load standard exception handler */
static int load_exception_handler = 1;
-static char *exception_file_name = DEFAULT_EXCEPTION_HANDLER;
+char *exception_file_name = DEFAULT_EXCEPTION_HANDLER;
static int console_state_saved;
#ifdef USE_TERMIOS
static struct termios saved_console_state;