Print this page
Some packages need to specify -std=gnu89 to compile, and gcc51 defaults to
gnu11 now.
Also, updated mozilla-nss-nspr to 3.19 and 4.10.8, respectively.

@@ -37,10 +37,13 @@
 BUILD_DEPENDS_IPS="developer/lexer/flex"
 DEPENDS_IPS="library/libidn library/security/openssl@1.0.2 web/ca-bundle"
 
 CONFIGURE_OPTS="--with-ssl=openssl --mandir=$PREFIX/share/man POD2MAN=/usr/perl5/5.16.1/bin/pod2man"
 
+# Use old gcc4 standards level for this.
+CFLAGS="$CFLAGS -std=gnu89"
+
 BUILDARCH=32
 
 make_sfw_links() {
     logmsg "Creating SFW symlinks"
     logcmd mkdir -p $DESTDIR/$PREFIX/sfw/bin