From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 19 Oct 2022 07:41:26 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ol1pY-000GSD-0l for lore@lore.pengutronix.de; Wed, 19 Oct 2022 07:41:26 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ol1pT-00028v-5G; Wed, 19 Oct 2022 07:41:23 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ol1pB-000123-7r; Wed, 19 Oct 2022 07:41:05 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ol1pA-0002vF-JA; Wed, 19 Oct 2022 07:41:04 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ol1p9-001gTJ-SE; Wed, 19 Oct 2022 07:41:03 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 19 Oct 2022 07:41:03 +0200 Message-Id: <20221019054103.401546-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220930093829.3758764-1-p.zabel@pengutronix.de> References: <20220930093829.3758764-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] glmark2: backport GCC 12 build fix X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Philipp Zabel Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as d0a6370b0425ca607c9f4df28a981541a6ad82ef. Michael [sent from post-receive hook] On Wed, 19 Oct 2022 07:41:03 +0200, Philipp Zabel wrote: > Upstream commit d1ca3f53c96d ("libmatrix: Add missing > include") fixes building with GCC 12. > > Signed-off-by: Philipp Zabel > Message-Id: <20220930093829.3758764-1-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/patches/glmark2-2021.12/0001-libmatrix-Add-missing-utility-include.patch b/patches/glmark2-2021.12/0001-libmatrix-Add-missing-utility-include.patch > new file mode 100644 > index 000000000000..ead4fb5f817c > --- /dev/null > +++ b/patches/glmark2-2021.12/0001-libmatrix-Add-missing-utility-include.patch > @@ -0,0 +1,26 @@ > +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 > + > +[p.zabel@pengutronix.de: Back-ported to 2021.12] > +Signed-off-by: Philipp Zabel > +--- > + src/libmatrix/program.h | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/src/libmatrix/program.h b/src/libmatrix/program.h > +index f95b470cfae0..1c9de08b749a 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 > diff --git a/patches/glmark2-2021.12/series b/patches/glmark2-2021.12/series > new file mode 100644 > index 000000000000..d9bbb4faacb3 > --- /dev/null > +++ b/patches/glmark2-2021.12/series > @@ -0,0 +1,4 @@ > +# generated by git-ptx-patches > +#tag:base --start-number 1 > +0001-libmatrix-Add-missing-utility-include.patch > +# ce7ebc58a400e5455959996697f9022b - git-ptx-patches magic