New comment by dataCobra on void-packages repository https://github.com/void-linux/void-packages/pull/48813#issuecomment-1959095181 Comment: > what is the reason for removing `xstrdup.patch` instead of updating it? What do you want to update? The function does no longer exist and the file is also removed. In `lib/alloc.c` a comment says: ``` /* Replacements for malloc and strdup with error checking. Too trivial to be worth copyrighting :-). I did that because a lot of code used malloc and strdup without checking for NULL pointer, and I like some message better than a core dump... --marekm Yeh, but. Remember that bailing out might leave the system in some bizarre state. You really want to put in error checking, then add some back-out failure recovery code. -- jfh */ ``` As I understand the patch is no longer needed.