svn commit: r546104 - head/lang/mosh/files

Fernando Apesteguía fernape at FreeBSD.org
Mon Aug 24 18:02:02 UTC 2020


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 at 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)
+     {


More information about the svn-ports-head mailing list