File OpenRGB-include_compiler_override.patch of Package OpenRGB

diff -rub OpenRGB-release_0.9.orig/OpenRGB.pro OpenRGB-release_0.9.patch/OpenRGB.pro
--- OpenRGB-release_0.9.orig/OpenRGB.pro	2023-07-10 05:51:47.000000000 +0200
+++ OpenRGB-release_0.9.patch/OpenRGB.pro	2023-07-14 15:54:00.355006793 +0200
@@ -253,6 +253,16 @@ unix {
     }
 }
 
+#-----------------------------------------------------------------------------------------------#
+# For distributions which have an older compiler by default, but have access to newer ones
+# provide this config to allow QMake to use it.
+#-----------------------------------------------------------------------------------------------#
+
+LINUX_GCC_WORKAROUND {
+    QMAKE_CC = gcc-10
+    QMAKE_CXX = g++-10
+}
+
 #-----------------------------------------------------------------------------------------------#
 # Translations                                                                                  #
 #   NB: Translation files should not be added dynamically due to the process                    #
openSUSE Build Service is sponsored by