diff options
author | adam <adam> | 2011-03-25 10:37:19 +0000 |
---|---|---|
committer | adam <adam> | 2011-03-25 10:37:19 +0000 |
commit | 7cc79b275ebff86d965981922c9b8a47c69584a2 (patch) | |
tree | 6cd13d6b492ead81abc0eff29eea9f40cd61b077 /databases/openldap/patches | |
parent | 834f01da7a4e75839e26d3cfbca0fe7b60ca14d4 (diff) | |
download | pkgsrc-7cc79b275ebff86d965981922c9b8a47c69584a2.tar.gz |
Fix for PR#44758
Diffstat (limited to 'databases/openldap/patches')
-rw-r--r-- | databases/openldap/patches/patch-libraries_liblutil_detach.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/openldap/patches/patch-libraries_liblutil_detach.c b/databases/openldap/patches/patch-libraries_liblutil_detach.c new file mode 100644 index 00000000000..2da0e51da8c --- /dev/null +++ b/databases/openldap/patches/patch-libraries_liblutil_detach.c @@ -0,0 +1,13 @@ +$NetBSD: patch-libraries_liblutil_detach.c,v 1.1 2011/03/25 10:37:19 adam Exp $ + +--- libraries/liblutil/detach.c.orig 2011-03-25 10:28:19.000000000 +0000 ++++ libraries/liblutil/detach.c +@@ -128,7 +128,7 @@ lutil_detach( int debug, int do_close ) + + #ifdef HAVE_SETSID + (void) setsid(); +-#elif TIOCNOTTY ++#elif defined(TIOCNOTTY) + if ( (sd = open( "/dev/tty", O_RDWR )) != -1 ) { + (void) ioctl( sd, TIOCNOTTY, NULL ); + (void) close( sd ); |