head 1.3; access; symbols pkgsrc-2019Q4:1.2.0.56 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.52 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.50 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.48 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.46 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.44 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.42 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.40 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.38 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.36 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.32 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.30 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.28 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.26 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.24 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.22 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.20 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.18 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.16 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.14 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.12 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.10 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.8 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.6 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.4 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.2 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.1.0.2 pkgsrc-2013Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2020.02.11.15.52.18; author nia; state dead; branches; next 1.2; commitid nTJRuCEsQvWSVgWB; 1.2 date 2013.09.12.20.13.41; author jperkin; state Exp; branches; next 1.1; commitid j9mV9og3Qv5EHb5x; 1.1 date 2013.06.17.12.43.28; author wiz; state Exp; branches; next ; commitid pCJW2RO3HwjB0YTw; desc @@ 1.3 log @lang: Remove mono2. This version is long obsolete and nothing in pkgsrc needs it any more. Use lang/mono6 or lang/mono depending on your platform. @ text @$NetBSD: patch-da,v 1.2 2013/09/12 20:13:41 jperkin Exp $ * Support DragonFlyBSD * Support 64-bit SunOS * Use mmap on NetBSD --- libgc/include/private/gcconfig.h.orig 2012-01-30 18:01:22.000000000 +0000 +++ libgc/include/private/gcconfig.h @@@@ -163,6 +163,11 @@@@ # define SUNOS5 # define mach_type_known # endif +# if defined(sun) && defined(__amd64) +# define X86_64 +# define SUNOS5 +# define mach_type_known +# endif # if (defined(__OS2__) || defined(__EMX__)) && defined(__32BIT__) # define I386 # define OS2 @@@@ -361,6 +366,9 @@@@ # define OPENBSD # define mach_type_known # endif +# if defined(__DragonFly__) +# define FREEBSD +# endif # if defined(FREEBSD) && (defined(i386) || defined(__i386__)) # define I386 # define mach_type_known @@@@ -700,6 +708,10 @@@@ # endif # ifdef NETBSD # define OS_TYPE "NETBSD" +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # define HEURISTIC2 # ifdef __ELF__ # define DATASTART GC_data_start @@@@ -891,6 +903,10 @@@@ # ifdef NETBSD # define ALIGNMENT 4 # define OS_TYPE "NETBSD" +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # define HEURISTIC2 extern char etext[]; # define DATASTART GC_data_start @@@@ -1062,6 +1078,10 @@@@ # endif # ifdef NETBSD # define OS_TYPE "NETBSD" +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # define HEURISTIC2 # ifdef __ELF__ # define DATASTART GC_data_start @@@@ -1374,6 +1394,10 @@@@ # endif # ifdef NETBSD # define OS_TYPE "NETBSD" +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # ifdef __ELF__ # define DYNAMIC_LOADING # endif @@@@ -1534,6 +1558,10 @@@@ # if defined(NETBSD) # define ALIGNMENT 4 # define OS_TYPE "NETBSD" +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # define HEURISTIC2 # define USE_GENERIC_PUSH_REGS # ifdef __ELF__ @@@@ -1660,6 +1688,10 @@@@ # endif # ifdef NETBSD # define OS_TYPE "NETBSD" +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # define HEURISTIC2 # define DATASTART GC_data_start # define ELFCLASS32 32 @@@@ -1923,6 +1955,10 @@@@ # define ALIGNMENT 4 # ifdef NETBSD # define OS_TYPE "NETBSD" +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # define HEURISTIC2 # ifdef __ELF__ # define DATASTART GC_data_start @@@@ -2020,6 +2056,10 @@@@ # endif # ifdef NETBSD # define OS_TYPE "NETBSD" +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # define HEURISTIC2 # define DATASTART GC_data_start # define USE_GENERIC_PUSH_REGS @@@@ -2131,6 +2171,10 @@@@ # endif # ifdef NETBSD # define OS_TYPE "NETBSD" +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # ifdef __ELF__ # define DYNAMIC_LOADING # endif @@@@ -2138,6 +2182,29 @@@@ extern char etext[]; # define SEARCH_FOR_DATA_START # endif +# ifdef SUNOS5 +# define OS_TYPE "SUNOS5" +# define ELF_CLASS ELFCLASS64 + extern int _etext[], _end[]; + extern ptr_t GC_SysVGetDataStart(); +# define DATASTART GC_SysVGetDataStart(0x1000, _etext) +# define DATAEND (_end) +# include +# ifdef USERLIMIT +# define STACKBOTTOM USRSTACK +# else +# define HEURISTIC2 +# endif +# define DYNAMIC_LOADING +# if !defined(USE_MMAP) && defined(REDIRECT_MALLOC) +# define USE_MMAP +# endif +# ifdef USE_MMAP +# define HEAP_START (ptr_t)0x40000000 +# else +# define HEAP_START DATAEND +# endif +# endif # ifdef OPENBSD # define OS_TYPE "OPENBSD" # define ELF_CLASS ELFCLASS64 @ 1.2 log @Add support for 64-bit SunOS. @ text @d1 1 a1 1 $NetBSD: patch-da,v 1.1 2013/06/17 12:43:28 wiz Exp $ @ 1.1 log @Import mono-2.10.9nb3 as lang/mono2. The Mono Project is an open development initiative sponsored by Ximian that is working to develop an open source, Unix version of the Microsoft .NET development platform. Its objective is to enable Unix developers to build and deploy cross-platform .NET Applications. The project will implement various technologies developed by Microsoft that have now been submitted to the ECMA for standardization. This package contains the major version 2 of mono. @ text @d1 1 a1 1 $NetBSD: patch-da,v 1.3 2011/10/14 00:17:45 christos Exp $ d3 19 a21 3 --- libgc/include/private/gcconfig.h.orig 2011-04-18 07:23:28.000000000 -0400 +++ libgc/include/private/gcconfig.h 2011-10-13 20:10:24.000000000 -0400 @@@@ -361,6 +361,9 @@@@ d31 1 a31 1 @@@@ -700,6 +703,10 @@@@ d42 1 a42 1 @@@@ -891,6 +898,10 @@@@ d53 1 a53 1 @@@@ -1062,6 +1073,10 @@@@ d64 1 a64 1 @@@@ -1374,6 +1389,10 @@@@ d75 1 a75 1 @@@@ -1534,6 +1553,10 @@@@ d86 1 a86 1 @@@@ -1660,6 +1683,10 @@@@ d97 1 a97 1 @@@@ -1923,6 +1950,10 @@@@ d108 1 a108 1 @@@@ -2020,6 +2051,10 @@@@ d119 1 a119 1 @@@@ -2131,6 +2166,10 @@@@ d130 30 @