aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-04-11 00:28:56 +0800
committerdelphij <delphij@FreeBSD.org>2007-04-11 00:28:56 +0800
commit98a978d0acfb8073b1b434b82f0a8c7f0fa03190 (patch)
treec375936bf2c839bdc8496207d517c4cda4e99f76 /net
parentb67a49575b374fc146aa3bec7eb2b922e7161204 (diff)
downloadfreebsd-ports-gnome-98a978d0acfb8073b1b434b82f0a8c7f0fa03190.tar.gz
freebsd-ports-gnome-98a978d0acfb8073b1b434b82f0a8c7f0fa03190.tar.zst
freebsd-ports-gnome-98a978d0acfb8073b1b434b82f0a8c7f0fa03190.zip
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 <ed fxq.nl> PR: ports/110386
Diffstat (limited to 'net')
-rw-r--r--net/openldap24-server/files/patch-43tty22
1 files changed, 22 insertions, 0 deletions
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 <termios.h>
+
+ #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;
+