ports/150717: [patch] audio/openal-soft: drop -lrt, clock_gettime() is in libc
Anonymous
swell.k at gmail.com
Sun Sep 19 13:30:02 UTC 2010
>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:
More information about the freebsd-ports-bugs
mailing list