Date: Sunday, April 30, 2023 @ 19:59:03
  Author: freswa
Revision: 476086

upgpkg: linux-rt-lts 5.15.107.62.realtime1-2: gcc 13.1 rebuild

Added:
  linux-rt-lts/trunk/gcc13-compat.patch
Modified:
  linux-rt-lts/trunk/PKGBUILD

--------------------+
 PKGBUILD           |    5 ++++-
 gcc13-compat.patch |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-30 18:41:45 UTC (rev 476085)
+++ PKGBUILD    2023-04-30 19:59:03 UTC (rev 476086)
@@ -3,7 +3,7 @@
 
 pkgbase=linux-rt-lts
 pkgver=5.15.107.62.realtime1
-pkgrel=1
+pkgrel=2
 pkgdesc='Linux RT LTS'
 arch=(x86_64)
 
url="https://gitlab.archlinux.org/archlinux/packaging/upstream/linux-rt-lts/-/commits/v$pkgver";
@@ -23,11 +23,14 @@
 options=(!strip)
 source=(
   
git+https://gitlab.archlinux.org/archlinux/packaging/upstream/linux-rt-lts.git/#tag=v$pkgver?signed
+  gcc13-compat.patch
   config
 )
 sha512sums=('SKIP'
+            
'ce514cb2949c991ffc9258c6d6c879b3c80d7a9661875ae4530375c14c71753f8257795fbbeef9ce39301336bab32c199ca05659e805a12f6249e875b51fbf30'
             
'463c256a8d36a0eeddf583b00e0ebc3585e00c2a4c3ad4f07ccd7318aee243b6a571df531c7e75d8af81f4f258e6c2791b02cdad2a57bf435219ca54cd96b4dc')
 b2sums=('SKIP'
+        
'c1355786897ba36f5dbb01e0c2b434a901d9df88e1305a4be607bb41bbf59769d5ec351166dcfb6035d94a922aad6bac4bf1b8783ea91b7ceb17d59b4613be01'
         
'443e2997459673250b7dca3ffd24bffeda8a905c507c535814516e676bf359853c05d65eff71aac9c6c91c39bc1508e68ced64336edaab049954c2adc995c4bd')
 validpgpkeys=(
   '647F28654894E3BD457199BE38DBBDC86092693E'  # Greg Kroah-Hartman 
<[email protected]>

Added: gcc13-compat.patch
===================================================================
--- gcc13-compat.patch                          (rev 0)
+++ gcc13-compat.patch  2023-04-30 19:59:03 UTC (rev 476086)
@@ -0,0 +1,45 @@
+From e6a71160cc145e18ab45195abf89884112e02dfb Mon Sep 17 00:00:00 2001
+From: Kees Cook <[email protected]>
+Date: Wed, 18 Jan 2023 12:21:35 -0800
+Subject: [PATCH] gcc-plugins: Reorganize gimple includes for GCC 13
+
+The gimple-iterator.h header must be included before gimple-fold.h
+starting with GCC 13. Reorganize gimple headers to work for all GCC
+versions.
+
+Reported-by: Palmer Dabbelt <[email protected]>
+Acked-by: Palmer Dabbelt <[email protected]>
+Link: https://lore.kernel.org/all/[email protected]/
+Cc: [email protected]
+Signed-off-by: Kees Cook <[email protected]>
+---
+ scripts/gcc-plugins/gcc-common.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/scripts/gcc-plugins/gcc-common.h 
b/scripts/gcc-plugins/gcc-common.h
+index 9a1895747b15..84c730da36dd 100644
+--- a/scripts/gcc-plugins/gcc-common.h
++++ b/scripts/gcc-plugins/gcc-common.h
+@@ -71,7 +71,9 @@
+ #include "varasm.h"
+ #include "stor-layout.h"
+ #include "internal-fn.h"
++#include "gimple.h"
+ #include "gimple-expr.h"
++#include "gimple-iterator.h"
+ #include "gimple-fold.h"
+ #include "context.h"
+ #include "tree-ssa-alias.h"
+@@ -85,10 +87,8 @@
+ #include "tree-eh.h"
+ #include "stmt.h"
+ #include "gimplify.h"
+-#include "gimple.h"
+ #include "tree-ssa-operands.h"
+ #include "tree-phinodes.h"
+ #include "tree-cfg.h"
+-#include "gimple-iterator.h"
+ #include "gimple-ssa.h"
+
+--
+2.40.1

Reply via email to