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.
Other packages up to gcc51 runtime
@@ -32,14 +32,17 @@
PKG=library/glib2
SUMMARY="$PROG - GNOME GLib utility library"
DESC="$SUMMARY"
DEPENDS_IPS="SUNWcs library/libffi@$FFIVERS library/zlib system/library
- system/library/gcc-4-runtime runtime/perl"
+ system/library/gcc-5-runtime runtime/perl"
-CONFIGURE_OPTS="--disable-fam --disable-dtrace"
+# Use old gcc4 standards level for this.
+export CFLAGS="$CFLAGS -std=gnu89"
+CONFIGURE_OPTS="--disable-fam --disable-dtrace --with-threads=posix"
+
save_function configure32 configure32_orig
save_function configure64 configure64_orig
configure32() {
LIBFFI_CFLAGS=-I/usr/lib/libffi-$FFIVERS/include
export LIBFFI_CFLAGS