diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-08-25 02:02:01 +0800 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-08-25 02:02:01 +0800 |
commit | ec1d67e8031fb202d9c24a4ddb79f591d01d7ad3 (patch) | |
tree | 92be7a16448fc6a5482354d9f54de6a47d002920 /lang/mosh | |
parent | 0d20d7b68551884e4068a8c1146bc69cf2d59242 (diff) | |
download | freebsd-ports-gnome-ec1d67e8031fb202d9c24a4ddb79f591d01d7ad3.tar.gz freebsd-ports-gnome-ec1d67e8031fb202d9c24a4ddb79f591d01d7ad3.tar.zst freebsd-ports-gnome-ec1d67e8031fb202d9c24a4ddb79f591d01d7ad3.zip |
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)
Diffstat (limited to 'lang/mosh')
-rw-r--r-- | lang/mosh/files/patch-extlibs_gc-cvs_include_private_gc__priv.h | 11 | ||||
-rw-r--r-- | lang/mosh/files/patch-extlibs_gc-cvs_os__dep.c | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/lang/mosh/files/patch-extlibs_gc-cvs_include_private_gc__priv.h b/lang/mosh/files/patch-extlibs_gc-cvs_include_private_gc__priv.h new file mode 100644 index 000000000000..ffcf473e390b --- /dev/null +++ b/lang/mosh/files/patch-extlibs_gc-cvs_include_private_gc__priv.h @@ -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; */ diff --git a/lang/mosh/files/patch-extlibs_gc-cvs_os__dep.c b/lang/mosh/files/patch-extlibs_gc-cvs_os__dep.c new file mode 100644 index 000000000000..ee14a779a595 --- /dev/null +++ b/lang/mosh/files/patch-extlibs_gc-cvs_os__dep.c @@ -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) + { |