aboutsummaryrefslogtreecommitdiff
path: root/extra/libelf
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libelf')
-rwxr-xr-xextra/libelf/build17
-rw-r--r--extra/libelf/checksums5
-rw-r--r--extra/libelf/meta3
-rw-r--r--extra/libelf/sources2
-rw-r--r--extra/libelf/version2
5 files changed, 20 insertions, 9 deletions
diff --git a/extra/libelf/build b/extra/libelf/build
index 64d0e04d..ab7be6a0 100755
--- a/extra/libelf/build
+++ b/extra/libelf/build
@@ -4,12 +4,19 @@
export CFLAGS="$CFLAGS -Wno-error"
# Disable configure error for missing argp, fts, and obstack.
-sed -i -e 's/as_fn_error.*argp/: "/g' \
- -e 's/as_fn_error.*fts/: "/g' \
- -e 's/as_fn_error.*obstack/: "/g' configure
+clsed 's/as_fn_error.*argp/: "/g' configure
+clsed 's/as_fn_error.*fts/: "/g' configure
+clsed 's/as_fn_error.*obstack/: "/g' configure
-# Don't compile two unrelated C files which require argp.
-sed -i 's/color.*printversion../#/g' lib/Makefile.in
+# Don't compile unrelated C files which require argp.
+#
+# False positive, we are not trying to expand anything
+# shellcheck disable=2016
+{
+ clsed 's/color.*printversion../#/g' lib/Makefile.in
+ clsed 's/error.*printversion../#/g' lib/Makefile.in
+ clsed 's/color\.\$(OBJ/#/g' lib/Makefile.in
+}
./configure \
--prefix=/usr \
diff --git a/extra/libelf/checksums b/extra/libelf/checksums
index d2ef4aeb..6143a879 100644
--- a/extra/libelf/checksums
+++ b/extra/libelf/checksums
@@ -1,2 +1,3 @@
-dc8d3e74ab209465e7f568e1b3bb9a5a142f8656e2b57d10049a73da2ae6b5a6 elfutils-0.185.tar.bz2
-bf11b56670c7919b44e33b5b0f3a216b7f20cf2859b74bf5e2e837532f8e0579 error.h
+%BLAKE3
+2ef2765fa4664e1c7b69551314c70b8b4f829432d989ea32ec08f2292b986e3f elfutils-0.189.tar.bz2
+08e8eb364790fd0a2ad16aa325397b0a9213fab374ebc1402ad305736d1a93f3 error.h
diff --git a/extra/libelf/meta b/extra/libelf/meta
new file mode 100644
index 00000000..3ccf6d69
--- /dev/null
+++ b/extra/libelf/meta
@@ -0,0 +1,3 @@
+description: ELF object library
+license: GPL-3.0-or-later
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/libelf/sources b/extra/libelf/sources
index 1903c165..0e74d350 100644
--- a/extra/libelf/sources
+++ b/extra/libelf/sources
@@ -1,2 +1,2 @@
-https://sourceware.org/elfutils/ftp/0.185/elfutils-0.185.tar.bz2
+https://sourceware.org/elfutils/ftp/0.189/elfutils-0.189.tar.bz2
files/error.h lib
diff --git a/extra/libelf/version b/extra/libelf/version
index 4b6b3aea..877b5e29 100644
--- a/extra/libelf/version
+++ b/extra/libelf/version
@@ -1 +1 @@
-0.185 1
+0.189 1