aboutsummaryrefslogtreecommitdiffstats
path: root/community/rpm/musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/rpm/musl.patch')
-rw-r--r--community/rpm/musl.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/community/rpm/musl.patch b/community/rpm/musl.patch
deleted file mode 100644
index 65f3a10aa44..00000000000
--- a/community/rpm/musl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Upstream: No
-Reason: Fixes compilation with musl
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -229,6 +229,7 @@ AC_SEARCH_LIBS(dlopen, [dl])
- # Check for libelf library. Prefer external, otherwise none.
- WITH_LIBELF_LIB=
- AC_CHECK_HEADER([libelf.h])
-+AC_CHECK_HEADERS([error.h], [WITH_ERROR_H=yes])
- AC_CHECK_HEADERS([gelf.h], [
- AC_CHECK_LIB(elf, gelf_getvernaux, [
- AC_DEFINE(HAVE_LIBELF, 1, [Define to 1 if you have the 'elf' library (-lelf).])
-@@ -237,7 +238,7 @@ AC_CHECK_HEADERS([gelf.h], [
- ])
- ])
- AC_SUBST(WITH_LIBELF_LIB)
--AM_CONDITIONAL(LIBELF,[test "$WITH_LIBELF" = yes])
-+AM_CONDITIONAL(LIBELF,[test "$WITH_LIBELF" = yes && test "$WITH_ERROR_H" = yes])
-
- AC_CHECK_HEADERS([dwarf.h], [
- WITH_LIBDWARF=yes
---- a/rpmio/digest_nss.c
-+++ b/rpmio/digest_nss.c
-@@ -6,6 +6,7 @@
- #include <keyhi.h>
- #include <cryptohi.h>
- #include <blapit.h>
-+#include <signal.h>
-
- #include <rpm/rpmlog.h>
- #include "rpmio/digest.h"
-