Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2013 01:57:45 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335256 - head/devel/protobuf
Message-ID:  <201311300157.rAU1vjUE013677@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno (src committer)
Date: Sat Nov 30 01:57:45 2013
New Revision: 335256
URL: http://svnweb.freebsd.org/changeset/ports/335256

Log:
  Address some of the nonsense seen in audio/clementine-player as the code in
  this port ends up generating libraries and code that just don't link
  correctly.
  
  PR:		ports/178687

Modified:
  head/devel/protobuf/Makefile

Modified: head/devel/protobuf/Makefile
==============================================================================
--- head/devel/protobuf/Makefile	Sat Nov 30 01:24:19 2013	(r335255)
+++ head/devel/protobuf/Makefile	Sat Nov 30 01:57:45 2013	(r335256)
@@ -3,6 +3,7 @@
 
 PORTNAME=	protobuf
 PORTVERSION=	2.5.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
@@ -16,6 +17,10 @@ USE_LDCONFIG=	yes
 USES=		pathfix pkgconfig
 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
+
 tests: build
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311300157.rAU1vjUE013677>