Permalink
Browse files

Address some of the nonsense seen in audio/clementine-player as the c…

…ode in

this port ends up generating libraries and code that just don't link
correctly.

PR:		ports/178687
  • Loading branch information...
1 parent 081d137 commit fa62cb788fb2edae156d6eda24b573630a6f4199 @seanbruno seanbruno committed Nov 30, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 devel/protobuf/Makefile
View
@@ -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)

0 comments on commit fa62cb7

Please sign in to comment.