diff options
author | arved <arved@FreeBSD.org> | 2004-09-03 05:27:25 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-09-03 05:27:25 +0800 |
commit | b9e36d79fabd3554c755ea85b25aa8c5a0906fa8 (patch) | |
tree | fa54e13f7f30c1b7698c7745dcf75a69af48fc9d /games | |
parent | e939e7d0b8b508ef7ef63ebc2f1b9e409438064e (diff) | |
download | freebsd-ports-gnome-b9e36d79fabd3554c755ea85b25aa8c5a0906fa8.tar.gz freebsd-ports-gnome-b9e36d79fabd3554c755ea85b25aa8c5a0906fa8.tar.zst freebsd-ports-gnome-b9e36d79fabd3554c755ea85b25aa8c5a0906fa8.zip |
Fix build with gcc 3.4
Diffstat (limited to 'games')
-rw-r--r-- | games/slashem-tty/files/patch-termcap.c | 13 | ||||
-rw-r--r-- | games/unnethack/files/patch-termcap.c | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/games/slashem-tty/files/patch-termcap.c b/games/slashem-tty/files/patch-termcap.c new file mode 100644 index 000000000000..2010a5ad6323 --- /dev/null +++ b/games/slashem-tty/files/patch-termcap.c @@ -0,0 +1,13 @@ +--- win/tty/termcap.c.orig Thu Sep 2 23:20:27 2004 ++++ win/tty/termcap.c Thu Sep 2 23:20:46 2004 +@@ -835,10 +835,6 @@ + + #include <curses.h> + +-#ifndef LINUX +-extern char *tparm(); +-#endif +- + # ifdef COLOR_BLACK /* trust include file */ + #undef COLOR_BLACK + # else diff --git a/games/unnethack/files/patch-termcap.c b/games/unnethack/files/patch-termcap.c new file mode 100644 index 000000000000..2010a5ad6323 --- /dev/null +++ b/games/unnethack/files/patch-termcap.c @@ -0,0 +1,13 @@ +--- win/tty/termcap.c.orig Thu Sep 2 23:20:27 2004 ++++ win/tty/termcap.c Thu Sep 2 23:20:46 2004 +@@ -835,10 +835,6 @@ + + #include <curses.h> + +-#ifndef LINUX +-extern char *tparm(); +-#endif +- + # ifdef COLOR_BLACK /* trust include file */ + #undef COLOR_BLACK + # else |