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/open-vm-tools/build.sh
          +++ new/build/open-vm-tools/build.sh
   1    1  #!/usr/bin/bash
   2    2  #
   3    3  # CDDL HEADER START
   4    4  #
   5    5  # The contents of this file are subject to the terms of the
   6    6  # Common Development and Distribution License, Version 1.0 only
   7    7  # (the "License").  You may not use this file except in compliance
   8    8  # with the License.
   9    9  #
  10   10  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11   11  # or http://www.opensolaris.org/os/licensing.
  12   12  # See the License for the specific language governing permissions
  13   13  # and limitations under the License.
  14   14  #
  15   15  # When distributing Covered Code, include this CDDL HEADER in each
  16   16  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17  # If applicable, add the following below this CDDL HEADER, with the
  18   18  # fields enclosed by brackets "[]" replaced with your own identifying
  19   19  # information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  #
  21   21  # CDDL HEADER END
  22   22  #
  23   23  
  24   24  #
  25   25  # Copyright (c) 2014 by Delphix. All rights reserved.
  26   26  #
  27   27  
  28   28  # Load support functions
  29   29  . ../../lib/functions.sh
  
    | 
      ↓ open down ↓ | 
    29 lines elided | 
    
      ↑ open up ↑ | 
  
  30   30  
  31   31  PROG=open-vm-tools
  32   32  BUILDDIR=open-vm-tools-9.4.0-1280544
  33   33  VER=9.4.0
  34   34  VERHUMAN=9.4.0
  35   35  PKG=system/virtualization/open-vm-tools
  36   36  SUMMARY="Open Virtual Machine Tools"
  37   37  DESC="The Open Virtual Machine Tools project aims to provide a suite of open source virtualization utilities and drivers to improve the functionality and user experience of virtualization. The project currently runs in guest operating systems under the VMware hypervisor."
  38   38  
  39   39  BUILD_DEPENDS_IPS='developer/pkg-config'
  40      -RUN_DEPENDS_IPS='library/glib2 system/library/gcc-4-runtime'
       40 +RUN_DEPENDS_IPS='library/glib2 system/library/gcc-5-runtime'
  41   41  
  42   42  install_smf() {
  43   43          logmsg "Installing SMF components"
  44   44          logcmd mkdir -p $DESTDIR/lib/svc/manifest/system/virtualization || \
  45   45                  logerr "--- Failed to create manifest directory"
  46   46          logcmd cp $SRCDIR/open-vm-tools.xml $DESTDIR/lib/svc/manifest/system/virtualization/ || \
  47   47                  logerr "--- Failed to copy manifest file"
  48   48  }
  49   49  
  50      -CFLAGS="-Wno-deprecated-declarations -Wno-unused-local-typedefs"
       50 +CFLAGS="-std=gnu89 -Wno-logical-not-parentheses -Wno-bool-compare -Wno-deprecated-declarations -Wno-unused-local-typedefs"
  51   51  CONFIGURE_OPTS="
  52   52          --without-kernel-modules
  53   53          --disable-static
  54   54          --without-x
  55   55          --without-dnet
  56   56          --without-icu
  57   57          --without-gtk2
  58   58          --without-gtkmm
  59   59  "
  60   60  BUILDARCH=32
  61   61  
  62   62  init
  63   63  download_source $PROG $PROG $VER
  64   64  patch_source
  65   65  prep_build
  66   66  build
  67   67  install_smf
  68   68  make_isa_stub
  69   69  make_package
  70   70  clean_up
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX