ports/182774: [MAINTAINER-UPDATE]: graphics/apvlv Link to pthread directly

Maxim Samsonov xors at mailup.net
Sun Oct 6 19:30:01 UTC 2013


>Number:         182774
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE]: graphics/apvlv Link to pthread directly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 06 19:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Maxim Samsonov
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
>Description:
Eliminates indirect dependency on pthread library after glib update.
Linking without pthread library makes apvlv segfaults on startup.
>How-To-Repeat:
>Fix:
--- graphics_apvlv.patch begins here ---
diff --git a/graphics/apvlv/Makefile b/graphics/apvlv/Makefile
--- a/graphics/apvlv/Makefile
+++ b/graphics/apvlv/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	apvlv
 PORTVERSION=	0.1.4
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://cloud.github.com/downloads/naihe2010/apvlv/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-Source
@@ -21,6 +22,8 @@
 		-DDOCDIR=${DOCSDIR} \
 		-DAPVLV_WITH_UMD=OFF \
 		-DAPVLV_WITH_TXT=ON
+CFLAGS+=	${PTHREAD_CFLAGS}
+LDFLAGS+=	${PTHREAD_LIBS}
 
 OPTIONS_DEFINE=	DJVU WEBKIT
 
--- graphics_apvlv.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list