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.
Mis-versioned gcc-5.1.0 in gawk's buld.sh.
gcc51 bringup

*** 34,53 **** SUMMARY="gawk - GNU implementation of awk" DESC="$SUMMARY" BUILDARCH=32 CONFIGURE_OPTS_32="$CONFIGURE_OPTS_32 --bindir=/usr/bin" # as of 4.1, gawk now supports arbitrary precision numbers. # build in MPFR/GMP support rather than dynamically linking it. save_function configure32 configure32_orig configure32() { configure32_orig logmsg "Patching Makefile to make mpfr/gmp static" pushd $TMPDIR/$BUILDDIR > /dev/null ! logcmd gsed -i -e 's#-lmpfr -lgmp#/opt/gcc-4.8.1/lib/libmpfr.a /opt/gcc-4.8.1/lib/libgmp.a#' Makefile popd > /dev/null } gnu_cleanup() { logmsg "Cleaning up install root" --- 34,55 ---- SUMMARY="gawk - GNU implementation of awk" DESC="$SUMMARY" BUILDARCH=32 CONFIGURE_OPTS_32="$CONFIGURE_OPTS_32 --bindir=/usr/bin" + # Use old gcc4 standards level for this. + CFLAGS="$CFLAGS -std=gnu89" # as of 4.1, gawk now supports arbitrary precision numbers. # build in MPFR/GMP support rather than dynamically linking it. save_function configure32 configure32_orig configure32() { configure32_orig logmsg "Patching Makefile to make mpfr/gmp static" pushd $TMPDIR/$BUILDDIR > /dev/null ! logcmd gsed -i -e 's#-lmpfr -lgmp#/opt/gcc-5.1.0/lib/libmpfr.a /opt/gcc-5.1.0/lib/libgmp.a#' Makefile popd > /dev/null } gnu_cleanup() { logmsg "Cleaning up install root"