Date: Mon, 24 Aug 2020 18:02:01 +0000 (UTC) From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546104 - head/lang/mosh/files Message-ID: <202008241802.07OI21kG034155@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: fernape Date: Mon Aug 24 18:02:01 2020 New Revision: 546104 URL: https://svnweb.freebsd.org/changeset/ports/546104 Log: lang/mosh: Fix build on 13-CURRENT lang/mosh depended on -fcommon Cherry-pick upstream fix: https://github.com/ivmai/bdwgc/commit/808af929bf55cd2b31e354f1903e182b151e8668 PR: 248874 Submitted by: mjt@cltn.org (maintainer) Added: head/lang/mosh/files/patch-extlibs_gc-cvs_include_private_gc__priv.h (contents, props changed) head/lang/mosh/files/patch-extlibs_gc-cvs_os__dep.c (contents, props changed) Added: head/lang/mosh/files/patch-extlibs_gc-cvs_include_private_gc__priv.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/mosh/files/patch-extlibs_gc-cvs_include_private_gc__priv.h Mon Aug 24 18:02:01 2020 (r546104) @@ -0,0 +1,11 @@ +--- extlibs/gc-cvs/include/private/gc_priv.h.orig 2020-08-24 13:57:21 UTC ++++ extlibs/gc-cvs/include/private/gc_priv.h +@@ -2169,7 +2169,7 @@ GC_EXTERN signed_word GC_bytes_found; + + #if defined(NEED_FIND_LIMIT) \ + || (defined(USE_PROC_FOR_LIBRARIES) && defined(THREADS)) +- JMP_BUF GC_jmp_buf; ++ GC_EXTERN JMP_BUF GC_jmp_buf; + + /* Set up a handler for address faults which will longjmp to */ + /* GC_jmp_buf; */ Added: head/lang/mosh/files/patch-extlibs_gc-cvs_os__dep.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/mosh/files/patch-extlibs_gc-cvs_os__dep.c Mon Aug 24 18:02:01 2020 (r546104) @@ -0,0 +1,11 @@ +--- extlibs/gc-cvs/os_dep.c.orig 2020-08-24 13:59:02 UTC ++++ extlibs/gc-cvs/os_dep.c +@@ -889,6 +889,8 @@ GC_INNER word GC_page_size = 0; + /* Some tools to implement HEURISTIC2 */ + # define MIN_PAGE_SIZE 256 /* Smallest conceivable page size, bytes */ + ++ GC_INNER JMP_BUF GC_jmp_buf; ++ + /*ARGSUSED*/ + STATIC void GC_fault_handler(int sig) + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008241802.07OI21kG034155>