common/hooks/do-patch: show verbose patch messages if verbose

can help with debugging patch application
This commit is contained in:
classabbyamp
2026-02-26 09:48:47 -05:00
parent c589ca06e3
commit 677f611054
+5 -1
View File
@@ -31,7 +31,11 @@ _process_patch() {
cd "$wrksrc"
msg_normal "$pkgver: patching: ${_patch}.\n"
patch -s ${_args} <"${_patch}" 2>/dev/null
if [ -n "$XBPS_VERBOSE" ]; then
patch --verbose -s ${_args} <"${_patch}"
else
patch -s ${_args} <"${_patch}" 2>/dev/null
fi
}
hook() {