mapserver/mapserver-6.2.1-gdver.patch
2013-06-11 10:54:23 +02:00

13 lines
443 B
Diff

--- mapserver-6.2.1/configure.gdver 2013-04-20 06:08:49.000000000 +0200
+++ mapserver-6.2.1/configure 2013-06-11 10:51:24.478483434 +0200
@@ -17135,7 +17135,8 @@
- if test $GDMAJOR -lt 2 -o $GDMINOR -lt 0 -o $GDREV -lt 28 ; then
+ GDNUM=`expr ${GDMAJOR}0000 + ${GDMINOR}00 + ${GDREV}`
+ if test $GDNUM -lt 20028 ; then
as_fn_error $? "GD version $GDVERSION too old. need at least 2.0.28" "$LINENO" 5
fi