From 3a84d26f5bd44cc2841bc88b934706aabcbee64c Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 8 Oct 2022 22:52:53 +0200 Subject: [PATCH] glmark2: fix build with gcc>=12 --- ...3f53c96dc8a4048b17dc16147a8fac782d4a.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/glmark2/patches/d1ca3f53c96dc8a4048b17dc16147a8fac782d4a.patch diff --git a/srcpkgs/glmark2/patches/d1ca3f53c96dc8a4048b17dc16147a8fac782d4a.patch b/srcpkgs/glmark2/patches/d1ca3f53c96dc8a4048b17dc16147a8fac782d4a.patch new file mode 100644 index 00000000000..3e60a442d1b --- /dev/null +++ b/srcpkgs/glmark2/patches/d1ca3f53c96dc8a4048b17dc16147a8fac782d4a.patch @@ -0,0 +1,24 @@ +From d1ca3f53c96dc8a4048b17dc16147a8fac782d4a Mon Sep 17 00:00:00 2001 +From: Alexandros Frantzis +Date: Mon, 14 Feb 2022 13:54:09 +0200 +Subject: [PATCH] libmatrix: Add missing include + +Fixes compilation with GCC 12. + +Fixes #169 +--- + src/libmatrix/program.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/libmatrix/program.h b/src/libmatrix/program.h +index f95b470..1c9de08 100644 +--- a/src/libmatrix/program.h ++++ b/src/libmatrix/program.h +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + #include "mat.h" + + // Simple shader container. Abstracts all of the OpenGL bits, but leaves