pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/boehm-gc Add support for NetBSD aarch64. Bump pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ca90a4b4eb1
branches:  trunk
changeset: 380663:4ca90a4b4eb1
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Fri May 18 23:04:53 2018 +0000

description:
Add support for NetBSD aarch64. Bump pkgrevision.

diffstat:

 devel/boehm-gc/Makefile                                 |   3 +-
 devel/boehm-gc/patches/patch-include_private_gcconfig.h |  39 +++++++++++++++++
 2 files changed, 41 insertions(+), 1 deletions(-)

diffs (55 lines):

diff -r 4b11cc50259e -r 4ca90a4b4eb1 devel/boehm-gc/Makefile
--- a/devel/boehm-gc/Makefile   Fri May 18 21:20:56 2018 +0000
+++ b/devel/boehm-gc/Makefile   Fri May 18 23:04:53 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.88 2018/04/17 05:32:19 wiz Exp $
+# $NetBSD: Makefile,v 1.89 2018/05/18 23:04:53 jmcneill Exp $
 
 DISTNAME=      gc-7.6.4
+PKGREVISION=   1
 PKGNAME=       ${DISTNAME:S/gc/boehm-gc/}
 CATEGORIES=    devel
 MASTER_SITES=  http://www.hboehm.info/gc/gc_source/
diff -r 4b11cc50259e -r 4ca90a4b4eb1 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   Fri May 18 23:04:53 2018 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-include_private_gcconfig.h,v 1.3 2018/05/18 23:04:53 jmcneill Exp $
+
+--- include/private/gcconfig.h.orig    2018-01-26 13:16:17.000000000 +0000
++++ include/private/gcconfig.h
+@@ -114,7 +114,7 @@
+ # endif
+ # if defined(__aarch64__)
+ #    define AARCH64
+-#    if !defined(LINUX) && !defined(DARWIN) && !defined(FREEBSD)
++#    if !defined(LINUX) && !defined(DARWIN) && !defined(FREEBSD) && !defined(NETBSD)
+ #      define NOSYS
+ #      define mach_type_known
+ #    endif
+@@ -165,6 +165,10 @@
+ #    define ARM32
+ #    define mach_type_known
+ # endif
++# if defined(NETBSD) && defined(__aarch64__)
++#    define AARCH64
++#    define mach_type_known
++# endif
+ # if defined(NETBSD) && defined(__sh__)
+ #    define SH
+ #    define mach_type_known
+@@ -2143,6 +2147,14 @@
+ #   ifndef HBLKSIZE
+ #     define HBLKSIZE 4096
+ #   endif
++#   ifdef NETBSD
++#     define OS_TYPE "NETBSD"
++#     define HEURISTIC2
++      extern ptr_t GC_data_start;
++#     define DATASTART GC_data_start
++#     define ELF_CLASS ELFCLASS64
++#     define DYNAMIC_LOADING
++#   endif
+ #   ifdef LINUX
+ #     define OS_TYPE "LINUX"
+ #     define LINUX_STACKBOTTOM



Home | Main Index | Thread Index | Old Index