head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.10 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.8 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.6 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.4 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.2 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.1.0.8 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.6 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.4 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2025.02.08.14.05.03; author wiz; state Exp; branches; next 1.1; commitid w9JGAUWGP7uGIFIF; 1.1 date 2024.03.08.12.02.33; author wiz; state Exp; branches; next ; commitid wOtDZmcvYEQnSl1F; desc @@ 1.2 log @gcc13-gnat: merge updates from wip From Dmytro Kazankov. @ text @$NetBSD: patch-fixincludes_inclhack.def,v 1.1 2024/03/08 12:02:33 wiz Exp $ A workaround for Catalina SDK bug from https://github.com/Homebrew/homebrew-core/pull/44762 --- fixincludes/inclhack.def.orig 2024-05-21 10:47:37.000000000 +0300 +++ fixincludes/inclhack.def @@@@ -1351,6 +1351,28 @@@@ }; /* + * macOS 10.15 does not define __OSX_AVAILABLE_STARTING on + * non-clang compilers. + */ +fix = { + hackname = darwin_availability; + mach = "*-*-darwin*"; + files = Availability.h; + select = "#endif /\\* __OSX_AVAILABLE_STARTING \\*/"; + c_fix = format; + c_fix_arg = <<- _EOFix_ + #endif /* __OSX_AVAILABLE_STARTING */ + #ifndef __OSX_AVAILABLE_STARTING + #define __OSX_AVAILABLE_STARTING(_osx, _ios) + #define __OSX_AVAILABLE_BUT_DEPRECATED(_osxIntro, _osxDep, _iosIntro, _iosDep) + #define __OSX_AVAILABLE_BUT_DEPRECATED_MSG(_osxIntro, _osxDep, _iosIntro, _iosDep, _msg) + #endif + _EOFix_; + + test_text = "#endif /* __OSX_AVAILABLE_STARTING */"; +}; + +/* * macOS 10.12 uses __attribute__((availability)) * unconditionally. */ @ 1.1 log @lang/gcc13-gnat: import gcc13-gnat-13.2.0 Packaged by Dmytro Kazankov for wip. The GNU Compiler Collection (GCC) This package contains GNAT compiler and Ada tools @ text @d1 1 a1 1 $NetBSD: patch-fixincludes_inclhack.def,v 1.1 2023/05/03 20:03:09 wiz Exp $ d6 1 a6 1 --- fixincludes/inclhack.def.orig 2020-03-04 08:29:59.000000000 +0000 d8 1 a8 1 @@@@ -1269,6 +1269,28 @@@@ fix = { @