From 53a0a5473f45d37027af9663638adbf56667e4ca Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Tue, 12 Nov 2024 22:26:02 -0500 Subject: Hopefully no leaks --- hosts/iroha/gentoo/patches/games-util/xone/48.diff | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hosts/iroha/gentoo/patches/games-util/xone/48.diff (limited to 'hosts/iroha/gentoo/patches/games-util/xone') diff --git a/hosts/iroha/gentoo/patches/games-util/xone/48.diff b/hosts/iroha/gentoo/patches/games-util/xone/48.diff new file mode 100644 index 0000000..db6f63d --- /dev/null +++ b/hosts/iroha/gentoo/patches/games-util/xone/48.diff @@ -0,0 +1,16 @@ +diff --git a/bus/bus.c b/bus/bus.c +index 4a6c64f..8dc9bbb 100644 +--- a/bus/bus.c ++++ b/bus/bus.c +@@ -56,7 +56,11 @@ static struct device_type gip_client_type = { + .release = gip_client_release, + }; + ++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0) + static int gip_bus_match(struct device *dev, struct device_driver *driver) ++#else ++static int gip_bus_match(struct device *dev, const struct device_driver *driver) ++#endif + { + struct gip_client *client; + struct gip_driver *drv; -- cgit v1.2.3-101-g0448