pkgsrc/net/ytalk/patches/patch-ad
wiz a633c00931 Update to 3.3.0:
version 3.3.0
	New features:
	* YTalk now recognizes GNU talk (gtalk)
	* Much improved VT100 support

	Changes:
	* YTalk is now released under the GNU GPL
	* The X11 interface has been removed since no one was using it
	  and it had grown way too outdated
	* Unidentified talk clients are now called "BSD talk",
	  since talk(1) originally appeared in 4.2BSD.
	* Moved to GNU automake
	* Re-indented sources with hard tabs
	* Added a couple of tests (run with 'make check')

	Bug fixes:
	* YTalk now tolerates stacking invite/import requests
	* Fixed a build problem on systems without snprintf()
	* Once again use $HOME when looking for personal ytalkrc

version 3.2.0
	New features:
	* Added far-right "stomping", fixes procps top(1) among other things
	* Separated handling of CR and LF, makes a lot of programs work better
	* Added support for 'G' escape sequence used by Gentoo's init scripts
	* Added "escape-yesno" patch from FreeBSD that optionally requires
	  that you press <escape> before answering yes/no questions
	* Added a "YTALK_VERSION" environment variable to subshells

	Changes:
	* --with-x is now --enable-x

	Bug fixes:
	* Fixed an endless loop in curses titlebar code
	* We now use snprintf() instead of sprintf() if available
	* Restored limit on auto-invite hostnames from 16 to 64 characters

version 3.1.6
	Changes:
	* Don't even build pty allocation code if system has openpty()
	* Made all debugging code strictly optional, add --enable-debug
	  to ./configure if you want it

	Bug fixes:
	* Fixed a crash when resizing YTalk in an XTerm
	* Fixed a remote-crash format string bug in auto-invite daemon
	* Fixed build problems on SunOS
	* Fixed --with-x on X.org (broken since 3.1.2)

version 3.1.5
	New features:
	* We now use openpty() if available to securely allocate ptys
	* Added the prompt-quit patch from Debian again (oops, lost in 3.1.3)

	Bug fixes:
	* Fixed a problem with the configure script on Slackware
	* Added a missing part of VT100 scrolling support
	* Fixed a small memory leak in terminal tab handling
	* Small documentation fixes and updates

version 3.1.4
	New features:
	* Added "rering all" to main menu (requested by Matthew Vernon in '99)
	* Added --with-curses=DIR option to configure script

	Bug fixes:
	* Fixed detection of `socklen_t' type on OpenBSD
	* Fixed a minor problem with the no-beep mode
	* Fixed a minor signed/unsigned issue
	* Cleaned up the configure script a bit

version 3.1.3
	New features:
	* Added support for job control on BSD systems
	* Added terminal tab handling
	* Added terminal keypad modes
	* Added "ignorebreak" mode (^C is ignored unless a shell is running)
	* Added "beeps" to the ytalkrc flags (applies to all beeps)
	* Added internal memory management and tracking

	Changes:
	* Maintainer change to Andreas Kling
	* Dropped getlogin() in favor of getpwuid()
	* Removed "debug" logging code

	Bug fixes:
	* Fixed the shell on Tru64 UNIX
	* restored compatibility with old talk daemons (broken in 3.1.2)
	* restored command line parsing (broken on many systems in 3.1.2)
	* Removed debug code that broke terminal raw mode in 3.1.2

version 3.1.2
	New features:
	* Debug logger added
	* Now optionally prompts user before quitting (when using -q),
	  patch from Colin Watson
	* Added parsing of long options
	* Fixed maximum username length to 11 instead of 8

	Changes:
	* Maintainer change to Jessica Peterson
	* X support isn't compiled as default anymore
	* -x command line switch now enables X11 mode instead of disabling it.
	* Scrolling is enabled by default
	* Upgraded to autoconf 2.59

	Bug fixes:
	* Fixed a possible buffer overflow regarding a oversized $HOME
	  when loading the configuration file
	* Reset handling of SIGCHLD for shells - patch from P. Maragakis
	  following hints by Jason Gunthorpe
2006-01-12 19:57:00 +00:00

143 lines
4.6 KiB
Text

$NetBSD: patch-ad,v 1.1 2006/01/12 19:57:00 wiz Exp $
--- configure.orig 2005-02-13 15:20:16.000000000 +0100
+++ configure
@@ -4331,13 +4331,13 @@ if test "${with_curses+set}" = set; then
fi
fi;
-echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
-echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6
-if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
+echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
+echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
+if test "${ac_cv_lib_curses_initscr+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lncurses $LIBS"
+LIBS="-lcurses $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4382,26 +4382,23 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_ncurses_initscr=yes
+ ac_cv_lib_curses_initscr=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_lib_ncurses_initscr=no
+ac_cv_lib_curses_initscr=no
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
-echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6
-if test $ac_cv_lib_ncurses_initscr = yes; then
- LIBS="$LIBS -lncurses"
- if test x$ytalk_cv_curses = x/usr -a -d /usr/include/ncurses; then
- CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
- fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
+echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
+if test $ac_cv_lib_curses_initscr = yes; then
+ LIBS="$LIBS -lcurses"
-for ac_header in ncurses.h
+for ac_header in curses.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -5297,13 +5294,13 @@ fi
fi
-echo "$as_me:$LINENO: checking for keypad in -lncurses" >&5
-echo $ECHO_N "checking for keypad in -lncurses... $ECHO_C" >&6
-if test "${ac_cv_lib_ncurses_keypad+set}" = set; then
+echo "$as_me:$LINENO: checking for keypad in -lcurses" >&5
+echo $ECHO_N "checking for keypad in -lcurses... $ECHO_C" >&6
+if test "${ac_cv_lib_curses_keypad+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lncurses $LIBS"
+LIBS="-lcurses $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -5348,33 +5345,33 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_ncurses_keypad=yes
+ ac_cv_lib_curses_keypad=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_lib_ncurses_keypad=no
+ac_cv_lib_curses_keypad=no
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_keypad" >&5
-echo "${ECHO_T}$ac_cv_lib_ncurses_keypad" >&6
-if test $ac_cv_lib_ncurses_keypad = yes; then
+echo "$as_me:$LINENO: result: $ac_cv_lib_curses_keypad" >&5
+echo "${ECHO_T}$ac_cv_lib_curses_keypad" >&6
+if test $ac_cv_lib_curses_keypad = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_KEYPAD 1
_ACEOF
else
- echo "$as_me:$LINENO: checking for keypad in -lcurses" >&5
-echo $ECHO_N "checking for keypad in -lcurses... $ECHO_C" >&6
-if test "${ac_cv_lib_curses_keypad+set}" = set; then
+ echo "$as_me:$LINENO: checking for keypad in -lncurses" >&5
+echo $ECHO_N "checking for keypad in -lncurses... $ECHO_C" >&6
+if test "${ac_cv_lib_ncurses_keypad+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcurses $LIBS"
+LIBS="-lncurses $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -5419,20 +5416,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_curses_keypad=yes
+ ac_cv_lib_ncurses_keypad=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_lib_curses_keypad=no
+ac_cv_lib_ncurses_keypad=no
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_curses_keypad" >&5
-echo "${ECHO_T}$ac_cv_lib_curses_keypad" >&6
-if test $ac_cv_lib_curses_keypad = yes; then
+echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_keypad" >&5
+echo "${ECHO_T}$ac_cv_lib_ncurses_keypad" >&6
+if test $ac_cv_lib_ncurses_keypad = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_KEYPAD 1