diff options
author | maya <maya@pkgsrc.org> | 2016-09-21 17:59:10 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2016-09-21 17:59:10 +0000 |
commit | 5c99ed8156e25d3ac654e36d0dbfa5566efac558 (patch) | |
tree | be32a899b5d071eacdf5f47446b474f13902c7dd /devel/boehm-gc | |
parent | 251bfb8f5d565da528996550f1e2e2580de27d4d (diff) | |
download | pkgsrc-5c99ed8156e25d3ac654e36d0dbfa5566efac558.tar.gz |
boehm-gc: apply upstream build fix for FreeBSD/DragonflyBSD.
Requested by David Shao in PR pkg/51414
from upstream commit:
https://github.com/ivmai/bdwgc/commit/6f4e123e34c2e20343a84b6fadd17bde0e7b354c
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r-- | devel/boehm-gc/distinfo | 4 | ||||
-rw-r--r-- | devel/boehm-gc/patches/patch-include_private_gc__priv.h | 16 | ||||
-rw-r--r-- | devel/boehm-gc/patches/patch-include_private_gcconfig.h | 19 |
3 files changed, 38 insertions, 1 deletions
diff --git a/devel/boehm-gc/distinfo b/devel/boehm-gc/distinfo index 40b59526289..aff8a1e56e9 100644 --- a/devel/boehm-gc/distinfo +++ b/devel/boehm-gc/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.55 2016/08/09 12:50:39 mef Exp $ +$NetBSD: distinfo,v 1.56 2016/09/21 17:59:10 maya Exp $ SHA1 (gc-7.6.0.tar.gz) = bae6b3754ff8d3845b5171346bf924e13be6c693 RMD160 (gc-7.6.0.tar.gz) = f69b900fed7ae844d355cfccad90cd25214da98e SHA512 (gc-7.6.0.tar.gz) = 511e8c01287b1ee9dbec87f0573377de77038b7af053a3f33afed9b3ffa30e2402d6a9bb0ca4f4b81cd808209b47b5718d498cff3de6632a057fe03fad51fc43 Size (gc-7.6.0.tar.gz) = 1111751 bytes +SHA1 (patch-include_private_gc__priv.h) = d9fc570f2ef9d57afe92e63db1f9c5f48b1c0514 +SHA1 (patch-include_private_gcconfig.h) = 23621c34483899df0b3d3dd9f982a1d601c716a0 diff --git a/devel/boehm-gc/patches/patch-include_private_gc__priv.h b/devel/boehm-gc/patches/patch-include_private_gc__priv.h new file mode 100644 index 00000000000..603d4349b73 --- /dev/null +++ b/devel/boehm-gc/patches/patch-include_private_gc__priv.h @@ -0,0 +1,16 @@ +$NetBSD: patch-include_private_gc__priv.h,v 1.1 2016/09/21 17:59:11 maya Exp $ + +Fix 'unknown type name GC_INNER' compilation error (FreeBSD) +from https://github.com/ivmai/bdwgc/commit/6f4e123e34c2e20343a84b6fadd17bde0e7b354c + +--- include/private/gc_priv.h.orig 2016-08-02 19:36:14.000000000 +0000 ++++ include/private/gc_priv.h +@@ -2500,6 +2500,8 @@ GC_INNER ptr_t GC_store_debug_info(ptr_t + # if !defined(PCR) + # define NEED_FIND_LIMIT + # endif ++ GC_INNER ptr_t GC_FreeBSDGetDataStart(size_t, ptr_t); ++# define DATASTART_IS_FUNC + #endif /* DATASTART_USES_BSDGETDATASTART */ + + #if (defined(NETBSD) || defined(OPENBSD)) && defined(__ELF__) \ diff --git a/devel/boehm-gc/patches/patch-include_private_gcconfig.h b/devel/boehm-gc/patches/patch-include_private_gcconfig.h new file mode 100644 index 00000000000..25248fcf1ab --- /dev/null +++ b/devel/boehm-gc/patches/patch-include_private_gcconfig.h @@ -0,0 +1,19 @@ +$NetBSD: patch-include_private_gcconfig.h,v 1.1 2016/09/21 17:59:11 maya Exp $ + +Fix 'unknown type name GC_INNER' compilation error (FreeBSD) +from https://github.com/ivmai/bdwgc/commit/6f4e123e34c2e20343a84b6fadd17bde0e7b354c + +--- include/private/gcconfig.h.orig 2016-08-02 19:36:14.000000000 +0000 ++++ include/private/gcconfig.h +@@ -2745,11 +2745,6 @@ + # define SUNOS5SIGS + #endif + +-#ifdef DATASTART_USES_BSDGETDATASTART +- GC_INNER ptr_t GC_FreeBSDGetDataStart(size_t, ptr_t); +-# define DATASTART_IS_FUNC +-#endif +- + #if !defined(GC_EXPLICIT_SIGNALS_UNBLOCK) && defined(SUNOS5SIGS) \ + && !defined(GC_NO_PTHREAD_SIGMASK) + # define GC_EXPLICIT_SIGNALS_UNBLOCK |