diff --git a/srcpkgs/elogind/patches/fix-musl.patch b/srcpkgs/elogind/patches/fix-musl.patch deleted file mode 100644 index 420df313113..00000000000 --- a/srcpkgs/elogind/patches/fix-musl.patch +++ /dev/null @@ -1,14 +0,0 @@ -Avoid error when building dependencies for *-musl where -_POSIC_C_SOURCE may be undefined. - ---- src/systemd/sd-event.h 2018-03-09 07:57:50.000000000 +0100 -+++ src/systemd/sd-event.h 2018-03-20 12:27:32.641946537 +0100 -@@ -69,7 +69,7 @@ - typedef int (*sd_event_io_handler_t)(sd_event_source *s, int fd, uint32_t revents, void *userdata); - typedef int (*sd_event_time_handler_t)(sd_event_source *s, uint64_t usec, void *userdata); - typedef int (*sd_event_signal_handler_t)(sd_event_source *s, const struct signalfd_siginfo *si, void *userdata); --#if defined _GNU_SOURCE || _POSIX_C_SOURCE >= 199309L -+#if defined _GNU_SOURCE || (defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 199309L) - typedef int (*sd_event_child_handler_t)(sd_event_source *s, const siginfo_t *si, void *userdata); - #else - typedef void* sd_event_child_handler_t; diff --git a/srcpkgs/elogind/patches/musl-provide-qsort_r.patch b/srcpkgs/elogind/patches/musl-provide-qsort_r.patch deleted file mode 100644 index c60da15c80a..00000000000 --- a/srcpkgs/elogind/patches/musl-provide-qsort_r.patch +++ /dev/null @@ -1,673 +0,0 @@ -From f2c9a0d5e9d246fdfacd698a5e2b79c86eaa7779 Mon Sep 17 00:00:00 2001 -From: Sven Eden -Date: Thu, 25 Oct 2018 19:58:51 +0200 -Subject: [PATCH] Prep v240: Add check for qsort_r() and the function if not - provided. - -As elogind supports musl-libc, we have to remedy the situation that -upstream decided to make use of qsort_r(). This function is not -provided by musl-libc, so we have to provide an own variant. - -The variant is an adaption of the qsort_r() algorithm found in -glibc-2.28, the disclaimer from their source files have been added. - -Bug: #83 -Signed-off-by: Sven Eden ---- - cb/elogind.cbp | 4 + - meson.build | 3 + - src/shared/meson.build | 2 + - src/shared/musl_missing.h | 3 +- - src/shared/qsort_r_missing.c | 499 +++++++++++++++++++++++++++++++++++ - src/shared/qsort_r_missing.h | 34 +++ - 6 files changed, 544 insertions(+), 1 deletion(-) - create mode 100644 src/shared/qsort_r_missing.c - create mode 100644 src/shared/qsort_r_missing.h - -diff --git a/cb/elogind.cbp b/cb/elogind.cbp -index cebc32676..fdffbfc15 100644 ---- cb/elogind.cbp -+++ cb/elogind.cbp -@@ -891,6 +891,10 @@ -