mirror of
https://github.com/openwrt/video.git
synced 2026-05-31 06:51:54 +08:00
seatd: update to 0.9.3
Drop the obsolete 001-evdev-cast-ioctl-request-to-int.patch which has been merged upstream. Link: https://git.sr.ht/~kennylevinsen/seatd/log/refs/heads/0.9.3 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
+7
-3
@@ -1,19 +1,23 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=seatd
|
||||
PKG_VERSION:=0.9.1
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=0.9.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://git.sr.ht/~kennylevinsen/seatd
|
||||
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
||||
PKG_MIRROR_HASH:=bf572e248ba9f4bd7808b3fdfad04719f72bf2d1702d4c3bb503a0688f341936
|
||||
PKG_MIRROR_HASH:=9367dc4b644348ffd841634e7270ade94f5667289b798e24a17fd37e519c5908
|
||||
|
||||
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
||||
PKG_LICENSE:=MIT
|
||||
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_DEPENDS:=wayland/host
|
||||
# upstream meson auto-enables -fhardened (which implies
|
||||
# -fstack-check=specific); MIPS16 codegen does not implement that and
|
||||
# the compile aborts. Build seatd as plain MIPS32 on those targets.
|
||||
PKG_BUILD_FLAGS:=no-mips16
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/meson.mk
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
From d57109285591594de5d37d9ad158e2616875be7c Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Golle <daniel@makrotopia.org>
|
||||
Date: Sat, 30 Nov 2024 00:43:00 +0000
|
||||
Subject: [PATCH] evdev: cast ioctl request to int
|
||||
|
||||
Compile on PPC64 fails with error:
|
||||
../common/evdev.c: In function 'evdev_revoke':
|
||||
../common/evdev.c:26:26: error: overflow in conversion from 'long unsigned int' to 'int' changes value from '2147763601' to '-2147203695' [-Werror=overflow]
|
||||
26 | return ioctl(fd, EVIOCREVOKE, NULL);
|
||||
|
||||
Prevent overflow warning by using explicit cast to int.
|
||||
|
||||
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
||||
Link: https://git.sr.ht/~kennylevinsen/seatd/commit/d57109285591594de5d37d9ad158e2616875be7c
|
||||
---
|
||||
common/evdev.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/common/evdev.c
|
||||
+++ b/common/evdev.c
|
||||
@@ -23,7 +23,7 @@ int path_is_evdev(const char *path) {
|
||||
}
|
||||
|
||||
int evdev_revoke(int fd) {
|
||||
- return ioctl(fd, EVIOCREVOKE, NULL);
|
||||
+ return ioctl(fd, (int)EVIOCREVOKE, NULL);
|
||||
}
|
||||
#else
|
||||
int path_is_evdev(const char *path) {
|
||||
Reference in New Issue
Block a user