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

Split Close
Expand all
Collapse all
          --- old/build/glib/build.sh
          +++ new/build/glib/build.sh
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  # Load support functions
  28   28  . ../../lib/functions.sh
  29   29  
  30   30  PROG=glib
  31   31  VER=2.34.1
  32   32  PKG=library/glib2
  33   33  SUMMARY="$PROG - GNOME GLib utility library"
  34   34  DESC="$SUMMARY"
  35   35  
  36   36  DEPENDS_IPS="SUNWcs library/libffi@$FFIVERS library/zlib system/library
  37      -        system/library/gcc-4-runtime runtime/perl"
       37 +        system/library/gcc-5-runtime runtime/perl"
  38   38  
  39      -CONFIGURE_OPTS="--disable-fam --disable-dtrace"
       39 +# Use old gcc4 standards level for this.
       40 +export CFLAGS="$CFLAGS -std=gnu89"
  40   41  
       42 +CONFIGURE_OPTS="--disable-fam --disable-dtrace --with-threads=posix"
       43 +
  41   44  save_function configure32 configure32_orig
  42   45  save_function configure64 configure64_orig
  43   46  configure32() {
  44   47      LIBFFI_CFLAGS=-I/usr/lib/libffi-$FFIVERS/include
  45   48      export LIBFFI_CFLAGS
  46   49      LIBFFI_LIBS=-lffi
  47   50      export LIBFFI_LIBS
  48   51      configure32_orig
  49   52  
  50   53      logcmd perl -pi -e 's#(\$CC.*\$compiler_flags)#$1 -nostdlib -lc#g;' libtool ||
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX