head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.72 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.70 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.68 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.66 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.64 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.62 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.60 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.58 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.56 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.54 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.52 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.50 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.48 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.46 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.44 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.42 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.40 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.38 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.36 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.34 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.32 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.30 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.28 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.24 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.4 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.26 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.22 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.20 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.18 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.16 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.14 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.12 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.10 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.8 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.6 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.2 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.4.0.6 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.4 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.2 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.3.0.6 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.4 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.2 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.2.0.12 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.10 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.8 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.6 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.4 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.2 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.1.0.8 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.6 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.4 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.2 pkgsrc-2013Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2017.06.21.11.36.20; author maya; state Exp; branches; next 1.4; commitid RpIZT5z5BchYweWz; 1.4 date 2016.09.27.20.51.11; author maya; state Exp; branches 1.4.6.1; next 1.3; commitid DgEVs9PIvKaVbYnz; 1.3 date 2015.10.07.10.36.54; author sevan; state Exp; branches; next 1.2; commitid Pd7Dk7rlwii2faEy; 1.2 date 2014.04.17.21.19.02; author asau; state Exp; branches; next 1.1; commitid dF7BY4JchCqD55xx; 1.1 date 2013.05.20.05.47.34; author adam; state Exp; branches; next ; commitid 3hSq5bNRkSLABkQw; 1.4.6.1 date 2017.06.21.18.53.33; author bsiegert; state Exp; branches; next ; commitid mgGwIWnvGLEYXgWz; desc @@ 1.5 log @g95: Fix netbsd/mips64 builds NetBSD switched to n32 ABI for mips64el in NetBSD 6, and the build is failing due to the default ABI mismatch between linker and newly built compiler. Default to n32 and backport n32 size definitions from newer GCC. Small chance of a functional change for o32 builds (which should work), ride previous PKGREVISION bump for it. @ text @$NetBSD: patch-gcc_config.gcc,v 1.4 2016/09/27 20:51:11 maya Exp $ Darwin 64-bit support. DragonFly BSD support. FreeBSD 10 to 12 support. NetBSD/mips64 should default to n32 ABI --- ../gcc-4.1.2/gcc/config.gcc.orig 2006-10-15 23:12:23.000000000 +0000 +++ ../gcc-4.1.2/gcc/config.gcc @@@@ -412,6 +412,12 @@@@ case ${target} in tm_defines="${tm_defines} FBSD_MAJOR=8" ;; *-*-freebsd9 | *-*-freebsd[9].*) tm_defines="${tm_defines} FBSD_MAJOR=9" ;; + *-*-freebsd10 | *-*-freebsd10.*) + tm_defines="${tm_defines} FBSD_MAJOR=10" ;; + *-*-freebsd11 | *-*-freebsd11.*) + tm_defines="${tm_defines} FBSD_MAJOR=11" ;; + *-*-freebsd12 | *-*-freebsd12.*) + tm_defines="${tm_defines} FBSD_MAJOR=12" ;; *) echo 'Please update *-*-freebsd* in gcc/config.gcc' exit 1 @@@@ -440,6 +446,23 @@@@ case ${target} in esac fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h" ;; +*-*-dragonfly*) + gas=yes + gnu_ld=yes + extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" + tmake_file="t-slibgcc-elf-ver t-dragonfly" + case ${enable_threads} in + "" | yes | posix) + thread_file='posix' + tmake_file="${tmake_file} t-dragonfly-thread" + ;; + *) + echo 'Unknown thread configuration for FreeBSD' + exit 1 + ;; + esac + dfly_tm_file="${dfly_tm_file} dragonfly-spec.h dragonfly.h" + ;; *-*-linux*libc1* | *-*-linux*aout*) # Avoid the generic linux case. ;; @@@@ -981,6 +1004,8 @@@@ hppa[12]*-*-hpux11*) i[34567]86-*-darwin*) # All the configuration is presently done generically. ;; +x86_64-*-darwin*) + ;; i[34567]86-*-elf*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h" tmake_file="i386/t-i386elf t-svr4" @@@@ -1012,6 +1037,12 @@@@ i[34567]86-*-freebsd*) x86_64-*-freebsd*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h" ;; +i[34567]86-*-dragonfly*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${dfly_tm_file} i386/dragonfly.h" + ;; +x86_64-*-dragonfly*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${dfly_tm_file} i386/x86-64.h i386/dragonfly.h i386/dragonfly64.h" + ;; i[34567]86-*-netbsdelf*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h" ;; @@@@ -1473,6 +1504,11 @@@@ mips-sgi-irix[56]*) # fi use_fixproto=yes ;; +mips64*-*-netbsd*) # NetBSD/mips64, either endian. + target_cpu_default="MASK_ABICALLS" + tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32" + tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h" + ;; mips*-*-netbsd*) # NetBSD/mips, either endian. target_cpu_default="MASK_ABICALLS" tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h" @ 1.4 log @g95: preliminary support for FreeBSD-12, minor rototilling. Don't fail in configure. @ text @d1 1 a1 1 $NetBSD: patch-gcc_config.gcc,v 1.3 2015/10/07 10:36:54 sevan Exp $ d6 1 d69 12 @ 1.4.6.1 log @Pullup ticket #5490 - requested by maya lang/g95: build fix Revisions pulled up: - lang/g95/Makefile 1.28 - lang/g95/distinfo 1.29-1.30 - lang/g95/patches/patch-gcc_config.gcc 1.5 - lang/g95/patches/patch-gcc_config_mips_netbsd.h 1.1 - lang/g95/patches/patch-gcc_config_rs600_netbsd.h 1.1 --- Module Name: pkgsrc Committed By: maya Date: Wed Jun 21 01:12:56 UTC 2017 Modified Files: pkgsrc/lang/g95: Makefile distinfo Added Files: pkgsrc/lang/g95/patches: patch-gcc_config_rs600_netbsd.h Log Message: g95: don't try to link against a non-existent file on netbsd/powerpc. untested but obvious change. currently showing up as a build failure of math/blas as it attempts to link with crtsavres which is a linux file. Bump PKGREVISION as the build succeeds. --- Module Name: pkgsrc Committed By: maya Date: Wed Jun 21 11:36:20 UTC 2017 Modified Files: pkgsrc/lang/g95: distinfo pkgsrc/lang/g95/patches: patch-gcc_config.gcc Added Files: pkgsrc/lang/g95/patches: patch-gcc_config_mips_netbsd.h Log Message: g95: Fix netbsd/mips64 builds NetBSD switched to n32 ABI for mips64el in NetBSD 6, and the build is failing due to the default ABI mismatch between linker and newly built compiler. Default to n32 and backport n32 size definitions from newer GCC. Small chance of a functional change for o32 builds (which should work), ride previous PKGREVISION bump for it. @ text @d1 1 a1 1 $NetBSD$ a5 1 NetBSD/mips64 should default to n32 ABI a67 12 @@@@ -1473,6 +1504,11 @@@@ mips-sgi-irix[56]*) # fi use_fixproto=yes ;; +mips64*-*-netbsd*) # NetBSD/mips64, either endian. + target_cpu_default="MASK_ABICALLS" + tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32" + tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h" + ;; mips*-*-netbsd*) # NetBSD/mips, either endian. target_cpu_default="MASK_ABICALLS" tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h" @ 1.3 log @ Add FreeBSD 11 support Reviewed by: wiz@@ @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 FreeBSD 10 & 11 support. d9 1 a9 1 @@@@ -412,6 +412,10 @@@@ case ${target} in d17 2 d22 1 a22 1 @@@@ -440,6 +444,23 @@@@ case ${target} in d46 1 a46 1 @@@@ -981,6 +1002,8 @@@@ hppa[12]*-*-hpux11*) d55 1 a55 1 @@@@ -1012,6 +1035,12 @@@@ i[34567]86-*-freebsd*) @ 1.2 log @FreeBSD 10 support. @ text @d5 1 a5 1 FreeBSD 10 support. d7 3 a9 3 --- ../gcc-4.1.2/gcc/config.gcc.orig 2006-10-16 01:12:23.000000000 +0200 +++ ../gcc-4.1.2/gcc/config.gcc 2014-04-17 15:05:05.084032706 +0200 @@@@ -412,6 +412,8 @@@@ d15 2 d20 1 a20 1 @@@@ -440,6 +442,23 @@@@ d44 1 a44 1 @@@@ -981,6 +1000,8 @@@@ d53 1 a53 1 @@@@ -1012,6 +1033,12 @@@@ @ 1.1 log @* Switched to gcc-4.1.2 * Clean-up @ text @d5 1 d7 12 a18 3 --- ../gcc-4.1.2/gcc/config.gcc.orig 2006-10-15 23:12:23.000000000 +0000 +++ ../gcc-4.1.2/gcc/config.gcc @@@@ -440,6 +440,23 @@@@ case ${target} in d42 1 a42 1 @@@@ -981,6 +998,8 @@@@ hppa[12]*-*-hpux11*) d51 1 a51 1 @@@@ -1012,6 +1031,12 @@@@ i[34567]86-*-freebsd*) @