ports/117849: [PATCH] devel/distcc-gnome: Fix segfault due to pthread linking
Robert Noland
rnoland at 2hip.net
Mon Nov 5 18:40:01 UTC 2007
>Number: 117849
>Category: ports
>Synopsis: [PATCH] devel/distcc-gnome: Fix segfault due to pthread linking
>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 Nov 05 18:40:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Robert Noland
>Release: FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD rnoland-ibm.2hip.net 8.0-CURRENT FreeBSD 8.0-CURRENT #111: Tue Oct 30 17:10:11 EDT 2007
>Description:
Configure is incorrectly linking in PTHREAD_LIBS, causing segfault at startup.
Port maintainer (ahze at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- distcc-gnome-2.18.3_8.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/distcc/Makefile,v
retrieving revision 1.54
diff -u -r1.54 Makefile
--- Makefile 24 Oct 2007 23:35:04 -0000 1.54
+++ Makefile 5 Nov 2007 18:11:32 -0000
@@ -8,7 +8,7 @@
PORTNAME= distcc
PORTVERSION= 2.18.3
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= devel
MASTER_SITES= http://distcc.samba.org/ftp/distcc/
PATCH_SITES= http://0pointer.de/public/
@@ -24,7 +24,8 @@
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-rfc2553
WANT_GNOME= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
DISTCCD_PIDFILE=/var/run/distccd.pid
USE_RC_SUBR= distccd.sh
SUB_LIST= DISTCCD_PIDFILE=${DISTCCD_PIDFILE}
--- distcc-gnome-2.18.3_8.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list