提交 730b5257 编写于 作者: W wang rong

add apply_SDL_patch.md doc

上级 8611ebe6
# Apply SDL patch
There are some bugs we have to change sdl library or we found it is a better to fix it inside sdl instead of fixing it in anbox.
This patches are here: _anbox/external/libSDL/_ . You can download sdl library(refer to section "Download SDL") to apply these patches(refer to section "Apply SDL patch") if needed.
## Download SDL
Currently, anbox based on SDL2, so our patches are based on SDL2. You can download the souce package here:
_https://www.libsdl.org/release/SDL2-2.0.9.tar.gz_
## Apply SDL patch
```
1. Unzip the files you downloaded
2. cd <your dir>/libsdl2-2.0.9+dfsg1
3. patch -p1 < <your dir>/<patch name>.patch
4. dpkg-buildpackage -rfakeroot -b
5. cd ..
6. dpkg -i ./*.deb
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册