From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 21 21:20:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80C54106566B for ; Mon, 21 May 2012 21:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3FED48FC14 for ; Mon, 21 May 2012 21:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4LLK5M3034454 for ; Mon, 21 May 2012 21:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4LLK5fR034453; Mon, 21 May 2012 21:20:05 GMT (envelope-from gnats) Resent-Date: Mon, 21 May 2012 21:20:05 GMT Resent-Message-Id: <201205212120.q4LLK5fR034453@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71CDF106564A for ; Mon, 21 May 2012 21:18:37 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from server2.allsitecontrol.com (server2.allsitecontrol.com [63.143.36.210]) by mx1.freebsd.org (Postfix) with ESMTP id 3816D8FC19 for ; Mon, 21 May 2012 21:18:37 +0000 (UTC) Received: from raskin.torservers.net ([74.120.15.150]:11729 helo=internal.tormail.org) by server2.allsitecontrol.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.77) (envelope-from ) id 1SWZzt-004Kec-QG for FreeBSD-gnats-submit@freebsd.org; Mon, 21 May 2012 17:18:34 -0400 Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1SWZyf-0004tH-1i for FreeBSD-gnats-submit@freebsd.org; Mon, 21 May 2012 21:17:18 +0000 Message-Id: <1SWZyf-0004tH-1i@internal.tormail.org> Date: Mon, 21 May 2012 14:17:07 -0700 From: Jan Beich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/168207: [patch] multimedia/libv4l: do not link against librt for shm_open(2) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2012 21:20:11 -0000 >Number: 168207 >Category: ports >Synopsis: [patch] multimedia/libv4l: do not link against librt for shm_open(2) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 21 21:20:04 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: Unlike glibc our librt does not provide shm_* smybols, so avoid this linuxism. While here get rid of code for 6.x and earlier, they're EoL. >How-To-Repeat: $ make patch $ fgrep -r -e aio_ -e mq_ -e timer_ $(make -V WRKSRC)/ Exit 1 >Fix: --- nort.diff begins here --- Index: multimedia/libv4l/Makefile =================================================================== RCS file: /a/.csup/ports/multimedia/libv4l/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- multimedia/libv4l/Makefile 10 May 2012 15:06:06 -0000 1.6 +++ multimedia/libv4l/Makefile 20 May 2012 20:21:55 -0000 @@ -29,13 +29,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/lib .include post-patch: -.if ${OSVERSION} < 700000 - @${REINPLACE_CMD} -e 's|-fvisibility=hidden||g' -e 's|-lrt||g' \ - ${WRKSRC}/libv4l1/Makefile \ - ${WRKSRC}/libv4l2/Makefile \ - ${WRKSRC}/libv4lconvert/Makefile -.endif @${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ + -e 's|-lrt||g' \ ${WRKSRC}/libv4l1/Makefile \ ${WRKSRC}/libv4l2/Makefile \ ${WRKSRC}/libv4lconvert/Makefile --- nort.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: