From hselasky@c2i.net  Thu Aug  9 19:21:51 2012
Return-Path: <hselasky@c2i.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B1EFB1065670
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Aug 2012 19:21:51 +0000 (UTC)
	(envelope-from hselasky@c2i.net)
Received: from swip.net (mailfe07.c2i.net [212.247.154.194])
	by mx1.freebsd.org (Postfix) with ESMTP id 3B63F8FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Aug 2012 19:21:50 +0000 (UTC)
Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org)
  by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4)
  with ESMTPA id 305977977; Thu, 09 Aug 2012 21:21:47 +0200
Message-Id: <201208092122.18680.hselasky@c2i.net>
Date: Thu, 9 Aug 2012 21:22:18 +0200
From: Hans Petter Selasky <hselasky@c2i.net>
To: "Jason E. Hale" <bsdkaffee@gmail.com>
Cc: "FreeBSD-gnats-submit@freebsd.org" <FreeBSD-gnats-submit@freebsd.org>
In-Reply-To: <2629134.VrkBPHlVFX@mocha.verizon.net>
Subject: Re: [PATCH] multimedia/libv4l: Don't link to -lpthread
References: <1344530011.838248.70681@mocha.verizon.net> <201208091853.49683.hselasky@c2i.net> <2629134.VrkBPHlVFX@mocha.verizon.net>

>Number:         170516
>Category:       ports
>Synopsis:       Re: [PATCH] multimedia/libv4l: Don't link to -lpthread
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 09 19:30:01 UTC 2012
>Closed-Date:    Mon Aug 13 05:38:27 UTC 2012
>Last-Modified:  Mon Aug 13 05:38:27 UTC 2012
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Does this also apply for multimedia/webcamd ?
 
 BTW: I just committed a patch there:
 
 ===================================================================
 --- Makefile	(revision 2368)
 +++ Makefile	(working copy)
 @@ -116,6 +116,7 @@
  NOGCCERROR=
  MLINKS=
  BITS_PER_LONG!=${CC} -o long_size_test ${.CURDIR}/tests/long_size_test.c && 
 ./long_size_test
 +PTHREAD_LIBS?=	-lpthread
  
  .include "${.CURDIR}/build/obj-y/Makefile"
  
 @@ -171,7 +172,7 @@
  #
  # List of linker flags
  #
 -LDFLAGS+= -L${LIBDIR} -lusb -lcuse4bsd -lpthread -lutil
 +LDFLAGS+= -L${LIBDIR} -lusb -lcuse4bsd ${PTHREAD_LIBS} -lutil
  
  #
  # List of Linux specific sources
 
 --HPS
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Aug 13 05:37:54 UTC 2012 
State-Changed-Why:  
Misfiled followup to ports/170508; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Aug 13 05:37:54 UTC 2012 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=170516 
>Unformatted:
