Commit 3d7bad7 1 parent f90a0ba commit 3d7bad7 Copy full SHA for 3d7bad7
File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
FROM testbed/vim
2
2
3
- RUN install_vim -tag v7.3.429 -name vim73 -py -build \
3
+ RUN install_vim -tag v7.1 -name vim71 -build \
4
+ -tag v7.3.429 -name vim73 -py -build \
4
5
-tag v7.4.052 -name vim74-trusty -build \
5
6
-tag master -py2 -py3 -ruby -lua -build \
6
7
-tag neovim:v0.2.0 -py2 -py3 -ruby -build \
Original file line number Diff line number Diff line change 187
187
188
188
build () {
189
189
if [ " $FLAVOR " = vim ]; then
190
+ # Apply build fix from v7.1.148.
191
+ MAJOR=" $( sed -n ' /^MAJOR = / s~MAJOR = ~~p' Makefile) "
192
+ if [ " $MAJOR " -lt 8 ]; then
193
+ MINOR=" $( sed -n ' /^MINOR = / s~MINOR = ~~p' Makefile) "
194
+ if [ " $MINOR " = " 1" ] || [ " ${MINOR# 0} " != $MINOR ]; then
195
+ sed -i ' s~sys/time.h termio.h~sys/time.h sys/types.h termio.h~' src/configure.in src/auto/configure
196
+ fi
197
+ fi
198
+
190
199
echo " Configuring with: $CONFIG_ARGS "
191
200
# shellcheck disable=SC2086
192
201
./configure $CONFIG_ARGS || bail " Could not configure"
You can’t perform that action at this time.
0 commit comments