Bug 182774 - [MAINTAINER-UPDATE]: graphics/apvlv Link to pthread directly
Summary: [MAINTAINER-UPDATE]: graphics/apvlv Link to pthread directly
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Felder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-06 20:30 UTC by Maxim Samsonov
Modified: 2013-11-04 15:00 UTC (History)
0 users

See Also:


Attachments
graphics_apvlv.patch (505 bytes, patch)
2013-10-06 20:30 UTC, Maxim Samsonov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Samsonov 2013-10-06 20:30:00 UTC
Eliminates indirect dependency on pthread library after glib update.
Linking without pthread library makes apvlv segfaults on startup.
Comment 1 Mark Felder freebsd_committer freebsd_triage 2013-11-03 00:26:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->feld

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-03 00:36:41 UTC
Author: feld
Date: Sun Nov  3 00:36:33 2013
New Revision: 332567
URL: http://svnweb.freebsd.org/changeset/ports/332567

Log:
  Link to pthread directly
  
  PR:		ports/182774
  Approved by:	swills (mentor, implicit)

Modified:
  head/graphics/apvlv/Makefile

Modified: head/graphics/apvlv/Makefile
==============================================================================
--- head/graphics/apvlv/Makefile	Sun Nov  3 00:24:37 2013	(r332566)
+++ head/graphics/apvlv/Makefile	Sun Nov  3 00:36:33 2013	(r332567)
@@ -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 @@ CMAKE_ARGS+=	-DSYSCONFDIR=${PREFIX}/etc 
 		-DDOCDIR=${DOCSDIR} \
 		-DAPVLV_WITH_UMD=OFF \
 		-DAPVLV_WITH_TXT=ON
+CFLAGS+=	${PTHREAD_CFLAGS}
+LDFLAGS+=	${PTHREAD_LIBS}
 
 OPTIONS_DEFINE=	DJVU WEBKIT
 
_______________________________________________
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 Mark Felder freebsd_committer freebsd_triage 2013-11-03 00:36:59 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-11-04 14:57:35 UTC
Author: feld
Date: Mon Nov  4 14:57:27 2013
New Revision: 332738
URL: http://svnweb.freebsd.org/changeset/ports/332738

Log:
  PTHREAD_CFLAGS and PTHREAD_LIBS are deprecated
  
  PR:		ports/182774
  Submitted by:	tijl, eadler
  Approved by:	swills (mentor, implicit)

Modified:
  head/graphics/apvlv/Makefile

Modified: head/graphics/apvlv/Makefile
==============================================================================
--- head/graphics/apvlv/Makefile	Mon Nov  4 14:51:44 2013	(r332737)
+++ head/graphics/apvlv/Makefile	Mon Nov  4 14:57:27 2013	(r332738)
@@ -22,8 +22,8 @@ CMAKE_ARGS+=	-DSYSCONFDIR=${PREFIX}/etc 
 		-DDOCDIR=${DOCSDIR} \
 		-DAPVLV_WITH_UMD=OFF \
 		-DAPVLV_WITH_TXT=ON
-CFLAGS+=	${PTHREAD_CFLAGS}
-LDFLAGS+=	${PTHREAD_LIBS}
+CFLAGS+=	-pthread
+LDFLAGS+=	-pthread
 
 OPTIONS_DEFINE=	DJVU WEBKIT
 
_______________________________________________
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"