libratbag: update to 0.9.905.
This commit is contained in:
parent
abae231799
commit
0a459d1f5d
2 changed files with 7 additions and 36 deletions
|
@ -1,28 +0,0 @@
|
|||
From e1b8235dba615c221afc41588f9c3f73e337e9c6 Mon Sep 17 00:00:00 2001
|
||||
From: maxice8 <thinkabit.ukim@gmail.com>
|
||||
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
|
||||
|
||||
|
|
@ -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 <thinkabit.ukim@gmail.com>"
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue