pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/boehm-gc



Module Name:    pkgsrc
Committed By:   leot
Date:           Fri Jun  8 20:17:43 UTC 2018

Modified Files:
        pkgsrc/devel/boehm-gc: Makefile distinfo
Added Files:
        pkgsrc/devel/boehm-gc/patches: patch-include_private_gcconfig.h

Log Message:
boehm-gc: (re)add support for aarch64 on NetBSD

Readd patch written by <jmcneill> to support for aarch64.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 pkgsrc/devel/boehm-gc/Makefile
cvs rdiff -u -r1.60 -r1.61 pkgsrc/devel/boehm-gc/distinfo
cvs rdiff -u -r0 -r1.5 \
    pkgsrc/devel/boehm-gc/patches/patch-include_private_gcconfig.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/boehm-gc/Makefile
diff -u pkgsrc/devel/boehm-gc/Makefile:1.90 pkgsrc/devel/boehm-gc/Makefile:1.91
--- pkgsrc/devel/boehm-gc/Makefile:1.90 Thu May 31 07:26:29 2018
+++ pkgsrc/devel/boehm-gc/Makefile      Fri Jun  8 20:17:43 2018
@@ -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/
 

Index: pkgsrc/devel/boehm-gc/distinfo
diff -u pkgsrc/devel/boehm-gc/distinfo:1.60 pkgsrc/devel/boehm-gc/distinfo:1.61
--- pkgsrc/devel/boehm-gc/distinfo:1.60 Tue Apr 17 05:32:19 2018
+++ pkgsrc/devel/boehm-gc/distinfo      Fri Jun  8 20:17:43 2018
@@ -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

Added files:

Index: pkgsrc/devel/boehm-gc/patches/patch-include_private_gcconfig.h
diff -u /dev/null pkgsrc/devel/boehm-gc/patches/patch-include_private_gcconfig.h:1.5
--- /dev/null   Fri Jun  8 20:17:43 2018
+++ pkgsrc/devel/boehm-gc/patches/patch-include_private_gcconfig.h      Fri Jun  8 20:17:43 2018
@@ -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