head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.48 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.46 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.44 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.42 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.40 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.38 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.36 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.34 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.32 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.30 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.28 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.26 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.24 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.22 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.20 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.18 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.16 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.14 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.12 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.10 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.8 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.6 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.4 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.2 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.4 pkgsrc-2019Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2020.04.08.06.39.57; author wiz; state Exp; branches; next 1.1; commitid 6ILRQjz6h6e43y3C; 1.1 date 2019.10.19.21.20.38; author minskim; state Exp; branches; next ; commitid ejuhd6mlQ2ycswHB; desc @@ 1.2 log @gcc8*: update to 8.4.0 Changes not found. ~ one year of bug fixes on top of 8.3.0. @ text @$NetBSD: patch-fixincludes_inclhack.def,v 1.1 2019/10/19 21:20:38 minskim Exp $ A workaround for Catalina SDK bug from https://github.com/Homebrew/homebrew-core/pull/44762 --- fixincludes/inclhack.def.orig 2020-03-04 08:29:59.000000000 +0000 +++ fixincludes/inclhack.def @@@@ -1269,6 +1269,28 @@@@ fix = { }; /* + * 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/gcc8: Make this build on macOS Catalina A patch from Homebrew: https://github.com/Homebrew/homebrew-core/pull/44762 @ text @d1 1 a1 1 $NetBSD$ d6 3 a8 3 --- fixincludes/inclhack.def.orig 2018-02-22 08:12:26.000000000 -0800 +++ fixincludes/inclhack.def 2019-10-18 18:17:01.000000000 -0700 @@@@ -1268,6 +1268,28 @@@@ d34 2 a35 2 * For the AAB_darwin7_9_long_double_funcs fix to be useful, * you have to not use "" includes. @