summaryrefslogtreecommitdiff
path: root/games/dopewars/patches/patch-ae
blob: 7506d3d168295997bd7d96b5fe7af3c6f0bd8ab2 (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
$NetBSD: patch-ae,v 1.2 2001/06/20 08:07:01 jlam Exp $

--- configure.orig	Sun May 13 18:16:50 2001
+++ configure
@@ -3506,8 +3506,8 @@
 
 
       if test "$CURSES_CLIENT" = "yes" ; then
-      echo $ac_n "checking for newterm in -lncurses""... $ac_c" 1>&6
-echo "configure:3511: checking for newterm in -lncurses" >&5
+      echo $ac_n "checking for start_color in -lncurses""... $ac_c" 1>&6
+echo "configure:3511: checking for start_color in -lncurses" >&5
 ac_lib_var=`echo ncurses'_'newterm | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3520,10 +3520,10 @@
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* 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; }
 EOF
 if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -3932,8 +3932,8 @@
       fi
    fi
 
-      CFLAGS="$CFLAGS `glib-config --cflags`"
-   LDFLAGS="$LDFLAGS `glib-config --libs`"
+      CFLAGS="$CFLAGS `$GLIB_CONFIG --cflags`"
+   LDFLAGS="$LDFLAGS `$GLIB_CONFIG --libs`"
 
       GUI_SERVER="no"