head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.10 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.8 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.6 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.4 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.2 pkgsrc-2025Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2026.06.30.23.30.52; author js; state Exp; branches; next 1.1; commitid Ru7ARzAX0V6iySLG; 1.1 date 2025.06.15.12.51.36; author js; state Exp; branches; next ; commitid pPFU1zunMUk7eZYF; desc @@ 1.2 log @cross/ppc-morphos-gcc: Fix objc-saveds.diff This fixes leaking saveds into non-ObjC methods as the type was shared. @ text @Make all ObjC methods saveds. --- gcc/objc/objc-act.cc.orig 2025-08-08 06:51:41.003356964 +0000 +++ gcc/objc/objc-act.cc @@@@ -5221,6 +5221,13 @@@@ build_function_type_for_method (tree ret else ftype = build_function_type_vec (return_type, argtypes); +#ifdef TARGET_BASEREL + if (TARGET_BASEREL) + ftype = + build_type_attribute_variant (ftype, tree_cons (get_identifier ("saveds"), + NULL_TREE, TYPE_ATTRIBUTES (ftype))); +#endif + release_tree_vector (argtypes); return ftype; } @ 1.1 log @Add cross/ppc-morphos-gcc 15.1.0 Includes patchset from unreleased MorphOS 3.20 beta SDK with permission. No version suffix anymore since the idea is to only maintain one version in pkgsrc. @ text @d3 3 a5 3 --- gcc/objc/objc-act.cc.orig 2025-05-31 23:13:39.128573359 +0200 +++ gcc/objc/objc-act.cc 2025-05-31 23:13:44.450437107 +0200 @@@@ -5215,6 +5215,13 @@@@ d11 3 a13 3 + TYPE_ATTRIBUTES (ftype) = tree_cons (get_identifier ("saveds"), + NULL_TREE, + TYPE_ATTRIBUTES (ftype)); @