summaryrefslogtreecommitdiff
path: root/system/libelf/mkdir-p.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/libelf/mkdir-p.patch')
-rw-r--r--system/libelf/mkdir-p.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/libelf/mkdir-p.patch b/system/libelf/mkdir-p.patch
new file mode 100644
index 000000000..38a4712d8
--- /dev/null
+++ b/system/libelf/mkdir-p.patch
@@ -0,0 +1,13 @@
+--- libelf-0.8.13/mkinstalldirs.old 2005-05-21 10:28:38.000000000 -0500
++++ libelf-0.8.13/mkinstalldirs 2024-07-26 15:44:20.923580931 -0500
+@@ -22,8 +22,8 @@
+ pathcomp="${pathcomp}${d}"
+
+ if test ! -d "${pathcomp}"; then
+- echo "mkdir $pathcomp" 1>&2
+- mkdir "${pathcomp}" || errstatus=$?
++ echo "mkdir -p $pathcomp" 1>&2
++ mkdir -p "${pathcomp}" || errstatus=$?
+ fi
+
+ pathcomp="${pathcomp}/"