svn commit: r366656 - head/devel/protobuf

Steve Wills swills at FreeBSD.org
Sat Aug 30 17:48:20 UTC 2014


Author: swills
Date: Sat Aug 30 17:48:20 2014
New Revision: 366656
URL: http://svnweb.freebsd.org/changeset/ports/366656
QAT: https://qat.redports.org/buildarchive/r366656/

Log:
  devel/protobuf: disable RTTI to fix chrome
  
  Add -DGOOGLE_PROTOBUF_NO_RTTI to CFLAGS to fix chrome
  
  PR:		192821
  Submitted by:	Carlos Jacobo Puga Medina <cpm at fbsd.es>
  Approved by:	vanilla (maintainer)

Modified:
  head/devel/protobuf/Makefile

Modified: head/devel/protobuf/Makefile
==============================================================================
--- head/devel/protobuf/Makefile	Sat Aug 30 17:44:39 2014	(r366655)
+++ head/devel/protobuf/Makefile	Sat Aug 30 17:48:20 2014	(r366656)
@@ -3,7 +3,7 @@
 
 PORTNAME=	protobuf
 PORTVERSION=	2.5.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
@@ -17,7 +17,7 @@ ONLY_FOR_ARCHS=	i386 amd64
 
 # clang will generate code that just doesn't work with clementine-player
 # if this isn't compiled as though it were C99.
-CFLAGS+=	-std=c99
+CFLAGS+=	-std=c99 -DGOOGLE_PROTOBUF_NO_RTTI
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprotobuf-lite.so.8


More information about the svn-ports-all mailing list