pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/boehm-gc boehm-gc: apply upstream build fix for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8610bdb94fae
branches:  trunk
changeset: 353012:8610bdb94fae
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Sep 21 17:59:10 2016 +0000

description:
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:

 devel/boehm-gc/distinfo                                 |   4 ++-
 devel/boehm-gc/patches/patch-include_private_gc__priv.h |  16 ++++++++++++++
 devel/boehm-gc/patches/patch-include_private_gcconfig.h |  19 +++++++++++++++++
 3 files changed, 38 insertions(+), 1 deletions(-)

diffs (56 lines):

diff -r 5e29004cca9e -r 8610bdb94fae devel/boehm-gc/distinfo
--- a/devel/boehm-gc/distinfo   Wed Sep 21 17:11:31 2016 +0000
+++ b/devel/boehm-gc/distinfo   Wed Sep 21 17:59:10 2016 +0000
@@ -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 -r 5e29004cca9e -r 8610bdb94fae devel/boehm-gc/patches/patch-include_private_gc__priv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boehm-gc/patches/patch-include_private_gc__priv.h   Wed Sep 21 17:59:10 2016 +0000
@@ -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 -r 5e29004cca9e -r 8610bdb94fae devel/boehm-gc/patches/patch-include_private_gcconfig.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boehm-gc/patches/patch-include_private_gcconfig.h   Wed Sep 21 17:59:10 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index