[dnsmasq] Update to version 2.49
[openwrt.git] / package / openssl / patches / 121-ocf-config.patch
1 diff -burN openssl-0.9.8k/config openssl-0.9.8k.patched/config
2 --- openssl-0.9.8k/config 2009-02-16 09:43:41.000000000 +0100
3 +++ openssl-0.9.8k.patched/config 2009-03-27 19:38:37.262255825 +0100
4 @@ -399,8 +399,11 @@
5 # this is where the translation occurs into SSLeay terms
6 # ---------------------------------------------------------------------------
7
8 +# figure out if gcc is available and if so we use it otherwise
9 +# we fallback to whatever cc does on the system
10 GCCVER=`(gcc -dumpversion) 2>/dev/null`
11 if [ "$GCCVER" != "" ]; then
12 + CC=gcc
13 # then strip off whatever prefix egcs prepends the number with...
14 # Hopefully, this will work for any future prefixes as well.
15 GCCVER=`echo $GCCVER | LC_ALL=C sed 's/^[a-zA-Z]*\-//'`
16 @@ -409,6 +412,8 @@
17 # major and minor version numbers.
18 # peak single digit before and after first dot, e.g. 2.95.1 gives 29
19 GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'`
20 +else
21 + CC=cc
22 fi
23
24 # Only set CC if not supplied already
This page took 0.044653 seconds and 5 git commands to generate.