Date: Sun, 19 Sep 2010 17:25:35 +0400 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/150717: [patch] audio/openal-soft: drop -lrt, clock_gettime() is in libc Message-ID: <864odlamr4.fsf@gmail.com> Resent-Message-ID: <201009191330.o8JDU25T038035@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150717 >Category: ports >Synopsis: [patch] audio/openal-soft: drop -lrt, clock_gettime() is in libc >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: Sun Sep 19 13:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: >How-To-Repeat: $ nm -D $LOCALBASE/lib/libopenal.so | fgrep -e timer_ -e mq_ >Fix: --- a.diff begins here --- Index: audio/openal-soft/files/patch-CMakeLists.txt =================================================================== RCS file: /a/.cvsup/ports/audio/openal-soft/files/patch-CMakeLists.txt,v retrieving revision 1.3 diff -u -p -r1.3 patch-CMakeLists.txt --- audio/openal-soft/files/patch-CMakeLists.txt 21 Jan 2010 18:57:08 -0000 1.3 +++ audio/openal-soft/files/patch-CMakeLists.txt 19 Sep 2010 13:17:15 -0000 @@ -1,5 +1,16 @@ --- CMakeLists.txt.orig 2010-01-20 08:40:38.000000000 +0100 +++ CMakeLists.txt 2010-01-20 08:40:50.000000000 +0100 +@@ -259,10 +259,6 @@ IF(NOT HAVE_WINDOWS_H) + + CHECK_LIBRARY_EXISTS(pthread pthread_setschedparam "" HAVE_PTHREAD_SETSCHEDPARAM) + +- CHECK_LIBRARY_EXISTS(rt clock_gettime "" HAVE_LIBRT) +- IF(HAVE_LIBRT) +- SET(EXTRA_LIBS rt ${EXTRA_LIBS}) +- ENDIF() + ENDIF() + + # Check for a 64-bit type @@ -463,7 +463,7 @@ DESTINATION include/AL ) --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864odlamr4.fsf>