aboutsummaryrefslogtreecommitdiff
path: root/core/libelf
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-01-12 15:52:10 +0300
committerCem Keylan <cem@ckyln.com>2021-01-12 15:52:10 +0300
commit954902a8496d8cbddbd650c87bd5ff9f3e6c1deb (patch)
tree422b238103c824e6fef78bad072453776b356c4b /core/libelf
parent8bd7d55373db3480f909d0798dc512c81a7dec07 (diff)
downloadrepository-954902a8496d8cbddbd650c87bd5ff9f3e6c1deb.tar.gz
libelf: move to extra
Diffstat (limited to 'core/libelf')
-rwxr-xr-xcore/libelf/build21
-rw-r--r--core/libelf/checksums2
-rw-r--r--core/libelf/depends2
-rw-r--r--core/libelf/files/error.h27
-rw-r--r--core/libelf/sources2
-rw-r--r--core/libelf/version1
6 files changed, 0 insertions, 55 deletions
diff --git a/core/libelf/build b/core/libelf/build
deleted file mode 100755
index 7bade69a..00000000
--- a/core/libelf/build
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh -e
-
-# Build sometimes forces -Werror.
-export CFLAGS="$CFLAGS -Wno-error"
-
-# Disable configure error for missing argp.
-sed -i 's/as_fn_error.*libargp/: "/g' configure
-
-# Don't compile two unrelated C files which require argp.
-sed -i 's/color.*printversion../#/g' lib/Makefile.in
-
-./configure \
- --prefix=/usr \
- --disable-symbol-versioning \
- --disable-debuginfod \
- --disable-nls
-
-# Skip the default make target and build only what we need.
-make -C lib
-make -C libelf
-make -C libelf DESTDIR="$1" install
diff --git a/core/libelf/checksums b/core/libelf/checksums
deleted file mode 100644
index f822f2fa..00000000
--- a/core/libelf/checksums
+++ /dev/null
@@ -1,2 +0,0 @@
-ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858 elfutils-0.182.tar.bz2
-bf11b56670c7919b44e33b5b0f3a216b7f20cf2859b74bf5e2e837532f8e0579 error.h
diff --git a/core/libelf/depends b/core/libelf/depends
deleted file mode 100644
index 70b01bc5..00000000
--- a/core/libelf/depends
+++ /dev/null
@@ -1,2 +0,0 @@
-pkgconf make
-zlib
diff --git a/core/libelf/files/error.h b/core/libelf/files/error.h
deleted file mode 100644
index ef06827a..00000000
--- a/core/libelf/files/error.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef _ERROR_H_
-#define _ERROR_H_
-
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-
-static unsigned int error_message_count = 0;
-
-static inline void error(int status, int errnum, const char* format, ...)
-{
- va_list ap;
- fprintf(stderr, "%s: ", program_invocation_name);
- va_start(ap, format);
- vfprintf(stderr, format, ap);
- va_end(ap);
- if (errnum)
- fprintf(stderr, ": %s", strerror(errnum));
- fprintf(stderr, "\n");
- error_message_count++;
- if (status)
- exit(status);
-}
-
-#endif /* _ERROR_H_ */
diff --git a/core/libelf/sources b/core/libelf/sources
deleted file mode 100644
index 71eb0aea..00000000
--- a/core/libelf/sources
+++ /dev/null
@@ -1,2 +0,0 @@
-https://sourceware.org/elfutils/ftp/0.182/elfutils-0.182.tar.bz2
-files/error.h lib
diff --git a/core/libelf/version b/core/libelf/version
deleted file mode 100644
index c62d59ae..00000000
--- a/core/libelf/version
+++ /dev/null
@@ -1 +0,0 @@
-0.182 1