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.

Split Close
Expand all
Collapse all
          --- old/build/dbus/build.sh
          +++ new/build/dbus/build.sh
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  . ../../lib/functions.sh
  29   29  
  30   30  PROG=dbus
  31   31  VER=1.6.8
  32   32  PKG=dbus ##IGNORE##
  33   33  SUMMARY="$PROG - IPC-based message notifications"
  34   34  DESC="$SUMMARY"
  35   35  
  36   36  DEPENDS_IPS="SUNWcs"
  37   37  
       38 +# Use old gcc4 standards level for this.
       39 +CFLAGS="$CFLAGS -std=gnu89"
  38   40  CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__ -D_REENTRANT"
  39   41  CONFIGURE_OPTS="--with-x=no --with-dbus-user=root --disable-static --with-dbus-daemondir=/usr/lib
  40   42          --bindir=/usr/bin --localstatedir=/var --libexecdir=/usr/libexec"
  41   43  
  42   44  # We build backwards here on purpose so that 32bit binaries win (for install collisions).
  43   45  build() {
  44   46      if [[ $BUILDARCH == "64" || $BUILDARCH == "both" ]]; then
  45   47          build64
  46   48      fi
  47   49      if [[ $BUILDARCH == "32" || $BUILDARCH == "both" ]]; then
↓ open down ↓ 48 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX