xbase/xbase-3.1.2-configure-gcc-version-fix.patch

13 lines
470 B
Diff
Raw Permalink Normal View History

diff -up xbase64-3.1.2/configure.in.verfix xbase64-3.1.2/configure.in
--- xbase64-3.1.2/configure.in.verfix 2017-02-20 09:44:55.702420764 -0500
+++ xbase64-3.1.2/configure.in 2017-02-20 09:45:05.838144610 -0500
@@ -74,7 +74,7 @@ AC_SUBST(RHREL)
# get G++ version
if test "$GXX" = "yes"; then
- GXXVER=`${CXX} -v 2>&1 | grep version | cut -d " " -f 3 -`
+ GXXVER=`${CXX} -v 2>&1 | grep "gcc version" | cut -d " " -f 3 -`
GXXVER="gcc${GXXVER}"
else
GXXVER=""