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: (re)add support for aarch64 o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/adb9134805a1
branches: trunk
changeset: 381503:adb9134805a1
user: leot <leot%pkgsrc.org@localhost>
date: Fri Jun 08 20:17:43 2018 +0000
description:
boehm-gc: (re)add support for aarch64 on NetBSD
Readd patch written by <jmcneill> to support for aarch64.
diffstat:
devel/boehm-gc/Makefile | 4 +-
devel/boehm-gc/distinfo | 3 +-
devel/boehm-gc/patches/patch-include_private_gcconfig.h | 42 +++++++++++++++++
3 files changed, 46 insertions(+), 3 deletions(-)
diffs (72 lines):
diff -r 71b1a62d1983 -r adb9134805a1 devel/boehm-gc/Makefile
--- a/devel/boehm-gc/Makefile Fri Jun 08 20:12:49 2018 +0000
+++ b/devel/boehm-gc/Makefile Fri Jun 08 20:17:43 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.90 2018/05/31 07:26:29 wiz Exp $
+# $NetBSD: Makefile,v 1.91 2018/06/08 20:17:43 leot Exp $
DISTNAME= gc-7.6.4
PKGNAME= ${DISTNAME:S/gc/boehm-gc/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.hboehm.info/gc/gc_source/
diff -r 71b1a62d1983 -r adb9134805a1 devel/boehm-gc/distinfo
--- a/devel/boehm-gc/distinfo Fri Jun 08 20:12:49 2018 +0000
+++ b/devel/boehm-gc/distinfo Fri Jun 08 20:17:43 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.60 2018/04/17 05:32:19 wiz Exp $
+$NetBSD: distinfo,v 1.61 2018/06/08 20:17:43 leot Exp $
SHA1 (gc-7.6.4.tar.gz) = 1a3f91a6ea004dcd1f5fc93defcdb2c2bc0c3941
RMD160 (gc-7.6.4.tar.gz) = 3aae763358c2781209d3b5a68ead899942322304
SHA512 (gc-7.6.4.tar.gz) = 2c85be3e24b85732b3dc6f08fe98cf1a82b6fb2a22ec73090f80920721c737ef92cee8f0cd7ea7228d686005d164e7da54ce3907c3a1ba5eefa43355a472085e
Size (gc-7.6.4.tar.gz) = 1120784 bytes
+SHA1 (patch-include_private_gcconfig.h) = f4134b7ff99c0cbf71ec0a5a4cd80001ce0f2c7a
diff -r 71b1a62d1983 -r adb9134805a1 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 Jun 08 20:17:43 2018 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-include_private_gcconfig.h,v 1.5 2018/06/08 20:17:43 leot Exp $
+
+Add support for NetBSD aarch64.
+
+--- include/private/gcconfig.h.orig 2018-01-26 13:16:17.000000000 +0000
++++ include/private/gcconfig.h
+@@ -114,7 +114,8 @@
+ # 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 +166,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 +2148,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