build: update patching script to avoid BSD-incompatible sed invocation
build: update patching script to avoid BSD-incompatible sed invocation

PoodleApp/poodle,PoodleApp/poodle,PoodleApp/poodle,PoodleApp/poodle