From 849f6fc18340de06573d56cba8a09ce6870db750 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Tue, 23 Jan 2024 16:39:14 -0800 Subject: [PATCH] feat: Add patch for xone to restore compatibility with stock xpad driver --- akmods/xone/xone-kmod-common.spec | 2 ++ akmods/xone/xone-kmod.spec | 2 ++ 2 files changed, 4 insertions(+) diff --git a/akmods/xone/xone-kmod-common.spec b/akmods/xone/xone-kmod-common.spec index 816c6e0..0715c68 100644 --- a/akmods/xone/xone-kmod-common.spec +++ b/akmods/xone/xone-kmod-common.spec @@ -12,6 +12,8 @@ Source0: %{url}/archive/v%{version}.tar.gz#/%{real_name}-%{version}.tar.g # Windows driver and firmware file: Source1: http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/07/1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab +Patch0: https://github.com/BoukeHaarsma23/xonedo/commit/87d186328b958cd2cd677ac957981918d965f4f3.patch + BuildRequires: cabextract # UDev rule location (_udevrulesdir) and systemd macros: BuildRequires: systemd-rpm-macros diff --git a/akmods/xone/xone-kmod.spec b/akmods/xone/xone-kmod.spec index 31c7dcc..e4e38a5 100644 --- a/akmods/xone/xone-kmod.spec +++ b/akmods/xone/xone-kmod.spec @@ -21,6 +21,8 @@ Source0: %{url}/archive/v%{version}.tar.gz#/xone-%{version}.tar.gz Source0: %{url}/archive/%{commit0}.tar.gz#/xone-%{shortcommit0}.tar.gz %endif +Patch0: https://github.com/BoukeHaarsma23/xonedo/commit/87d186328b958cd2cd677ac957981918d965f4f3.patch + # Get the needed BuildRequires (in parts depending on what we build for): BuildRequires: kmodtool