mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-misc/openrgb: patch for GCC 13
Bug: https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/1743 Closes: https://bugs.gentoo.org/895428 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
36
app-misc/openrgb/files/openrgb-0.8-gcc-13.patch
Normal file
36
app-misc/openrgb/files/openrgb-0.8-gcc-13.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
diff --git a/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp b/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
|
||||
index 2bdc37ad695dfdc870cb912f17fffd54bda2b89b..17080edb896f74c9393049041c25347d38a8a6f5 100644
|
||||
--- a/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
|
||||
+++ b/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "ENESMBusInterface_SpectrixS40G.h"
|
||||
#include <sys/ioctl.h>
|
||||
#include <cstring>
|
||||
+#include <cstdint>
|
||||
|
||||
/*---------------------------------------------------------------------*\
|
||||
| Functions for submitting NVME admin passthrough command taken from |
|
||||
diff --git a/Controllers/SteelSeriesController/SteelSeriesMouseController.h b/Controllers/SteelSeriesController/SteelSeriesMouseController.h
|
||||
index 64df7a1cc0351ccb8f306984c8b554f8eb3dcc6e..a4e561a3504c1def8acdd1921dc3955df7f68271 100644
|
||||
--- a/Controllers/SteelSeriesController/SteelSeriesMouseController.h
|
||||
+++ b/Controllers/SteelSeriesController/SteelSeriesMouseController.h
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <vector>
|
||||
#include "SteelSeriesGeneric.h"
|
||||
+#include <cstdint>
|
||||
|
||||
#pragma once
|
||||
|
||||
diff --git a/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp b/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
|
||||
index 8f0cd4cdb637ea5f474b1caf587dc3c98c5dba89..367e9175b07548845696616aef86920ca2536bb4 100644
|
||||
--- a/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
|
||||
+++ b/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <cstring>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <cstdint>
|
||||
|
||||
static void send_usb_msg(hid_device* dev, char * data_pkt, unsigned int size)
|
||||
{
|
||||
@@ -18,7 +18,8 @@ fi
|
||||
DESCRIPTION="Open source RGB lighting control"
|
||||
HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/"
|
||||
LICENSE="GPL-2"
|
||||
# subslot is OPENRGB_PLUGIN_API_VERSION from https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
|
||||
# subslot is OPENRGB_PLUGIN_API_VERSION from
|
||||
# https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
|
||||
SLOT="0/2"
|
||||
|
||||
RDEPEND="
|
||||
@@ -41,6 +42,7 @@ BDEPEND="
|
||||
"
|
||||
|
||||
PATCHES+=(
|
||||
"${FILESDIR}"/${PN}-0.8-gcc-13.patch
|
||||
"${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
|
||||
"${FILESDIR}"/OpenRGB-0.8-includes.patch
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user