--- libgd-2.2.0/configure.ac.orig 2016-05-20 17:39:09.000000000 +0200 +++ libgd-2.2.0/configure.ac 2016-05-20 17:39:59.000000000 +0200 @@ -41,7 +41,7 @@ dnl This isn't 100% correct, but it tends to be a close enough approximation dnl for how we manage the codebase. It's rare to do a release that doesn't dnl modify the library since this project is centered around the library. -GDLIB_LT_REVISION=$(printf '%i%02i%02i' $GDLIB_MAJOR $GDLIB_MINOR $GDLIB_REVISION) +GDLIB_LT_REVISION="$(($GDLIB_MAJOR << 8 | $GDLIB_MINOR << 4 | $GDLIB_REVISION))" GDLIB_LT_AGE=0 AC_SUBST(GDLIB_LT_CURRENT) AC_SUBST(GDLIB_LT_REVISION)