ports/119352: graphics/ilmbase configure tests for shared semaphores but uses non-shared sems
Stephen Hurd
shurd at sasktel.net
Sat Jan 5 03:10:01 UTC 2008
>Number: 119352
>Category: ports
>Synopsis: graphics/ilmbase configure tests for shared semaphores but uses non-shared sems
>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: Sat Jan 05 03:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Stephen Hurd
>Release: 7.0-RC1
>Organization:
>Environment:
FreeBSD vorpal.hurd.local 7.0-RC1 FreeBSD 7.0-RC1 #0: Sun Dec 30 15:59:13 CST 2007 root at vorpal.bbsdev.local:/usr/obj/usr/src/sys/VORPAL sparc64
>Description:
configure tests for working shared semaphores but does not use them. In the absence of working shared semaphores, graphics/ilmbase uses an emulated semaphore library.
>How-To-Repeat:
cd /usr/ports/graphics/ilmbase
make configure
Watch the unnamed semaphore test fail.
>Fix:
Add attached patch-configure to files.
Patch attached with submission follows:
--- configure.orig 2008-01-04 18:32:28.000000000 -0800
+++ configure 2008-01-04 18:33:01.000000000 -0800
@@ -20148,7 +20148,7 @@
{
sem_t mysem;
- if (sem_init (&mysem, 1, 1) == 0)
+ if (sem_init (&mysem, 0, 1) == 0)
{
if (sem_wait (&mysem) == 0)
{
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list