diff --git a/srcpkgs/libratbag/patches/fix-musl.patch b/srcpkgs/libratbag/patches/fix-musl.patch deleted file mode 100644 index 6b9f6918cbb..00000000000 --- a/srcpkgs/libratbag/patches/fix-musl.patch +++ /dev/null @@ -1,28 +0,0 @@ -From e1b8235dba615c221afc41588f9c3f73e337e9c6 Mon Sep 17 00:00:00 2001 -From: maxice8 -Date: Thu, 24 Jan 2019 07:23:36 -0200 -Subject: [PATCH] tools/shared.c: Use portable realpath() instead of - canonicalize_file_name() - -Fixes compilation on musl systems ---- - tools/shared.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tools/shared.c b/tools/shared.c -index 992e2de..00ecdf9 100644 ---- tools/shared.c -+++ tools/shared.c -@@ -30,7 +30,7 @@ udev_device_from_path(struct udev *udev, const char *path) - const char *event_node_prefix = "/dev/input/event"; - _cleanup_(freep) char *path_canonical = NULL; - -- if ((path_canonical = canonicalize_file_name(path)) == NULL) { -+ if ((path_canonical = realpath(path, NULL)) == NULL) { - error("Failed to canonicalize path '%s': %s\n", path, strerror(errno)); - return NULL; - } --- -2.20.1 - - diff --git a/srcpkgs/libratbag/template b/srcpkgs/libratbag/template index 68952fcc227..b56cf63d07e 100644 --- a/srcpkgs/libratbag/template +++ b/srcpkgs/libratbag/template @@ -1,6 +1,6 @@ # Template file for 'libratbag' pkgname=libratbag -version=0.9.904 +version=0.9.905 revision=1 build_style=meson configure_args="-Dtests=false -Dsystemd-unit-dir='' @@ -14,14 +14,13 @@ maintainer="maxice8 " license="MIT" homepage="https://github.com/libratbag/libratbag" distfiles="https://github.com/libratbag/libratbag/archive/v${version}.tar.gz" -checksum=08a3255760b95dd491437060577c7a2a48cbf488cf859014778d712da64d7de2 +checksum=d8a9a4b90025456700336c4e84a06edfce8deffeb71779ea22e00c27b0fda244 -if [ "$CROSS_BUILD" ]; then - case "$XBPS_TARGET_MACHINE" in - x86_64*|i686*) ;; - *) broken="Requires gobject introspection" - esac -fi +case "$XBPS_TARGET_MACHINE" in + x86_64*|i686*) ;; + *-musl) broken="Requires gobject introspection" ;; + * ) ;; +esac post_install() { vsv ratbagd