summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libelf/APKBUILD4
-rw-r--r--system/libelf/mkdir-p.patch13
2 files changed, 16 insertions, 1 deletions
diff --git a/system/libelf/APKBUILD b/system/libelf/APKBUILD
index 266591533..2f89334e2 100644
--- a/system/libelf/APKBUILD
+++ b/system/libelf/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=libelf
pkgver=0.8.13
-pkgrel=5
+pkgrel=6
pkgdesc="ELF object file access library"
url=" " # Dead upstream: http://www.mr511.de/software/
arch="all"
@@ -11,6 +11,7 @@ depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.gz
+ mkdir-p.patch
preprocessor-warnings.patch
"
@@ -39,4 +40,5 @@ package() {
}
sha512sums="d2a4ea8ccc0bbfecac38fa20fbd96aefa8e86f8af38691fb6991cd9c5a03f587475ecc2365fc89a4954c11a679d93460ee9a5890693112f6133719af3e6582fe libelf-0.8.13.tar.gz
+176efa888350544f144e7d2115278bf2cc5aaca09f0937a1196ec2a0f72de1d2e62a40acf1f45331cd6c9ca3ad23104f9c3f093b6e9baafd93305a683d587198 mkdir-p.patch
6f5e4a50c1fee7bae39c7fca237bbcad005b2b865ff9fbd835c7772f92f4a31324e958b7c583a378a5069eb5c43500d9a8881013f0a7a169310efba75b2f01e8 preprocessor-warnings.patch"
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}/"