diff --git a/app-misc/openrgb/files/openrgb-0.8-gcc-13.patch b/app-misc/openrgb/files/openrgb-0.8-gcc-13.patch new file mode 100644 index 0000000000000..2a78d8f4ab5c6 --- /dev/null +++ b/app-misc/openrgb/files/openrgb-0.8-gcc-13.patch @@ -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 + #include ++#include + + /*---------------------------------------------------------------------*\ + | 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 + #include + #include "SteelSeriesGeneric.h" ++#include + + #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 + #include + #include ++#include + + static void send_usb_msg(hid_device* dev, char * data_pkt, unsigned int size) + { diff --git a/app-misc/openrgb/openrgb-0.8-r1.ebuild b/app-misc/openrgb/openrgb-0.8-r1.ebuild index 672546f43e852..05c82b84efb7e 100644 --- a/app-misc/openrgb/openrgb-0.8-r1.ebuild +++ b/app-misc/openrgb/openrgb-0.8-r1.ebuild @@ -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 )