Ticket #13126: config.patch

File config.patch, 741 bytes (added by jdemeyer, 10 years ago)

Patch to the openssl sources to fix building on Solaris

  • config

    diff -ru src/config b/config
    src b  
    411411# this is where the translation occurs into SSLeay terms
    412412# ---------------------------------------------------------------------------
    413413
    414 # Only set CC if not supplied already
    415 if [ -z "$CROSS_COMPILE$CC" ]; then
     414# Save given CC
     415userCC="$CC"
     416
     417if true; then
    416418  GCCVER=`sh -c "gcc -dumpversion" 2>/dev/null`
    417419  if [ "$GCCVER" != "" ]; then
    418420    # then strip off whatever prefix egcs prepends the number with...
     
    486488
    487489CCVER=${CCVER:-0}
    488490
     491# Restore given $CC
     492if [ -n "$userCC" ]; then
     493    CC="$userCC"
     494fi
     495
    489496# read the output of the embedded GuessOS
    490497read GUESSOS
    491498