Bug 182137

Summary: [patch] devel/sdl20: disable posix semaphores only if sem.ko is required
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Marcus von Appen <mva>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
sem.diff none

Description Jan Beich freebsd_committer freebsd_triage 2013-09-16 02:30:00 UTC
After r201546 sem_init(pshared=1) always works without sem.ko but SDL
uses sem_init(pshared=0) which worked even before.

devel/sdl12 auto-enables sem_init() usage via configure (vendor default).
devel/sdl20 unconditionally disables sem_init() usage (port override).

Undocumented bug?

Fix: This or enable everywhere since even sdl12 package for 8.3-RELEASE
references sem_init() and works fine.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-16 02:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mva

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-13 22:26:26 UTC
Author: mva
Date: Wed Nov 13 22:26:18 2013
New Revision: 333731
URL: http://svnweb.freebsd.org/changeset/ports/333731

Log:
  - Enable posix semaphores support
  
  PR:		ports/182137
  Submitted by:	Jan Beich <jbeich@tormail.org>

Modified:
  head/devel/sdl20/Makefile

Modified: head/devel/sdl20/Makefile
==============================================================================
--- head/devel/sdl20/Makefile	Wed Nov 13 22:21:35 2013	(r333730)
+++ head/devel/sdl20/Makefile	Wed Nov 13 22:26:18 2013	(r333731)
@@ -2,6 +2,7 @@
 
 PORTNAME=	sdl2
 PORTVERSION=	2.0.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.libsdl.org/release/
 DISTNAME=	SDL2-${PORTVERSION}
@@ -14,8 +15,7 @@ LICENSE=	ZLIB
 USES=		pathfix cmake:outsource iconv
 USE_LDCONFIG=	yes
 
-CMAKE_ARGS+=	-DVIDEO_OPENGLES:BOOL=OFF -DPTHREADS_SEM:BOOL=OFF \
-		-DALTIVEC:BOOL=OFF -DARTS:BOOL=OFF
+CMAKE_ARGS+=	-DVIDEO_OPENGLES:BOOL=OFF -DALTIVEC:BOOL=OFF -DARTS:BOOL=OFF
 CMAKE_ENV+=	CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
 
 OPTIONS_DEFINE=		ALSA ASM DLOPEN ESOUND MMX NAS OSS \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Marcus von Appen freebsd_committer freebsd_triage 2013-11-13 22:26:53 UTC
State Changed
From-To: open->closed

Committed. Thanks!