packages: ettercap/ettercap-ncurses.patch - patch replaced with new one: so...
sparky
sparky at pld-linux.org
Sat Jun 19 16:00:10 CEST 2010
Author: sparky Date: Sat Jun 19 14:00:10 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- patch replaced with new one: some tinfo functions are used directly - link
with -ltinfo as well
---- Files affected:
packages/ettercap:
ettercap-ncurses.patch (1.8 -> 1.9)
---- Diffs:
================================================================
Index: packages/ettercap/ettercap-ncurses.patch
diff -u packages/ettercap/ettercap-ncurses.patch:1.8 packages/ettercap/ettercap-ncurses.patch:1.9
--- packages/ettercap/ettercap-ncurses.patch:1.8 Tue Nov 11 20:04:33 2003
+++ packages/ettercap/ettercap-ncurses.patch Sat Jun 19 16:00:05 2010
@@ -1,29 +1,47 @@
---- configure.in.orig Wed Jun 5 07:32:08 2002
-+++ configure.in Wed Jun 5 07:33:42 2002
-@@ -444,7 +444,7 @@
- AC_CHECK_LIB(ncurses,newpad,,ncurses_warn=1)
-
- if test $ncurses_warn -ne 1; then
-- AC_CHECK_HEADERS(ncurses.h,,ncurses_warn=2)
-+ AC_CHECK_HEADERS(ncurses/ncurses.h,,ncurses_warn=2)
- if test $ncurses_warn -ne 2; then
- AC_DEFINE(HAVE_NCURSES,1)
- ac_cv_ec_ncurses=yes
-@@ -454,7 +454,7 @@
- AC_CHECK_LIB(curses,mvwgetnstr,,curses_warn=1)
-
- if test $curses_warn -ne 1; then
-- AC_CHECK_HEADERS(curses.h,,curses_warn=2)
-+ AC_CHECK_HEADERS(ncurses/curses.h,,curses_warn=2)
- if test $curses_warn -ne 2; then
- AC_DEFINE(HAVE_NCURSES,1)
- ac_cv_ec_ncurses=yes
-@@ -573,7 +573,7 @@
- ac_cv_ec_debug=yes
- ;;
- no) AC_MSG_RESULT(no.)
-- E_CFLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall"
-+ E_CFLAGS="${CFLAGS} -fomit-frame-pointer -Wall"
- ac_cv_ec_debug=no
- ;;
- esac ],
+--- ettercap-NG-0.7.3/configure.in~ 2010-06-19 15:46:50.853044834 +0200
++++ ettercap-NG-0.7.3/configure.in 2010-06-19 15:49:05.153040338 +0200
+@@ -676,7 +676,7 @@
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+ NCURSINC="-I$withval"
+- NCURSLIB="-L$withval -lpanel -lmenu -lform -lncurses"
++ NCURSLIB="-L$withval -lpanel -lmenu -lform -lncurses -ltinfo"
+ AC_DEFINE(HAVE_NCURSES, 1)
+ AM_CONDITIONAL(NCURSES, true)
+ ac_ec_libncurses=$withval
+@@ -688,7 +688,7 @@
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+ NCURSINC="-I$withval/include"
+- NCURSLIB="-L$withval/lib -lpanel -lmenu -lform -lncurses"
++ NCURSLIB="-L$withval/lib -lpanel -lmenu -lform -lncurses -ltinfo"
+ AC_DEFINE(HAVE_NCURSES, 1)
+ AM_CONDITIONAL(NCURSES, true)
+ ac_ec_libncurses=$withval
+@@ -700,7 +700,7 @@
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+ NCURSINC="-I$withval/include/ncurses"
+- NCURSLIB="-L$withval/lib -lpanel -lmenu -lform -lncurses"
++ NCURSLIB="-L$withval/lib -lpanel -lmenu -lform -lncurses -ltinfo"
+ AC_DEFINE(HAVE_NCURSES, 1)
+ AM_CONDITIONAL(NCURSES, true)
+ ac_ec_libncurses=$withval
+@@ -718,7 +718,7 @@
+ AC_MSG_RESULT(no)
+ else
+ NCURSINC="-I/usr/include/ncurses"
+- NCURSLIB="-lpanel -lmenu -lform -lncurses"
++ NCURSLIB="-lpanel -lmenu -lform -lncurses -ltinfo"
+ AC_DEFINE(HAVE_NCURSES, 1)
+ AM_CONDITIONAL(NCURSES, true)
+ ac_ec_libncurses=default
+@@ -730,7 +730,7 @@
+ -a -f /usr/include/panel.h; then
+ AC_MSG_RESULT(no)
+ else
+- NCURSLIB="-lpanel -lmenu -lform -lncurses"
++ NCURSLIB="-lpanel -lmenu -lform -lncurses -ltinfo"
+ AC_DEFINE(HAVE_NCURSES, 1)
+ AM_CONDITIONAL(NCURSES, true)
+ ac_ec_libncurses=default
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ettercap/ettercap-ncurses.patch?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list