]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/gcc-4.1.2-fix_linker_version_detection.patch
strongswan: Update to 5.0.1.
[people/teissler/ipfire-2.x.git] / src / patches / gcc-4.1.2-fix_linker_version_detection.patch
1 diff -Naur gcc-4.1.2.org/libstdc++-v3/configure gcc-4.1.2/libstdc++-v3/configure
2 --- gcc-4.1.2.org/libstdc++-v3/configure 2007-01-29 11:51:01.000000000 +0100
3 +++ gcc-4.1.2/libstdc++-v3/configure 2011-08-29 19:25:22.973430586 +0200
4 @@ -8281,7 +8281,7 @@
5 if test x"$with_gnu_ld" = x"yes"; then
6
7 ldver=`$LD --version 2>/dev/null | head -1 | \
8 - sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9 + sed -e 's/GNU ld .*) \([0-9.][0-9.]*\).*/\1/'`
10
11 glibcxx_gnu_ld_version=`echo $ldver | \
12 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`