From 2f2e798f52169675e33bba9ef0f28b4a53eff343 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Tue, 10 Apr 2007 16:28:56 +0000 Subject: Unbreak for kernels without COMPAT_43TTY Note: the patch was accepted by OpenLDAP, but not yet integrated into their RELENG_2_4 branch. Submitted by: Ed Schouten PR: ports/110386 --- net/openldap24-server/files/patch-43tty | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 net/openldap24-server/files/patch-43tty (limited to 'net/openldap24-server/files/patch-43tty') diff --git a/net/openldap24-server/files/patch-43tty b/net/openldap24-server/files/patch-43tty new file mode 100644 index 000000000000..157fe6c3b0fe --- /dev/null +++ b/net/openldap24-server/files/patch-43tty @@ -0,0 +1,22 @@ +--- include/ac/termios.h Tue Jan 2 22:43:47 2007 ++++ include/ac/termios.h Fri Mar 16 13:48:00 2007 +@@ -17,7 +17,7 @@ + #ifndef _AC_TERMIOS_H + #define _AC_TERMIOS_H + +-#ifdef HAVE_POSIX_TERMIOS ++#ifdef HAVE_TERMIOS_H + #include + + #ifdef GCWINSZ_IN_SYS_IOCTL +--- libraries/liblutil/getpass.c Tue Jan 2 22:43:52 2007 ++++ libraries/liblutil/getpass.c Fri Mar 16 13:47:52 2007 +@@ -60,7 +60,7 @@ + char * + lutil_getpass( const char *prompt ) + { +-#if !defined(HAVE_POSIX_TERMIOS) && !defined(HAVE_SGTTY_H) ++#if !defined(HAVE_TERMIOS_H) && !defined(HAVE_SGTTY_H) + static char buf[256]; + int i, c; + -- cgit v1.2.3