ports/math/sage/files/patch-build_bin_sage-apply-patches
Thierry Thomas 97d81944e8 - Unbreak and upgrade to 9.1
- Take maintainership.

PR:		247298
Submitted by:	/me
Approved by:	stephen (previous maintainer)
Differential Revision:	D24195
2020-06-17 10:05:10 +00:00

11 lines
471 B
Text

--- build/bin/sage-apply-patches.orig 2020-01-01 11:03:10 UTC
+++ build/bin/sage-apply-patches
@@ -67,7 +67,7 @@ if [[ -r "${patches[0]}" ]]; then
# Skip non-existing or non-readable patches
[ -r "$patch" ] || continue
echo "Applying $patch"
- patch $patch_strip $patch_args < "$patch"
+ gpatch $patch_strip $patch_args < "$patch"
if [ $? -ne 0 ]; then
echo >&2 "Error applying '$patch'"
exit 1