New commits:
commit e539f640069e2a22a3fd5aefaea6366fcc23d8dc
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
Revert "FUNCTIONS: apply_patch_dir: enforce POSIX behaviour and unified
diff"
This reverts commit c95322ac86210e5e7a18ac74e5acd1704346b709.
This commit breaks firefox and readline before.
Kinda double work to reformat each patch to unified format etc...
diff --git a/ChangeLog b/ChangeLog
index 8f59e28..308f3f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,10 +4,6 @@
2025-12-22 Pavel Vinogradov <public AT sourcemage.org>
* lua-forge/lua55: new spell, Lua 5.5
-2025-12-18 Ismael Luceno <ismael AT sourcemage.org>
- * FUNCTIONS: apply_patch_dir: enforce POSIX behaviour and unified
- diff format
-
2025-12-10 Remko van der Vossen <wich AT sourcemage.org>
* php-pear/php8: new spell, version 8 of php as separate spell because
not backwards compatible
diff --git a/FUNCTIONS b/FUNCTIONS
index 7e1413e..051191f 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -303,7 +303,7 @@ apply_patch_dir() {
if [ -d "$dir" ] && [ "$(ls -Af $dir/*.diff $dir/*.patch 2>/dev/null)" ]
then
find "$dir" \( -name \*.patch -o -name \*.diff \) -print0 |
- sort -zV | xargs -r -0 -n 1 -t patch --posix -ufp1 -i
+ sort -zV | xargs -r -0 -n 1 -t patch -fp1 -i
else
message "${MESSAGE_COLOR}No patches found.$DEFAULT_COLOR"
fi
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (e539f640069e2a22a3fd5aefaea6366fcc23d8dc),
Pavel Vinogradov, 12/28/2025