Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
update-deps.sh: Fix some compile errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
宋文武 committed Dec 3, 2024
1 parent e02684f commit 149fea3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions update-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ fi
tar -C deps -xf $(pwd)/deps.tar.xz
chmod -R u+w deps
cp -rv deps.overlay/* ./deps/

# fix some errors for the compiler
sed -i 's#vf, char \*initial#vf, const char *initial#' deps/sdl-mixer/dynamic_ogg.h
sed -i 's#^ return;# return 0;#' deps/sdl-mixer/music_mad.c

0 comments on commit 149fea3

Please sign in to comment.