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/pkg-config/build.sh
          +++ new/build/pkg-config/build.sh
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33  VERHUMAN=$VER
  34   34  PKG=developer/pkg-config
  35   35  SUMMARY="A tool for generating compiler command line options"
  36   36  DESC="pkg-config is a helper tool used when compiling applications and libraries that helps you insert the correct compiler options on the command line, rather than hard-coding values on where to find libraries."
  37   37  
  38   38  BUILD_DEPENDS_IPS=
  39   39  RUN_DEPENDS_IPS=
  40   40  
  41   41  CONFIGURE_OPTS="--with-internal-glib"
  42   42  
       43 +# Use old gcc4 standards level for this.
       44 +CFLAGS="$CFLAGS -std=gnu89"
       45 +
  43   46  init
  44   47  download_source $PROG $PROG $VER
  45   48  prep_build
  46   49  build
  47   50  make_isa_stub
  48   51  make_package
  49   52  clean_up
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX