forked from pool/mtpaint
13 lines
380 B
Diff
13 lines
380 B
Diff
|
Index: mtpaint-3.50/configure
|
||
|
===================================================================
|
||
|
--- mtpaint-3.50.orig/configure
|
||
|
+++ mtpaint-3.50/configure
|
||
|
@@ -389,6 +389,7 @@ HAVE_CC_VER()
|
||
|
# First 2 parts of GCC or Clang version
|
||
|
MT_VN0=${CCVER%%.*}
|
||
|
MT_VN1=${CCVER#$MT_VN0}
|
||
|
+ MT_VN1=${MT_VN1:-0}
|
||
|
MT_VN0=${MT_VN0%%[!0-9]*}
|
||
|
MT_VN1=${MT_VN1#.}
|
||
|
MT_VN1=${MT_VN1%%[!0-9]*}
|