Fix building with ruby 4.0

This commit is contained in:
2025-12-31 14:37:29 +02:00
parent 7386b66e8a
commit f776a838e2
3 changed files with 80 additions and 2 deletions
+4 -1
View File
@@ -6,6 +6,9 @@
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
# Fix building with ruby 4.0
patch -p1 -i "$BPM_WORKDIR"/fix-building-with-ruby-4.0.patch
# Define place for global vimrc file
sed -E 's|^.*(#define SYS_.*VIMRC_FILE.*").*$|\1|g' -i src/feature.h
sed -E 's|^.*(#define VIMRC_FILE.*").*$|\1|g' -i src/feature.h
@@ -32,7 +35,7 @@ build() {
--enable-netbeans \
--enable-perlinterp=dynamic \
--enable-python3interp=dynamic \
--enable-rubyinterp \
--enable-rubyinterp=dynamic \
--enable-luainterp=dynamic \
--enable-tclinterp=dynamic \
--disable-canberra