libratbag: update to 0.12.
This commit is contained in:
parent
8ffbde331c
commit
26b6a64335
2 changed files with 6 additions and 6 deletions
|
@ -33,7 +33,7 @@ Reason: removes usage of non-portable of error.h
|
|||
#include <fcntl.h>
|
||||
|
||||
#include <hidpp20.h>
|
||||
@@ -112,12 +112,12 @@ main(int argc, char **argv)
|
||||
@@ -112,12 +112,12 @@
|
||||
path = argv[argc - 1];
|
||||
fd = open(path, O_RDWR);
|
||||
if (fd < 0)
|
||||
|
@ -41,7 +41,7 @@ Reason: removes usage of non-portable of error.h
|
|||
+ err(errno, "Failed to open path %s", path);
|
||||
|
||||
hidpp_device_init(&base, fd);
|
||||
dev = hidpp20_device_new(&base, 0xff);
|
||||
dev = hidpp20_device_new(&base, 0xff, NULL, 0);
|
||||
if (!dev)
|
||||
- error(1, 0, "Failed to open %s as a HID++ 2.0 device", path);
|
||||
+ err(0, "Failed to open %s as a HID++ 2.0 device", path);
|
||||
|
@ -59,7 +59,7 @@ Reason: removes usage of non-portable of error.h
|
|||
#include <fcntl.h>
|
||||
|
||||
#include <hidpp20.h>
|
||||
@@ -88,12 +88,12 @@ main(int argc, char **argv)
|
||||
@@ -88,12 +88,12 @@
|
||||
path = argv[argc - 1];
|
||||
fd = open(path, O_RDWR);
|
||||
if (fd < 0)
|
||||
|
@ -67,7 +67,7 @@ Reason: removes usage of non-portable of error.h
|
|||
+ err(errno, "Failed to open path %s", path);
|
||||
|
||||
hidpp_device_init(&base, fd);
|
||||
dev = hidpp20_device_new(&base, 0xff);
|
||||
dev = hidpp20_device_new(&base, 0xff, NULL, 0);
|
||||
if (!dev)
|
||||
- error(1, 0, "Failed to open %s as a HID++ 2.0 device", path);
|
||||
+ err(0, "Failed to open %s as a HID++ 2.0 device", path);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'libratbag'
|
||||
pkgname=libratbag
|
||||
version=0.11
|
||||
version=0.12
|
||||
revision=1
|
||||
build_style=meson
|
||||
configure_args="-Dtests=false -Dsystemd-unit-dir=''
|
||||
|
@ -14,7 +14,7 @@ maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
|||
license="MIT"
|
||||
homepage="https://github.com/libratbag/libratbag"
|
||||
distfiles="https://github.com/libratbag/libratbag/archive/v${version}.tar.gz"
|
||||
checksum=aa0bb012c2f581ee35ec023d516d23eb22d38f16092e7de44bd8481df953408d
|
||||
checksum=62d2b7215019d800392aa0fcb635127334661fbc011f169cac9d86d436d13f0c
|
||||
|
||||
post_install() {
|
||||
vsv ratbagd
|
||||
|
|
Loading…
Reference in a new issue