pkgsrc/games/dopewars/patches/patch-ae
adam 7b369cf504 Changes 1.5.10:
This is largely a bugfix release, fixing a
server DOS and some minor bugs in the text-mode client.
2004-11-05 09:44:33 +00:00

49 lines
1.4 KiB
Text

$NetBSD: patch-ae,v 1.6 2004/11/05 09:44:33 adam Exp $
--- configure.orig 2004-10-25 07:05:30.000000000 +0000
+++ configure
@@ -9249,8 +9249,8 @@ echo "${ECHO_T}Configuring for Unix bina
if test "$CURSES_CLIENT" != "no" ; then
-echo "$as_me:$LINENO: checking for newterm in -lncurses" >&5
-echo $ECHO_N "checking for newterm in -lncurses... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for start_color in -lncurses" >&5
+echo $ECHO_N "checking for start_color in -lncurses... $ECHO_C" >&6
if test "${ac_cv_lib_ncurses_newterm+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -9269,11 +9269,11 @@ extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char newterm ();
+char start_color ();
int
main ()
{
-newterm ();
+start_color ();
;
return 0;
}
@@ -16157,7 +16157,10 @@ cat >>confdefs.h <<_ACEOF
#define DPDATADIR "$DPDATADIR"
_ACEOF
-
+DPLOCALSTATEDIR="${localstatedir}"
+cat >>confdefs.h <<_ACEOF
+#define DPLOCALSTATEDIR "$DPLOCALSTATEDIR"
+_ACEOF
localedir=${datadir}/locale
@@ -17053,6 +17056,7 @@ s,@PLUGINS_TRUE@,$PLUGINS_TRUE,;t t
s,@PLUGINS_FALSE@,$PLUGINS_FALSE,;t t
s,@DPSCOREDIR@,$DPSCOREDIR,;t t
s,@DPDATADIR@,$DPDATADIR,;t t
+s,@DPLOCALSTATEDIR@,$DPLOCALSTATEDIR,;t t
s,@localedir@,$localedir,;t t
s,@GUI_CLIENT_TRUE@,$GUI_CLIENT_TRUE,;t t
s,@GUI_CLIENT_FALSE@,$GUI_CLIENT_FALSE,;t t