termcap double declaration. fixes gcc4
This commit is contained in:
parent
0062941a95
commit
3524bb0e7a
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-include_system_h,v 1.2 2005/09/11 12:26:02 espie Exp $
|
||||
$OpenBSD: patch-include_system_h,v 1.3 2010/05/19 07:34:43 espie Exp $
|
||||
--- include/system.h.orig Sat Jul 2 09:24:44 2005
|
||||
+++ include/system.h Sun Sep 11 13:34:07 2005
|
||||
@@ -525,6 +525,9 @@ E struct tm *FDECL(localtime, (const tim
|
||||
+++ include/system.h Wed May 19 06:07:02 2010
|
||||
@@ -525,6 +525,9 @@ E struct tm *FDECL(localtime, (const time_t *));
|
||||
# endif
|
||||
# endif
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-sys_unix_Makefile_src,v 1.2 2005/09/11 12:26:02 espie Exp $
|
||||
$OpenBSD: patch-sys_unix_Makefile_src,v 1.3 2010/05/19 07:34:43 espie Exp $
|
||||
--- sys/unix/Makefile.src.orig Sat Jul 2 09:24:44 2005
|
||||
+++ sys/unix/Makefile.src Sun Sep 11 13:53:12 2005
|
||||
+++ sys/unix/Makefile.src Wed May 19 06:07:02 2010
|
||||
@@ -1,6 +1,7 @@
|
||||
# NetHack Makefile.
|
||||
# SCCS Id: @(#)Makefile.src 3.4 2002/03/02
|
||||
@ -9,7 +9,7 @@ $OpenBSD: patch-sys_unix_Makefile_src,v 1.2 2005/09/11 12:26:02 espie Exp $
|
||||
# newer makes predefine $(MAKE) to 'make' and do smarter processing of
|
||||
# recursive make calls if $(MAKE) is used
|
||||
# these makes allow $(MAKE) to be overridden by the environment if someone
|
||||
@@ -144,8 +145,7 @@ SYSOBJ = ioctl.o unixmain.o unixtty.o un
|
||||
@@ -144,8 +145,7 @@ SYSOBJ = ioctl.o unixmain.o unixtty.o unixunix.o unixr
|
||||
# flags for debugging:
|
||||
# CFLAGS = -g -I../include
|
||||
|
||||
@ -19,7 +19,7 @@ $OpenBSD: patch-sys_unix_Makefile_src,v 1.2 2005/09/11 12:26:02 espie Exp $
|
||||
|
||||
# Only used for the Gnome interface.
|
||||
# When including the Gnome interface, you need to include gnome specific
|
||||
@@ -291,8 +291,6 @@ WINGLOBJ = gl_conf.o gl_emul.o gl_font.o
|
||||
@@ -291,8 +291,6 @@ WINGLOBJ = gl_conf.o gl_emul.o gl_font.o gl_hardw.o \
|
||||
SDLGL_CFLAGS = `sdl-config --cflags`
|
||||
|
||||
# Use these declarations if you only want to support the TTY windowing system
|
||||
|
@ -1,7 +1,13 @@
|
||||
$OpenBSD: patch-win_tty_termcap_c,v 1.1 2000/04/16 21:19:08 espie Exp $
|
||||
--- win/tty/termcap.c.orig Fri Apr 14 15:15:20 2000
|
||||
+++ win/tty/termcap.c Fri Apr 14 15:19:54 2000
|
||||
@@ -827,7 +827,9 @@ init_hilite()
|
||||
$OpenBSD: patch-win_tty_termcap_c,v 1.2 2010/05/19 07:34:43 espie Exp $
|
||||
--- win/tty/termcap.c.orig Wed Sep 25 02:37:10 1996
|
||||
+++ win/tty/termcap.c Wed May 19 09:29:56 2010
|
||||
@@ -821,13 +821,14 @@ init_hilite()
|
||||
{
|
||||
register int c;
|
||||
char *setf, *scratch;
|
||||
- extern char *tparm();
|
||||
|
||||
for (c = 0; c < SIZE(hilites); c++)
|
||||
hilites[c] = HI;
|
||||
hilites[CLR_GRAY] = hilites[NO_COLOR] = (char *)0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user