svn commit: r322154 - head/devel/libvirt

Jason Helfman jgh at FreeBSD.org
Tue Jul 2 04:21:06 UTC 2013


Author: jgh
Date: Tue Jul  2 04:21:05 2013
New Revision: 322154
URL: http://svnweb.freebsd.org/changeset/ports/322154

Log:
  - -fstack-protector is in CFLAGS, but not in LDFLAGS.  The compiler run
  inserts references to __stack_chk* symbols, but the linker run later
  does not resolve them.
  
  add -fstack-protector to LDFLAGS
  bump portrevision
  
  Submitted by:	mandree@ and others

Modified:
  head/devel/libvirt/Makefile

Modified: head/devel/libvirt/Makefile
==============================================================================
--- head/devel/libvirt/Makefile	Tue Jul  2 02:16:57 2013	(r322153)
+++ head/devel/libvirt/Makefile	Tue Jul  2 04:21:05 2013	(r322154)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libvirt
 PORTVERSION=	1.0.6
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://libvirt.org/sources/ \
 		ftp://libvirt.org/libvirt/
@@ -37,7 +38,7 @@ CONFIGURE_ARGS=	--without-sasl \
 #limit to non-stable release x.x.x
 PORTSCOUT=	limit:\d+\.\d+\.\d+$$
 
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib -fstack-protector
 
 USES=		charsetfix pathfix
 USE_GMAKE=	yes


More information about the svn-ports-all mailing list