head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.88 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.86 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.84 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.82 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.80 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.78 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.76 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.74 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.72 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.70 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.68 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.66 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.64 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.62 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.60 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.58 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.56 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.54 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.52 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.50 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.48 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.46 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.44 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.40 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.20 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.42 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.38 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.36 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.34 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.32 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.30 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.28 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.26 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.24 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.22 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.18 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.16 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.14 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.12 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.10 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.8 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.6 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.4 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.2 pkgsrc-2015Q2-base:1.3 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.14 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.12 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.10 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.8 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.6 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.4 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.2 pkgsrc-2012Q3-base:1.1; locks; strict; comment @# @; 1.3 date 2015.06.14.19.46.51; author marino; state Exp; branches; next 1.2; commitid i4MzQbttad2UYqpy; 1.2 date 2014.04.30.16.24.39; author marino; state Exp; branches; next 1.1; commitid iQlusHIUi1LI2Jyx; 1.1 date 2012.07.08.19.30.38; author marino; state Exp; branches; next ; desc @@ 1.3 log @lang/gcc-aux: various fixes, remove NLS option This update is a by-product of working on new package, gcc5-aux, and applying those concepts here. Several changes were made, including: - Version date was not updated when version changed from 4.9.0 => 4.9.2 (revbump occurred instead). Remove revbump and fix date - Remove DragonFly-i386 from permitted platforms. This platform will be completely unsupported when DragonFly 4.2 is released (very soon) - Remove references to OpenBSD and MirBSD. Support was never activated due to technical issues and likely will not happen. - Reindent (cosmetic) - It is seemingly impossible to work around NetBSD's binary compatibility scheme (e.g. __socket30, __nanosleep50). These weak symbols are simply ignored by Ada's pragma Import and no c-tricks seem to avoid conflicts. (Why can't NetBSD use symbol versioning???) Anyway, having NetBSD- specific copies of source files to handle a couple of symbol differences is simply not sustainable, so move to a new scheme where these are replaced on the fly. By the way, this problem basically means that I cannot fix GNAT upstream, even if I found somebody to sponsor getting the NUMEROUS non-ada patches upstream. GCC devs would laugh at me if I describe why I want to introduce so many new but similar files to support NetBSD. So it's very likely never going to happen. - Disable libitm and libcilkrts by default. They are out of scope and not worth building / fixing. - Apparently NLS support doesn't build on NetBSD 6.1? Nobody reported this to me, but there are linking issues. I'm just removing the option (which was on by default) until further notice. Having NLS support on by default was questionable anyway. - Remove exetim mods, this was wrong (for all BSD platforms) - Android support leaked in, but it's not used here - The diff-ada file dropped about 150k in size, and could have been more had the android osinte file been masked too. @ text @--- gcc/fortran/f95-lang.c.orig +++ gcc/fortran/f95-lang.c @@@@ -742,10 +742,17 @@@@ gfc_define_builtin ("__builtin_cabsl", func_clongdouble_longdouble, BUILT_IN_CABSL, "cabsl", ATTR_CONST_NOTHROW_LEAF_LIST); +#if defined(__NetBSD__) + gfc_define_builtin ("__builtin_cabs", func_cdouble_double, + BUILT_IN_CABS, "__c99_cabs", ATTR_CONST_NOTHROW_LEAF_LIST); + gfc_define_builtin ("__builtin_cabsf", func_cfloat_float, + BUILT_IN_CABSF, "__c99_cabsf", ATTR_CONST_NOTHROW_LEAF_LIST); +#else gfc_define_builtin ("__builtin_cabs", func_cdouble_double, BUILT_IN_CABS, "cabs", ATTR_CONST_NOTHROW_LEAF_LIST); gfc_define_builtin ("__builtin_cabsf", func_cfloat_float, BUILT_IN_CABSF, "cabsf", ATTR_CONST_NOTHROW_LEAF_LIST); +#endif gfc_define_builtin ("__builtin_copysignl", mfunc_longdouble[1], BUILT_IN_COPYSIGNL, "copysignl", --- libgfortran/acinclude.m4.orig +++ libgfortran/acinclude.m4 @@@@ -100,7 +100,7 @@@@ [Define to 1 if the target supports #pragma weak]) fi case "$host" in - *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* ) + *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-netbsd* ) AC_DEFINE(GTHREAD_USE_WEAK, 0, [Define to 0 if the target shouldn't use #pragma weak]) ;; --- libgfortran/configure.orig +++ libgfortran/configure @@@@ -26346,7 +26346,7 @@@@ fi case "$host" in - *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* ) + *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-netbsd* ) $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h @ 1.2 log @lang/gcc-aux: Change base of gcc 4.7.3 to gcc 4.9.0 It appears that gcc-aux is the first gcc 4.9.0 in pkgsrc. It's purpose is to build the Ada packages in pkgsrc, but it also supports C, C++, Objective-C, and Fortran languages by default. GCC 4.9 was released on 22 April 2014. Of note, GCC 4.9 fully supports the new Ada-2012 standard. The rest of the changes since GCC 4.8.2 are too numerous to mention, but a decent summary can be found here: http://gcc.gnu.org/gcc-4.9/changes.html FreeBSD support was added, but SunOS support was temporarily disabled. This is due to all new bootstraps being provided, but the SunOS bootstrap is not yet ready. Currently supported platforms are * NetBSD i386 and x86-64 * DragonFly i386 and x86-64 * FreeBSD i386 and x86-64 All platform fully pass the Ada testsuite: * http://www.dragonlace.net/gnataux/netbsd32/ * http://www.dragonlace.net/gnataux/netbsd64/ * http://www.dragonlace.net/gnataux/dragonfly32/ * http://www.dragonlace.net/gnataux/dragonfly64/ * http://www.dragonlace.net/gnataux/freebsd32/ * http://www.dragonlace.net/gnataux/freebsd64/ @ text @d3 1 a3 1 @@@@ -718,10 +718,17 @@@@ d34 1 a34 1 @@@@ -26340,7 +26340,7 @@@@ @ 1.1 log @Import lang/gcc-aux based on gcc-4.7.1 The primary difference between this compiler package and lang/gcc47 is that lang/gcc-aux supports the Ada language. Additionally, it is intended that the USE_LANGUAGES makefile variable whill be extended to recognize "ada" as a valid language, and that specifying it will cause lang/gcc-aux to be used to build the package. All current Ada-based packages will be modified to build with USE_LANGUAGES+= ada rather than specifying a dependency on lang/gnat-aux, the other Ada-capable compiler in pkgsrc based on gcc-4.6.3. lang/gcc-aux supports C, C++, Objective-C, Fortran, and Ada by default, but the latter four languages can be disabled via the options framework. The three non-default options are "nls", "testsuite" and "static" which enable Native Language Support, languages tests, and building the compiler statically. The "static" option is unalterably enabled for NetBSD in order to use dl_iterate_phdr error handling on NetBSD 6. On the NetBSD 6 beta builds, exceptions won't unwind properly with the libgcc_s shared library, and the issue seems to be external to gcc-aux. It's hoped the libgcc_s exception handling works on NetBSD 5.x series as dl_iterate_phdr isn't supported by rtld there, but gcc-aux hasn't been tested on 5.x yet. lang/gcc-aux can be built by 5 platforms currently: NetBSD i386/x86_64, DragonFly i386/x86_64, and OpenSolaris i386. New platform support requires new bootstraps. FreeBSD i386/x86_64 could be added easily as bootstrap compilers are available for FreeBSD ports lang/gnat-aux. OpenBSD bootstrap compilers have been built but never used, but further patches are on a couple of gcc's configuration files are needed as well as testing to provide OpenBSD support. All five platforms pass all tests (over 3200) in the Ada testsuite. See http://gcc.gnu.org/gcc-4.7/changes.html for more information about improvements over the GCC 4.6 series. @ text @d3 1 a3 1 @@@@ -819,10 +819,17 @@@@ d23 1 a23 1 @@@@ -99,7 +99,7 @@@@ d27 2 a28 2 - *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | alpha*-dec-osf* ) + *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | alpha*-dec-osf* | *-*-netbsd* ) a31 30 --- libquadmath/Makefile.in.orig +++ libquadmath/Makefile.in @@@@ -388,15 +388,14 @@@@ # Subdir rules rely on $(FLAGS_TO_PASS) @@BUILD_LIBQUADMATH_TRUE@@FLAGS_TO_PASS = $(AM_MAKEFLAGS) -@@BUILD_LIBQUADMATH_TRUE@@MAKEOVERRIDES = -@@BUILD_LIBQUADMATH_TRUE@@@@GENINSRC_FALSE@@STAMP_GENINSRC = +@@BUILD_LIBQUADMATH_TRUE@@MAKEOVERRIDES = +@@BUILD_LIBQUADMATH_TRUE@@@@GENINSRC_FALSE@@STAMP_GENINSRC = # AM_CONDITIONAL on configure option --generated-files-in-srcdir @@BUILD_LIBQUADMATH_TRUE@@@@GENINSRC_TRUE@@STAMP_GENINSRC = stamp-geninsrc -@@BUILD_INFO_FALSE@@@@BUILD_LIBQUADMATH_TRUE@@STAMP_BUILD_INFO = +@@BUILD_LIBQUADMATH_TRUE@@STAMP_BUILD_INFO = # AM_CONDITIONAL on configure check ACX_CHECK_PROG_VER([MAKEINFO]) -@@BUILD_INFO_TRUE@@@@BUILD_LIBQUADMATH_TRUE@@STAMP_BUILD_INFO = stamp-build-info @@BUILD_LIBQUADMATH_TRUE@@CLEANFILES = $(STAMP_GENINSRC) $(STAMP_BUILD_INFO) libquadmath.info @@BUILD_LIBQUADMATH_TRUE@@MAINTAINERCLEANFILES = $(srcdir)/libquadmath.info @@@@ -1247,7 +1246,7 @@@@ info-am: $(INFO_DEPS) -install-data-am: install-info-am install-nodist_libsubincludeHEADERS +install-data-am: install-nodist_libsubincludeHEADERS install-dvi: install-dvi-am d34 1 a34 1 @@@@ -25564,7 +25564,7 @@@@ d38 2 a39 2 - *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | alpha*-dec-osf* ) + *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | alpha*-dec-osf* | *-*-netbsd* ) @