mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:47:46 +00:00
patch: Add the beginnings of a patch utility
This is still very bare bones, and there is _much_ more to still handle. However, this implements enough functionality to parse a single unified patch read from stdin, and apply it to a file.
This commit is contained in:
parent
828d791a4f
commit
e838b6c8cc
2 changed files with 62 additions and 1 deletions
|
@ -3,7 +3,7 @@ list(APPEND SPECIAL_TARGETS test install)
|
|||
list(APPEND REQUIRED_TARGETS
|
||||
arp base64 basename cat chmod chown clear comm cp cut date dd df diff dirname dmesg du echo env expr false
|
||||
file find grep groups head host hostname id ifconfig kill killall ln logout ls mkdir mount mv network-settings nproc
|
||||
pgrep pidof ping pkill pmap ps readlink realpath reboot rm rmdir sed route seq shutdown sleep sort stat stty su tail test
|
||||
patch pgrep pidof ping pkill pmap ps readlink realpath reboot rm rmdir sed route seq shutdown sleep sort stat stty su tail test
|
||||
touch tr true umount uname uniq uptime w wc which whoami xargs yes
|
||||
)
|
||||
list(APPEND RECOMMENDED_TARGETS
|
||||
|
@ -123,6 +123,7 @@ target_link_libraries(notify PRIVATE LibGfx LibGUI)
|
|||
target_link_libraries(open PRIVATE LibDesktop LibFileSystem)
|
||||
target_link_libraries(passwd PRIVATE LibCrypt)
|
||||
target_link_libraries(paste PRIVATE LibGUI)
|
||||
target_link_libraries(patch PRIVATE LibDiff LibFileSystem)
|
||||
target_link_libraries(pdf PRIVATE LibGfx LibPDF)
|
||||
target_link_libraries(pgrep PRIVATE LibRegex)
|
||||
target_link_libraries(pixelflut PRIVATE LibImageDecoderClient LibIPC LibGfx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue