summaryrefslogtreecommitdiff
path: root/games/dopewars/patches/patch-ae
blob: f0325a2528f14826cd3a364077927238f1ffa6d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
$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