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:   jmcneill
Date:           Fri May 18 23:04:53 UTC 2018

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

Log Message:
Add support for NetBSD aarch64. Bump pkgrevision.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 pkgsrc/devel/boehm-gc/Makefile
cvs rdiff -u -r0 -r1.3 \
    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.88 pkgsrc/devel/boehm-gc/Makefile:1.89
--- pkgsrc/devel/boehm-gc/Makefile:1.88 Tue Apr 17 05:32:19 2018
+++ pkgsrc/devel/boehm-gc/Makefile      Fri May 18 23:04:53 2018
@@ -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/

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.3
--- /dev/null   Fri May 18 23:04:53 2018
+++ pkgsrc/devel/boehm-gc/patches/patch-include_private_gcconfig.h      Fri May 18 23:04:53 2018
@@ -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