]> git.pld-linux.org Git - packages/grass.git/blob - ncurses.patch
- updated to 6.4.3
[packages/grass.git] / ncurses.patch
1 this is ugly, really these libs should be checked in order
2 also as regeneration fails, we change also configure
3
4 --- grass-6.4.0/configure.in~   2010-08-15 23:34:39.000000000 +0300
5 +++ grass-6.4.0/configure.in    2010-12-26 22:26:02.982445841 +0200
6 @@ -514,8 +514,8 @@
7  AC_SUBST(CURSES_MAXY)
8  AC_MSG_RESULT($CURSES_MAXY)
9  
10 -AC_CHECK_LIB(ncurses, initscr, CURSESLIB=-lncurses, [
11 -AC_CHECK_LIB(curses, initscr, CURSESLIB=-lcurses, [
12 +AC_CHECK_LIB(ncursesw, initscr, CURSESLIB="-lncursesw -ltinfow", [
13 +AC_CHECK_LIB(ncurses, initscr, CURSESLIB="-lncurses -ltinfo", [
14      AC_MSG_ERROR([*** Unable to locate curses library.])
15      CURSESLIB=
16  ])])
17 --- grass-6.4.3/configure.orig  2013-07-27 20:44:57.000000000 +0200
18 +++ grass-6.4.3/configure       2014-05-18 18:30:25.673456894 +0200
19 @@ -5718,12 +5718,12 @@
20  
21  echo "$ac_t""$CURSES_MAXY" 1>&6
22  
23 -echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
24 -echo "configure:5723: checking for initscr in -lncurses" >&5
25 +echo $ac_n "checking for initscr in -lncursesw""... $ac_c" 1>&6
26 +echo "configure:5723: checking for initscr in -lncursesw" >&5
27  ac_lib_var=`echo ncurses'_'initscr | sed 'y%./+-%__p_%'`
28  
29  ac_save_LIBS="$LIBS"
30 -LIBS="-lncurses  $LIBS"
31 +LIBS="-lncursesw  $LIBS"
32  cat > conftest.$ac_ext <<EOF
33  #line 5729 "configure"
34  #include "confdefs.h"
35 @@ -5750,7 +5750,7 @@
36  
37  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
38    echo "$ac_t""yes" 1>&6
39 -  CURSESLIB=-lncurses
40 +  CURSESLIB=-lncursesw
41  else
42    echo "$ac_t""no" 1>&6
43  
44 @@ -5786,7 +5786,7 @@
45  
46  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
47    echo "$ac_t""yes" 1>&6
48 -  CURSESLIB=-lcurses
49 +  CURSESLIB=-lncurses
50  else
51    echo "$ac_t""no" 1>&6
52  
This page took 0.134895 seconds and 4 git commands to generate.