summaryrefslogtreecommitdiff
path: root/games/dopewars/patches/patch-ae
blob: 5ac650776881ee4cfc7f874b6ed2d8f2d56e459d (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
50
51
52
53
$NetBSD: patch-ae,v 1.4 2002/12/06 16:50:04 jmmv Exp $

--- configure.orig	Mon Oct 21 13:09:19 2002
+++ configure
@@ -8364,8 +8364,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
@@ -8381,7 +8381,7 @@ 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 ();
 #ifdef F77_DUMMY_MAIN
 #  ifdef __cplusplus
      extern "C"
@@ -8391,7 +8391,7 @@ char newterm ();
 int
 main ()
 {
-newterm ();
+start_color ();
   ;
   return 0;
 }
@@ -14496,7 +14496,10 @@ cat >>confdefs.h <<_ACEOF
 #define DPDATADIR "$DPDATADIR"
 _ACEOF
 
-
+DPLOCALSTATEDIR="${localstatedir}"
+cat >>confdefs.h <<_ACEOF
+#define DPLOCALSTATEDIR "$DPLOCALSTATEDIR"
+_ACEOF
 
 localedir=${datadir}/locale
 
@@ -15321,6 +15324,7 @@ s,@PLUGOBJS@,$PLUGOBJS,;t t
 s,@PLUGINS_TRUE@,$PLUGINS_TRUE,;t t
 s,@PLUGINS_FALSE@,$PLUGINS_FALSE,;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