DC-SWAT / DreamShell

Operating system for the Sega Dreamcast
http://www.dc-swat.ru
447 stars 56 forks source link

Change Newlib fastmem patch to be standalone, add Newlib 4.4.0 patch #25

Closed darcagn closed 10 months ago

darcagn commented 10 months ago

Currently DreamShell alters the KOS Newlib patch to add the fastmem memcpy implementation. However, KallistiOS's dc-chain script allows multiple different patch files using the filename pattern patches/newlib-$VERSION-*.diff, so this patch can be in its own file instead. This PR removes the altered KOS Newlib patch and adds standalone fastmem patch files for both Newlib 4.3.0 and the new Newlib 4.4.0. This way, DreamShell will not need to change its patch files if KOS changes its Newlib patch.

DC-SWAT commented 10 months ago

I was just thinking that it was time to update the newlib patch, and you did it even better! Thanks!