ports/75291: [PATCH] net/DarwinStreamingServer: must link against libc_r to avoid crashes

Lars Eggert lars.eggert at gmx.net
Mon Dec 20 08:40:27 UTC 2004


>Number:         75291
>Category:       ports
>Synopsis:       [PATCH] net/DarwinStreamingServer: must link against libc_r to avoid crashes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 20 08:40:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lars Eggert
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD kobe.netlab.nec.de 5.3-STABLE FreeBSD 5.3-STABLE #14: Tue Dec  7 13:32:55 CET
>Description:
I've found that if I don't link this against libc_r, the streaming
server often crashes when clients attempt to start a stream.

Port maintainer (nork at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- DarwinStreamingServer-5.0.1.1_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/DarwinStreamingServer/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile	16 Dec 2004 14:38:53 -0000	1.14
+++ Makefile	20 Dec 2004 08:34:44 -0000
@@ -36,8 +36,11 @@
 		CXX="${CXX}"				\
 		MAKE="${MAKE}"				\
 		DATADIR="${DATADIR}"			\
-		PTHREAD_LIBS="${PTHREAD_LIBS}"		\
+		PTHREAD_LIBS="-lc_r"		\
 		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"	\
+
+#		PTHREAD_LIBS="${PTHREAD_LIBS}"		\
+#		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"	\
 
 post-extract:
 	@${RM} -rf ${WRKSRC}/dssPackageMetaData ${WRKSRC}/pubPackageMetaData ${WRKSRC}/qtssPackageMetaData
--- DarwinStreamingServer-5.0.1.1_2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list