ports/144221: [PATCH] net/openldap24-server Fix build with new GCC

Rob Farmer rfarmer at predatorlabs.net
Tue Feb 23 02:30:03 UTC 2010


>Number:         144221
>Category:       ports
>Synopsis:       [PATCH] net/openldap24-server Fix build with new GCC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 23 02:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD thinkpad.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r204181: Sun Feb 21 15:33:31 PST 2010     rfarmer at thinkpad.predatorlabs.net:/obj/usr/src/sys/THINKPAD  i386
>Description:
Remove a branch of code that GCC 4.4/4.5 don't like. This code is never reached on FreeBSD so there should be no functional changes.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: files/patch-libraries-liblutil-detach.c
===================================================================
RCS file: files/patch-libraries-liblutil-detach.c
diff -N files/patch-libraries-liblutil-detach.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-libraries-liblutil-detach.c	22 Feb 2010 12:43:48 -0000
@@ -0,0 +1,14 @@
+--- libraries/liblutil/detach.c.orig	2010-02-22 04:42:35.000000000 -0800
++++ libraries/liblutil/detach.c	2010-02-22 04:42:58.000000000 -0800
+@@ -128,11 +128,6 @@
+ 
+ #ifdef HAVE_SETSID
+ 		(void) setsid();
+-#elif TIOCNOTTY
+-		if ( (sd = open( "/dev/tty", O_RDWR )) != -1 ) {
+-			(void) ioctl( sd, TIOCNOTTY, NULL );
+-			(void) close( sd );
+-		}
+ #endif
+ 	} 
+ 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list