Fix build against Bahamut's master branch

This commit is contained in:
2023-07-10 20:17:01 +02:00
parent 7bc8a81f8a
commit 2e45f7bfdb
3 changed files with 12 additions and 3 deletions

View File

@ -72,7 +72,10 @@ jobs:
cd $GITHUB_WORKSPACE/Bahamut/ cd $GITHUB_WORKSPACE/Bahamut/
patch src/s_user.c < $GITHUB_WORKSPACE/patches/bahamut_localhost.patch patch src/s_user.c < $GITHUB_WORKSPACE/patches/bahamut_localhost.patch
patch src/s_bsd.c < $GITHUB_WORKSPACE/patches/bahamut_mainloop.patch patch src/s_bsd.c < $GITHUB_WORKSPACE/patches/bahamut_mainloop.patch
patch -p1 < $GITHUB_WORKSPACE/patches/bahamut_ubuntu22.patch
# <= v2.2.2
patch -p1 < $GITHUB_WORKSPACE/patches/bahamut_ubuntu22.patch || true
echo "#undef THROTTLE_ENABLE" >> include/config.h echo "#undef THROTTLE_ENABLE" >> include/config.h
libtoolize --force libtoolize --force
aclocal aclocal

View File

@ -72,7 +72,10 @@ jobs:
cd $GITHUB_WORKSPACE/Bahamut/ cd $GITHUB_WORKSPACE/Bahamut/
patch src/s_user.c < $GITHUB_WORKSPACE/patches/bahamut_localhost.patch patch src/s_user.c < $GITHUB_WORKSPACE/patches/bahamut_localhost.patch
patch src/s_bsd.c < $GITHUB_WORKSPACE/patches/bahamut_mainloop.patch patch src/s_bsd.c < $GITHUB_WORKSPACE/patches/bahamut_mainloop.patch
patch -p1 < $GITHUB_WORKSPACE/patches/bahamut_ubuntu22.patch
# <= v2.2.2
patch -p1 < $GITHUB_WORKSPACE/patches/bahamut_ubuntu22.patch || true
echo "#undef THROTTLE_ENABLE" >> include/config.h echo "#undef THROTTLE_ENABLE" >> include/config.h
libtoolize --force libtoolize --force
aclocal aclocal

View File

@ -107,7 +107,10 @@ software:
cd $GITHUB_WORKSPACE/Bahamut/ cd $GITHUB_WORKSPACE/Bahamut/
patch src/s_user.c < $GITHUB_WORKSPACE/patches/bahamut_localhost.patch patch src/s_user.c < $GITHUB_WORKSPACE/patches/bahamut_localhost.patch
patch src/s_bsd.c < $GITHUB_WORKSPACE/patches/bahamut_mainloop.patch patch src/s_bsd.c < $GITHUB_WORKSPACE/patches/bahamut_mainloop.patch
patch -p1 < $GITHUB_WORKSPACE/patches/bahamut_ubuntu22.patch
# <= v2.2.2
patch -p1 < $GITHUB_WORKSPACE/patches/bahamut_ubuntu22.patch || true
echo "#undef THROTTLE_ENABLE" >> include/config.h echo "#undef THROTTLE_ENABLE" >> include/config.h
libtoolize --force libtoolize --force
aclocal aclocal