Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.414 2015/06/15 09:47:34 marino Exp $
# $NetBSD: Makefile,v 1.417 2015/08/06 10:14:42 jnemeth Exp $
#
COMMENT= Programming languages
@@ -68,13 +68,17 @@ SUBDIR+= gcc48
SUBDIR+= gcc48-libs
SUBDIR+= gcc49
SUBDIR+= gcc49-libs
SUBDIR+= gcc5
SUBDIR+= gcc5-aux
SUBDIR+= gcc5-libs
SUBDIR+= gforth
SUBDIR+= ghc
SUBDIR+= ghc-bootstrap
SUBDIR+= ghc7
SUBDIR+= gnat_util
SUBDIR+= gnucobol
SUBDIR+= go
SUBDIR+= go14
SUBDIR+= gpc
SUBDIR+= gprolog
SUBDIR+= guile

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.8 2015/04/30 06:49:58 markd Exp $
# $NetBSD: Makefile,v 1.10 2015/08/07 11:20:34 jaapb Exp $
#
DISTNAME= boomerang-0.2-source
PKGNAME= ${DISTNAME:S/-source//}
PKGREVISION= 5
PKGREVISION= 7
CATEGORIES= lang
MASTER_SITES= http://www.seas.upenn.edu/~harmony/download/

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2015/05/20 07:28:05 wen Exp $
# $NetBSD: Makefile,v 1.18 2015/09/05 23:56:56 wiedi Exp $
DISTNAME= bwbasic-3.00
CATEGORIES= lang
@@ -12,6 +12,7 @@ LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}
GNU_CONFIGURE= yes
USE_LANGUAGES= c99
SHARE_DIR= ${PREFIX}/share/bwbasic

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.8 2015/01/20 15:40:14 jaapb Exp $
# $NetBSD: Makefile,v 1.10 2015/07/29 10:30:51 wiz Exp $
DISTNAME= 4.02.0+1
PKGNAME= camlp4-${DISTNAME}
DISTNAME= 4.02+6
PKGNAME= camlp4-${DISTNAME:S/+/./}
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://github.com/ocaml/camlp4/archive/
@@ -13,7 +13,7 @@ COMMENT= Preprocessor and pretty printer for OCaml
LICENSE= gnu-lgpl-v2
HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/camlp4-4.02.0-1
WRKSRC= ${WRKDIR}/camlp4-4.02-6
MAKE_JOBS_SAFE= no
.include "../../mk/ocaml.mk"

View File

@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2014/10/09 20:39:27 jaapb Exp $
$NetBSD: distinfo,v 1.6 2015/06/30 11:53:00 jaapb Exp $
SHA1 (ocaml-camlp4/4.02.0+1.tar.gz) = 10d500d1262492ccd821c8c46c1b169784b25a53
RMD160 (ocaml-camlp4/4.02.0+1.tar.gz) = 5f7a2c34ac7e147c1b44cb24791c2ac8464bcb74
Size (ocaml-camlp4/4.02.0+1.tar.gz) = 645250 bytes
SHA1 (ocaml-camlp4/4.02+6.tar.gz) = 6dd7e591dfde94c44576dba9b847279ffb92c889
RMD160 (ocaml-camlp4/4.02+6.tar.gz) = d4733ddb4856c3e74a0cfbaa0468553c014393e1
Size (ocaml-camlp4/4.02+6.tar.gz) = 647140 bytes

View File

@@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.21 2015/01/20 14:24:36 jaapb Exp $
# $NetBSD: Makefile,v 1.23 2015/08/07 11:19:13 jaapb Exp $
#
DISTNAME= camlp5-6.12
DISTNAME= camlp5-6.14
PKGNAME= ${DISTNAME} # to avoid being called ocaml-camlp5
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://camlp5.gforge.inria.fr/distrib/src/
EXTRACT_SUFX= .tgz

View File

@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.10 2015/01/20 14:24:36 jaapb Exp $
# $NetBSD: buildlink3.mk,v 1.12 2015/08/07 11:19:13 jaapb Exp $
#
BUILDLINK_TREE+= camlp5
@@ -7,7 +7,7 @@ BUILDLINK_TREE+= camlp5
CAMLP5_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.camlp5+= camlp5>=5.01
BUILDLINK_ABI_DEPENDS.camlp5+= camlp5>=6.12nb1
BUILDLINK_ABI_DEPENDS.camlp5+= camlp5>=6.14
BUILDLINK_PKGSRCDIR.camlp5?= ../../lang/camlp5
.include "../../lang/ocaml/buildlink3.mk"

View File

@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.10 2014/10/09 21:42:03 jaapb Exp $
$NetBSD: distinfo,v 1.12 2015/08/07 11:19:13 jaapb Exp $
SHA1 (camlp5-6.12.tgz) = d78d89dbd33725d7589181c38cc67180502da2f8
RMD160 (camlp5-6.12.tgz) = 8f231bc2e7b9ed6e9557a9cfce1b57a76a314d39
Size (camlp5-6.12.tgz) = 716173 bytes
SHA1 (camlp5-6.14.tgz) = 2cde94fc53195f9acb39592a9a74d4f36114df38
RMD160 (camlp5-6.14.tgz) = 0757a5929c64593e9f9f5507ff23a3d54ea359e9
Size (camlp5-6.14.tgz) = 748674 bytes

View File

@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.52 2015/01/04 09:41:11 dholland Exp $
# $NetBSD: Makefile,v 1.54 2015/08/15 17:51:43 leot Exp $
DISTNAME= chicken-4.9.0.1
DISTNAME= chicken-4.10.0
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://code.call-cc.org/releases/$(PKGVERSION_NOREV)/ \
http://code.call-cc.org/releases/$(PKGVERSION_NOREV:R)/
@@ -17,7 +18,7 @@ USE_TOOLS+= gmake
UNLIMIT_RESOURCES= datasize
INSTALLATION_DIRS= share/chicken
OWN_DIRS= ${PREFIX}/lib/chicken ${PREFIX}/lib/chicken/6
OWN_DIRS= ${PREFIX}/lib/chicken ${PREFIX}/lib/chicken/7
BUILD_TARGET= all
@@ -46,7 +47,7 @@ MAKE_ENV+= HOST= # fix ${HOST} prepending ${CC}
# Need to have these in MAKE_FLAGS, MAKE_ENV is not enough due to the
# way the build system overrides them.
MAKE_FLAGS+= PLATFORM=${PLATFORM:Q} PREFIX=${PREFIX:Q} DESTDIR=${DESTDIR:Q}
MAKE_FLAGS+= TOPMANDIR=${PREFIX:Q}/${PKGMANDIR}
MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR}
MAKE_FLAGS+= INFODIR=${PREFIX:Q}/${PKGINFODIR:Q}
MAKE_FLAGS+= DOCDIR=${PREFIX:Q}/share/doc/${PKGNAME_NOREV}

View File

@@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.38 2014/06/12 07:22:12 asau Exp $
$NetBSD: distinfo,v 1.40 2015/08/05 20:42:22 asau Exp $
SHA1 (chicken-4.9.0.1.tar.gz) = d6ec6eb51c6d69e006cc72939b34855013b8535a
RMD160 (chicken-4.9.0.1.tar.gz) = d8366e41e4ba766078466cb2b359b96962300f85
Size (chicken-4.9.0.1.tar.gz) = 4023371 bytes
SHA1 (patch-scripts_csc-trans) = bbe29abf6ef1efb909fa599d18c2dc203d252cd2
SHA1 (chicken-4.10.0.tar.gz) = bbb532abc6f7df306b4868218036c5188738d772
RMD160 (chicken-4.10.0.tar.gz) = 28c7ba6dd4db173ca9cf177b214a3ded0a35b6d0
Size (chicken-4.10.0.tar.gz) = 4020442 bytes

View File

@@ -1,22 +0,0 @@
$NetBSD: patch-scripts_csc-trans,v 1.1 2014/06/12 07:22:12 asau Exp $
--- scripts/csc-trans.orig 2014-05-18 17:01:17.000000000 +0000
+++ scripts/csc-trans
@@ -35,7 +35,7 @@ shift $(($OPTIND - 1))
# First argument after options is the file
FILE=$1
-if [ "x$FILE" == "x" ]; then
+if [ -z "$FILE" ]; then
FILE="/dev/stdin"
fi
@@ -55,7 +55,7 @@ if [ -n "$NOENSCRIPT" ]; then
fi
# Are we filtering out just the user code?
-if [ "x$ALL" == "x1" ]; then
+if [ -z "$ALL" ]; then
$CSC $CSC_OPTS $FILE | $PASS2 2>/dev/null | $PASS3 2>/dev/null
else
$CSC $CSC_OPTS $FILE |\

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.29 2014/09/24 23:24:39 jperkin Exp $
# $NetBSD: Makefile,v 1.30 2015/08/30 08:41:44 dholland Exp $
DISTNAME= cint5.15
PKGNAME= cint-5.15.174
@@ -36,7 +36,9 @@ post-extract:
do-build:
cd ${WRKDIR}; \
case ${OPSYS} in \
NetBSD) \
FreeBSD|DragonFly) \
${SH} ./setup platform/freebsd_C ;; \
NetBSD|OpenBSD|Bitrig) \
${SH} ./setup platform/netbsd ;; \
SunOS) \
${SH} ./setup platform/solaris_gcc ;; \

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile.common,v 1.6 2015/05/28 13:25:59 adam Exp $
# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
#
# used by lang/clang/Makefile
# used by lang/libLLVM/Makefile
DISTNAME= clang-3.6.1
DISTNAME= clang-3.6.2
CATEGORIES= lang
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
DISTFILES= llvm-${PKGVERSION_NOREV}.src.tar.xz \

View File

@@ -1,22 +1,20 @@
$NetBSD: distinfo,v 1.33 2015/05/28 13:25:59 adam Exp $
$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
SHA1 (cfe-3.6.1.src.tar.xz) = b7221d8fdd27e3ed519d0281646e82e17b51122c
RMD160 (cfe-3.6.1.src.tar.xz) = 2199271489c7a1c63aa41e80ff78089aeebdcd3e
Size (cfe-3.6.1.src.tar.xz) = 8616132 bytes
SHA1 (compiler-rt-3.6.1.src.tar.xz) = 85dccdc6ccd9675e871dfd2786b45fbf53518485
RMD160 (compiler-rt-3.6.1.src.tar.xz) = 171af614b4656c121a6b8e58ce3e137b0495cd64
Size (compiler-rt-3.6.1.src.tar.xz) = 1128460 bytes
SHA1 (libcxx-3.6.1.src.tar.xz) = 7bf3a63082173eb6c42af330544d800e86b54590
RMD160 (libcxx-3.6.1.src.tar.xz) = 3da38b89322c0ea4abf42df3823831d8033b764a
Size (libcxx-3.6.1.src.tar.xz) = 943756 bytes
SHA1 (llvm-3.6.1.src.tar.xz) = 01ecab99adc9030ee34e9a2e19e65dfe64e1affe
RMD160 (llvm-3.6.1.src.tar.xz) = 9a66dc3f06078ffede1a190dcca95e071e63feb4
Size (llvm-3.6.1.src.tar.xz) = 12798852 bytes
SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
SHA1 (patch-ab) = 8dd0da6d47a57ac25eea358996cf874dd3289e08
SHA1 (patch-ac) = 0f0cc98d443ec957fc5374fb491809d27e4f9d4e
SHA1 (patch-ad) = ad1f6720e4c73e57fce10ba968b03637a133602d
SHA1 (patch-include_llvm_Support_Host.h) = 545f9542cd2aaa6cea58d3653902b4e1a9e7189a
SHA1 (patch-tools_clang_tools_scan-build_scan-build) = a671f1e513fb43ddc0e73751a78235ab39aeaf9d
SHA1 (patch-tools_lli_Makefile) = 9801878144833b9c871677110183539cd0a08e9a
SHA1 (patch-tools_llvm-shlib_Makefile) = 5cd529e824a935abfe91c4b820cfd9c318e03102
SHA1 (patch-unittests_ExecutionEngine_MCJIT_Makefile) = 8243131319b77f025568592acf9436cf6fe5219c

View File

@@ -1,14 +0,0 @@
$NetBSD: patch-tools_lli_Makefile,v 1.1 2015/03/03 16:27:33 tnn Exp $
Fix build with shlib option.
--- tools/lli/Makefile.orig 2014-09-02 22:28:02.000000000 +0000
+++ tools/lli/Makefile
@@ -15,6 +15,7 @@ PARALLEL_DIRS := ChildTarget
include $(LEVEL)/Makefile.config
LINK_COMPONENTS := mcjit instrumentation interpreter nativecodegen bitreader asmparser irreader selectiondag native
+USEDLIBS += LLVMMCJIT.a
# If Intel JIT Events support is confiured, link against the LLVM Intel JIT
# Events interface library

View File

@@ -1,14 +0,0 @@
$NetBSD: patch-unittests_ExecutionEngine_MCJIT_Makefile,v 1.1 2015/03/03 16:27:33 tnn Exp $
Fix build with shlib option.
--- unittests/ExecutionEngine/MCJIT/Makefile.orig 2014-09-02 22:28:02.000000000 +0000
+++ unittests/ExecutionEngine/MCJIT/Makefile
@@ -10,6 +10,7 @@
LEVEL = ../../..
TESTNAME = MCJIT
LINK_COMPONENTS := core ipo mcjit native support
+USEDLIBS += LLVMMCJIT.a
include $(LEVEL)/Makefile.config
include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest

View File

@@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.80 2015/04/25 13:41:18 jaapb Exp $
# $NetBSD: Makefile,v 1.83 2015/09/07 12:02:05 jperkin Exp $
#
DISTNAME= coq-8.4pl6
PKGNAME= ${DISTNAME} # to avoid prefixing with ocaml-
PKGREVISION= 2
CATEGORIES= lang math
MASTER_SITES= http://coq.inria.fr/distrib/V${PKGVERSION_NOREV}/files/
@@ -42,14 +43,6 @@ PLIST.natdynlink= yes
. endif
.endif
.if ${OPSYS} == "Darwin"
INSTALL_UNSTRIPPED= yes
# See PR# 28772 as the above should work but it appears to be ignored
# so we set it explicitly below not to stip installed binaries.
_STRIPFLAG_CC=
_STRIPFLAG_INSTALL=
.endif
REPLACE_SH= configure install.sh
INSTALL_ENV+= COQINSTALLPREFIX=${DESTDIR}

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 2014/04/30 14:19:40 wiz Exp $
# $NetBSD: Makefile,v 1.20 2015/08/30 10:12:29 kamil Exp $
DISTNAME= ecl-13.5.1
PKGREVISION= 2
@@ -7,7 +7,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ecls/}
EXTRACT_SUFX= .tgz
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://ecls.sourceforge.net/
HOMEPAGE= https://common-lisp.net/project/ecl/
COMMENT= Embeddable Common Lisp
LICENSE= gnu-lgpl-v2

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.17 2015/04/28 14:34:20 fhajny Exp $
@comment $NetBSD: PLIST,v 1.18 2015/07/18 08:55:16 fhajny Exp $
lib/erlang/doc/applications.html
lib/erlang/doc/design_principles/applications.html
lib/erlang/doc/design_principles/appup_cookbook.html
@@ -168,6 +168,7 @@ lib/erlang/erts-${VERSION.erts}/doc/html/release_notes.html
lib/erlang/erts-${VERSION.erts}/doc/html/run_erl.html
lib/erlang/erts-${VERSION.erts}/doc/html/start.html
lib/erlang/erts-${VERSION.erts}/doc/html/start_erl.html
lib/erlang/erts-${VERSION.erts}/doc/html/time_compat.erl
lib/erlang/erts-${VERSION.erts}/doc/html/time_correction.html
lib/erlang/erts-${VERSION.erts}/doc/html/tty.html
lib/erlang/erts-${VERSION.erts}/doc/html/users_guide.html
@@ -176,8 +177,10 @@ lib/erlang/erts-${VERSION.erts}/doc/html/zlib.html
lib/erlang/erts-${VERSION.erts}/doc/pdf/erts-${VERSION.erts}.pdf
lib/erlang/erts-${VERSION.erts}/info
lib/erlang/lib/asn1-${VERSION.asn1}/doc/html/asn1.eix
lib/erlang/lib/asn1-${VERSION.asn1}/doc/html/asn1_getting_started.html
lib/erlang/lib/asn1-${VERSION.asn1}/doc/html/asn1_introduction.html
lib/erlang/lib/asn1-${VERSION.asn1}/doc/html/asn1_overview.html
lib/erlang/lib/asn1-${VERSION.asn1}/doc/html/asn1_spec.html
lib/erlang/lib/asn1-${VERSION.asn1}/doc/html/asn1_ug.html
lib/erlang/lib/asn1-${VERSION.asn1}/doc/html/asn1ct.html
lib/erlang/lib/asn1-${VERSION.asn1}/doc/html/asn1rt.html
lib/erlang/lib/asn1-${VERSION.asn1}/doc/html/exclusive_Win_But.gif
@@ -690,6 +693,7 @@ lib/erlang/lib/inets-${VERSION.inets}/doc/html/http_uri.html
lib/erlang/lib/inets-${VERSION.inets}/doc/html/httpc.html
lib/erlang/lib/inets-${VERSION.inets}/doc/html/httpd.html
lib/erlang/lib/inets-${VERSION.inets}/doc/html/httpd_conf.html
lib/erlang/lib/inets-${VERSION.inets}/doc/html/httpd_custom_api.html
lib/erlang/lib/inets-${VERSION.inets}/doc/html/httpd_socket.html
lib/erlang/lib/inets-${VERSION.inets}/doc/html/httpd_util.html
lib/erlang/lib/inets-${VERSION.inets}/doc/html/index.html
@@ -759,6 +763,12 @@ lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/e
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/OtpPeer.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/OtpSelf.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/OtpServer.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/OtpServerSocketTransport.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/OtpServerTransport.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/OtpSocketTransport.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/OtpSocketTransportFactory.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/OtpTransport.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/OtpTransportFactory.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/package-frame.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/package-summary.html
lib/erlang/lib/jinterface-${VERSION.jinterface}/doc/html/java/com/ericsson/otp/erlang/package-tree.html
@@ -870,7 +880,6 @@ lib/erlang/lib/megaco-${VERSION.megaco}/info
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_App_A.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_App_B.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_App_C.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_App_D.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_chap1.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_chap2.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_chap3.html
@@ -878,6 +887,7 @@ lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_chap4.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_chap5.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_chap7.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_chap8.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/Mnesia_overview.html
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/book.gif
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/company.gif
lib/erlang/lib/mnesia-${VERSION.mnesia}/doc/html/index.html
@@ -1062,7 +1072,6 @@ lib/erlang/lib/percept-${VERSION.percept}/doc/html/test4.gif
lib/erlang/lib/percept-${VERSION.percept}/doc/html/users_guide.html
lib/erlang/lib/percept-${VERSION.percept}/doc/pdf/percept-${VERSION.percept}.pdf
lib/erlang/lib/percept-${VERSION.percept}/info
lib/erlang/lib/public_key-${VERSION.public_key}/doc/html/cert_records.html
lib/erlang/lib/public_key-${VERSION.public_key}/doc/html/index.html
lib/erlang/lib/public_key-${VERSION.public_key}/doc/html/introduction.html
lib/erlang/lib/public_key-${VERSION.public_key}/doc/html/note.gif
@@ -1210,7 +1219,6 @@ lib/erlang/lib/ssh-${VERSION.ssh}/doc/html/ssh.html
lib/erlang/lib/ssh-${VERSION.ssh}/doc/html/ssh_channel.html
lib/erlang/lib/ssh-${VERSION.ssh}/doc/html/ssh_client_key_api.html
lib/erlang/lib/ssh-${VERSION.ssh}/doc/html/ssh_connection.html
lib/erlang/lib/ssh-${VERSION.ssh}/doc/html/ssh_protocol.html
lib/erlang/lib/ssh-${VERSION.ssh}/doc/html/ssh_server_key_api.html
lib/erlang/lib/ssh-${VERSION.ssh}/doc/html/ssh_sftp.html
lib/erlang/lib/ssh-${VERSION.ssh}/doc/html/ssh_sftpd.html
@@ -1224,7 +1232,10 @@ lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/release_notes.html
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/ssl.eix
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/ssl.html
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/ssl_app.html
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/ssl_crl_cache.html
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/ssl_crl_cache_api.html
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/ssl_distribution.html
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/ssl_introduction.html
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/ssl_protocol.html
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/ssl_session_cache_api.html
lib/erlang/lib/ssl-${VERSION.ssl}/doc/html/users_guide.html
@@ -1234,6 +1245,7 @@ lib/erlang/lib/ssl-${VERSION.ssl}/doc/pdf/ssl-${VERSION.ssl}.pdf
lib/erlang/lib/ssl-${VERSION.ssl}/info
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/STDLIB_app.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/array.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/assert.hrl.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/base64.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/beam_lib.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/binary.html
@@ -1244,6 +1256,7 @@ lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/dict.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/digraph.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/digraph_utils.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/epp.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/erl_anno.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/erl_eval.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/erl_expand_records.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/erl_id_trans.html
@@ -1275,12 +1288,12 @@ lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/ms_transform.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/notes.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/orddict.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/ordsets.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/pg.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/pool.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/proc_lib.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/proplists.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/qlc.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/queue.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/rand.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/random.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/re.html
lib/erlang/lib/stdlib-${VERSION.stdlib}/doc/html/release_notes.html
@@ -1312,6 +1325,8 @@ lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/doc/html/erl_syntax_lib.html
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/doc/html/erl_tidy.html
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/doc/html/igor.html
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/doc/html/index.html
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/doc/html/merl.html
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/doc/html/merl_transform.html
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/doc/html/notes.html
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/doc/html/prettypr.html
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/doc/html/release_notes.html

View File

@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.14 2015/04/28 14:34:20 fhajny Exp $
$NetBSD: distinfo,v 1.15 2015/07/18 08:55:16 fhajny Exp $
SHA1 (erlang/otp_doc_html_17.5.tar.gz) = 2bf5c2c7dcc90cc6e54039b62d4611362cdbf249
RMD160 (erlang/otp_doc_html_17.5.tar.gz) = 6ddf8086cbc36137d2c96453e9dc2370fee10c74
Size (erlang/otp_doc_html_17.5.tar.gz) = 33510258 bytes
SHA1 (erlang/otp_doc_html_18.0.tar.gz) = 634f9b88d541f23590efe7fe9c4b3d0090160061
RMD160 (erlang/otp_doc_html_18.0.tar.gz) = 93a8defd7eb6a514fb0834ea77d4847b4b9a4495
Size (erlang/otp_doc_html_18.0.tar.gz) = 33857396 bytes

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.15 2015/04/28 14:34:20 fhajny Exp $
@comment $NetBSD: PLIST,v 1.16 2015/07/18 08:55:16 fhajny Exp $
lib/erlang/man/man1/cdv.1
lib/erlang/man/man1/ct_run.1
lib/erlang/man/man1/diameterc.1
@@ -151,6 +151,7 @@ lib/erlang/man/man3/eldap.3
lib/erlang/man/man3/epp.3
lib/erlang/man/man3/epp_dodger.3
lib/erlang/man/man3/eprof.3
lib/erlang/man/man3/erl_anno.3
lib/erlang/man/man3/erl_boot_server.3
lib/erlang/man/man3/erl_comment_scan.3
lib/erlang/man/man3/erl_connect.3
@@ -219,6 +220,7 @@ lib/erlang/man/man3/http_uri.3
lib/erlang/man/man3/httpc.3
lib/erlang/man/man3/httpd.3
lib/erlang/man/man3/httpd_conf.3
lib/erlang/man/man3/httpd_custom_api.3
lib/erlang/man/man3/httpd_socket.3
lib/erlang/man/man3/httpd_util.3
lib/erlang/man/man3/i.3
@@ -259,6 +261,8 @@ lib/erlang/man/man3/megaco_transport.3
lib/erlang/man/man3/megaco_udp.3
lib/erlang/man/man3/megaco_user.3
lib/erlang/man/man3/memsup.3
lib/erlang/man/man3/merl.3
lib/erlang/man/man3/merl_transform.3
lib/erlang/man/man3/mnesia.3
lib/erlang/man/man3/mnesia_frag_hash.3
lib/erlang/man/man3/mnesia_registry.3
@@ -288,7 +292,6 @@ lib/erlang/man/man3/otp_mib.3
lib/erlang/man/man3/overload.3
lib/erlang/man/man3/percept.3
lib/erlang/man/man3/percept_profile.3
lib/erlang/man/man3/pg.3
lib/erlang/man/man3/pg2.3
lib/erlang/man/man3/pool.3
lib/erlang/man/man3/prettypr.3
@@ -297,6 +300,7 @@ lib/erlang/man/man3/proplists.3
lib/erlang/man/man3/public_key.3
lib/erlang/man/man3/qlc.3
lib/erlang/man/man3/queue.3
lib/erlang/man/man3/rand.3
lib/erlang/man/man3/random.3
lib/erlang/man/man3/rb.3
lib/erlang/man/man3/re.3
@@ -352,6 +356,8 @@ lib/erlang/man/man3/ssh_server_key_api.3
lib/erlang/man/man3/ssh_sftp.3
lib/erlang/man/man3/ssh_sftpd.3
lib/erlang/man/man3/ssl.3
lib/erlang/man/man3/ssl_crl_cache.3
lib/erlang/man/man3/ssl_crl_cache_api.3
lib/erlang/man/man3/ssl_session_cache_api.3
lib/erlang/man/man3/string.3
lib/erlang/man/man3/supervisor.3

View File

@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.14 2015/04/28 14:34:20 fhajny Exp $
$NetBSD: distinfo,v 1.15 2015/07/18 08:55:16 fhajny Exp $
SHA1 (erlang/otp_doc_man_17.5.tar.gz) = 222b2f7b6defe178521620b3a7975f667a549a7f
RMD160 (erlang/otp_doc_man_17.5.tar.gz) = b3166f1a27622e4c290a0d929b9d935e0947e962
Size (erlang/otp_doc_man_17.5.tar.gz) = 1363320 bytes
SHA1 (erlang/otp_doc_man_18.0.tar.gz) = 9a1a32658c7bc45b8af9fca6fa272d147af011d7
RMD160 (erlang/otp_doc_man_18.0.tar.gz) = c0f660607ead340b69cb782408acdb8a26bc6ead
Size (erlang/otp_doc_man_18.0.tar.gz) = 1389178 bytes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.67 2015/06/12 10:50:15 wiz Exp $
# $NetBSD: Makefile,v 1.71 2015/09/07 12:02:05 jperkin Exp $
DISTNAME= otp_src_${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}
PKGNAME= ${DISTNAME:S/otp_src_/erlang-/}
@@ -9,7 +9,7 @@ MASTER_SITES= http://www.erlang.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.erlang.org/
COMMENT= Concurrent functional programming language
LICENSE= erlang-public-license
LICENSE= apache-2.0
DIST_SUBDIR= erlang
@@ -45,7 +45,7 @@ MAKE_ENV+= DESTDIR=${DESTDIR}
REPLACE_INTERPRETER+= escript
REPLACE.escript.old= .*escript
REPLACE.escript.new= ${LOCALBASE}/bin/escript
REPLACE.escript.new= ${PREFIX}/bin/escript
REPLACE_FILES.escript= \
lib/diameter/bin/diameterc \
lib/erl_docgen/priv/bin/codeline_preprocessing.escript \
@@ -73,7 +73,7 @@ CONFIGURE_ARGS+= --disable-sctp
###
### XXX There may be others here.
###
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --enable-kernel-poll
.endif

View File

@@ -1,61 +1,61 @@
# $NetBSD: Makefile.versions,v 1.18 2015/04/28 14:34:20 fhajny Exp $
# $NetBSD: Makefile.versions,v 1.19 2015/07/18 08:55:16 fhajny Exp $
DIST_VERSION_MAJOR= 17
DIST_VERSION_MINOR= 5
DIST_VERSION_MAJOR= 18
DIST_VERSION_MINOR= 0
_VERSIONS= \
asn1 3.0.4 \
common_test 1.10 \
compiler 5.0.4 \
cosEvent 2.1.15 \
cosEventDomain 1.1.14 \
cosFileTransfer 1.1.16 \
cosNotification 1.1.21 \
cosProperty 1.1.17 \
cosTime 1.1.14 \
cosTransactions 1.2.14 \
crypto 3.5 \
debugger 4.0.3 \
dialyzer 2.7.4 \
diameter 1.9 \
edoc 0.7.16 \
eldap 1.1.1 \
erl_docgen 0.3.7 \
erl_interface 3.7.20 \
erts 6.4 \
et 1.5 \
eunit 2.2.9 \
gs 1.5.16 \
hipe 3.11.3 \
ic 4.3.6 \
inets 5.10.6 \
jinterface 1.5.12 \
kernel 3.2 \
megaco 3.17.3 \
mnesia 4.12.5 \
observer 2.0.4 \
odbc 2.10.22 \
orber 3.7.1 \
os_mon 2.3.1 \
ose 1.0.2 \
otp_mibs 1.0.10 \
parsetools 2.0.12 \
percept 0.8.10 \
public_key 0.23 \
reltool 0.6.6 \
runtime_tools 1.8.16 \
sasl 2.4.1 \
snmp 5.1.1 \
ssh 3.2 \
ssl 6.0 \
stdlib 2.4 \
syntax_tools 1.6.18 \
test_server 3.8 \
tools 2.7.2 \
typer 0.9.8 \
webtool 0.8.10 \
wx 1.3.3 \
xmerl 1.3.7
asn1 4.0 \
common_test 1.11 \
compiler 6.0 \
cosEvent 2.2 \
cosEventDomain 1.2 \
cosFileTransfer 1.2 \
cosNotification 1.2 \
cosProperty 1.2 \
cosTime 1.2 \
cosTransactions 1.3 \
crypto 3.6 \
debugger 4.1 \
dialyzer 2.8 \
diameter 1.10 \
edoc 0.7.17 \
eldap 1.2 \
erl_docgen 0.4 \
erl_interface 3.8 \
erts 7.0 \
et 1.5.1 \
eunit 2.2.10 \
gs 1.6 \
hipe 3.12 \
ic 4.4 \
inets 6.0 \
jinterface 1.6 \
kernel 4.0 \
megaco 3.18 \
mnesia 4.13 \
observer 2.1 \
odbc 2.11 \
orber 3.8 \
os_mon 2.4 \
ose 1.1 \
otp_mibs 1.1 \
parsetools 2.1 \
percept 0.8.11 \
public_key 1.0 \
reltool 0.7 \
runtime_tools 1.9 \
sasl 2.5 \
snmp 5.2 \
ssh 4.0 \
ssl 7.0 \
stdlib 2.5 \
syntax_tools 1.7 \
test_server 3.9 \
tools 2.8 \
typer 0.9.9 \
webtool 0.9 \
wx 1.4 \
xmerl 1.3.8
PLIST_SUBST+= VERSION=${DIST_VERSION_MAJOR}

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.17 2015/04/28 14:34:20 fhajny Exp $
@comment $NetBSD: PLIST,v 1.18 2015/07/18 08:55:16 fhajny Exp $
bin/ct_run
bin/dialyzer
bin/epmd
@@ -183,6 +183,7 @@ lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_master_logs.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_master_status.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_netconfc.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_property_test.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_release_test.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_repeat.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_rpc.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_run.beam
@@ -193,6 +194,8 @@ lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_telnet.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_telnet_client.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_testspec.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_util.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_webtool.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/ct_webtool_sup.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/cth_conn_log.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/cth_log_redirect.beam
lib/erlang/lib/common_test-${VERSION.common_test}/ebin/cth_surefire.beam
@@ -227,6 +230,7 @@ lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_master_status.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_netconfc.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_netconfc.hrl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_property_test.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_release_test.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_repeat.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_rpc.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_run.erl
@@ -238,6 +242,8 @@ lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_telnet_client.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_testspec.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_util.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_util.hrl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_webtool.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/ct_webtool_sup.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/cth_conn_log.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/cth_log_redirect.erl
lib/erlang/lib/common_test-${VERSION.common_test}/src/cth_surefire.erl
@@ -268,6 +274,7 @@ lib/erlang/lib/compiler-${VERSION.compiler}/ebin/beam_z.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/cerl.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/cerl_clauses.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/cerl_inline.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/cerl_sets.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/cerl_trees.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/compile.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/compiler.app
@@ -281,6 +288,7 @@ lib/erlang/lib/compiler-${VERSION.compiler}/ebin/erl_bifs.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/rec_env.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/sys_core_dsetel.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/sys_core_fold.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/sys_core_fold_lists.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/sys_core_inline.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/sys_pre_attributes.beam
lib/erlang/lib/compiler-${VERSION.compiler}/ebin/sys_pre_expand.beam
@@ -316,6 +324,7 @@ lib/erlang/lib/compiler-${VERSION.compiler}/src/beam_z.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/cerl.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/cerl_clauses.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/cerl_inline.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/cerl_sets.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/cerl_trees.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/compile.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/core_lib.erl
@@ -329,6 +338,7 @@ lib/erlang/lib/compiler-${VERSION.compiler}/src/erl_bifs.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/rec_env.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/sys_core_dsetel.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/sys_core_fold.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/sys_core_fold_lists.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/sys_core_inline.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/sys_pre_attributes.erl
lib/erlang/lib/compiler-${VERSION.compiler}/src/sys_pre_expand.erl
@@ -2102,6 +2112,7 @@ lib/erlang/lib/inets-${VERSION.inets}/ebin/httpd_acceptor_sup.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/httpd_cgi.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/httpd_conf.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/httpd_connection_sup.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/httpd_custom.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/httpd_esi.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/httpd_example.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/httpd_file.beam
@@ -2120,9 +2131,11 @@ lib/erlang/lib/inets-${VERSION.inets}/ebin/inets.app
lib/erlang/lib/inets-${VERSION.inets}/ebin/inets.appup
lib/erlang/lib/inets-${VERSION.inets}/ebin/inets.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/inets_app.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/inets_lib.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/inets_regexp.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/inets_service.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/inets_sup.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/inets_time_compat.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/inets_trace.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_actions.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_alias.beam
@@ -2139,7 +2152,6 @@ lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_esi.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_get.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_head.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_htaccess.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_include.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_log.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_range.beam
lib/erlang/lib/inets-${VERSION.inets}/ebin/mod_responsecontrol.beam
@@ -2318,6 +2330,7 @@ lib/erlang/lib/inets-${VERSION.inets}/src/http_server/httpd_acceptor_sup.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/httpd_cgi.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/httpd_conf.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/httpd_connection_sup.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/httpd_custom.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/httpd_esi.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/httpd_example.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/httpd_file.erl
@@ -2349,7 +2362,6 @@ lib/erlang/lib/inets-${VERSION.inets}/src/http_server/mod_esi.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/mod_get.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/mod_head.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/mod_htaccess.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/mod_include.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/mod_log.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/mod_range.erl
lib/erlang/lib/inets-${VERSION.inets}/src/http_server/mod_responsecontrol.erl
@@ -2359,9 +2371,11 @@ lib/erlang/lib/inets-${VERSION.inets}/src/http_server/mod_trace.erl
lib/erlang/lib/inets-${VERSION.inets}/src/inets_app/inets.erl
lib/erlang/lib/inets-${VERSION.inets}/src/inets_app/inets_app.erl
lib/erlang/lib/inets-${VERSION.inets}/src/inets_app/inets_internal.hrl
lib/erlang/lib/inets-${VERSION.inets}/src/inets_app/inets_lib.erl
lib/erlang/lib/inets-${VERSION.inets}/src/inets_app/inets_regexp.erl
lib/erlang/lib/inets-${VERSION.inets}/src/inets_app/inets_service.erl
lib/erlang/lib/inets-${VERSION.inets}/src/inets_app/inets_sup.erl
lib/erlang/lib/inets-${VERSION.inets}/src/inets_app/inets_time_compat.erl
lib/erlang/lib/inets-${VERSION.inets}/src/inets_app/inets_trace.erl
lib/erlang/lib/inets-${VERSION.inets}/src/tftp/tftp.erl
lib/erlang/lib/inets-${VERSION.inets}/src/tftp/tftp.hrl
@@ -2866,6 +2880,7 @@ lib/erlang/lib/observer-${VERSION.observer}/ebin/cdv_mod_cb.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/cdv_multi_wx.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/cdv_port_cb.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/cdv_proc_cb.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/cdv_sched_cb.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/cdv_table_wx.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/cdv_term_cb.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/cdv_timer_cb.beam
@@ -2878,6 +2893,7 @@ lib/erlang/lib/observer-${VERSION.observer}/ebin/etop_txt.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/observer.app
lib/erlang/lib/observer-${VERSION.observer}/ebin/observer.appup
lib/erlang/lib/observer-${VERSION.observer}/ebin/observer.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/observer_alloc_wx.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/observer_app_wx.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/observer_html_lib.beam
lib/erlang/lib/observer-${VERSION.observer}/ebin/observer_lib.beam
@@ -2915,6 +2931,7 @@ lib/erlang/lib/observer-${VERSION.observer}/src/cdv_mod_cb.erl
lib/erlang/lib/observer-${VERSION.observer}/src/cdv_multi_wx.erl
lib/erlang/lib/observer-${VERSION.observer}/src/cdv_port_cb.erl
lib/erlang/lib/observer-${VERSION.observer}/src/cdv_proc_cb.erl
lib/erlang/lib/observer-${VERSION.observer}/src/cdv_sched_cb.erl
lib/erlang/lib/observer-${VERSION.observer}/src/cdv_table_wx.erl
lib/erlang/lib/observer-${VERSION.observer}/src/cdv_term_cb.erl
lib/erlang/lib/observer-${VERSION.observer}/src/cdv_timer_cb.erl
@@ -2927,6 +2944,7 @@ lib/erlang/lib/observer-${VERSION.observer}/src/etop_defs.hrl
lib/erlang/lib/observer-${VERSION.observer}/src/etop_tr.erl
lib/erlang/lib/observer-${VERSION.observer}/src/etop_txt.erl
lib/erlang/lib/observer-${VERSION.observer}/src/observer.erl
lib/erlang/lib/observer-${VERSION.observer}/src/observer_alloc_wx.erl
lib/erlang/lib/observer-${VERSION.observer}/src/observer_app_wx.erl
lib/erlang/lib/observer-${VERSION.observer}/src/observer_defs.hrl
lib/erlang/lib/observer-${VERSION.observer}/src/observer_html_lib.erl
@@ -3732,10 +3750,8 @@ lib/erlang/lib/ssh-${VERSION.ssh}/ebin/ssh_transport.beam
lib/erlang/lib/ssh-${VERSION.ssh}/ebin/ssh_xfer.beam
lib/erlang/lib/ssh-${VERSION.ssh}/ebin/sshc_sup.beam
lib/erlang/lib/ssh-${VERSION.ssh}/ebin/sshd_sup.beam
lib/erlang/lib/ssh-${VERSION.ssh}/include/ssh.hrl
lib/erlang/lib/ssh-${VERSION.ssh}/include/ssh_userauth.hrl
lib/erlang/lib/ssh-${VERSION.ssh}/include/ssh_xfer.hrl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh.erl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh.hrl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_acceptor.erl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_acceptor_sup.erl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_app.erl
@@ -3768,7 +3784,9 @@ lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_sup.erl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_system_sup.erl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_transport.erl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_transport.hrl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_userauth.hrl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_xfer.erl
lib/erlang/lib/ssh-${VERSION.ssh}/src/ssh_xfer.hrl
lib/erlang/lib/ssh-${VERSION.ssh}/src/sshc_sup.erl
lib/erlang/lib/ssh-${VERSION.ssh}/src/sshd_sup.erl
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/dtls.beam
@@ -3787,6 +3805,9 @@ lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_certificate.beam
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_cipher.beam
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_config.beam
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_connection.beam
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_crl.beam
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_crl_cache.beam
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_crl_cache_api.beam
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_dist_sup.beam
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_handshake.beam
lib/erlang/lib/ssl-${VERSION.ssl}/ebin/ssl_listen_tracker_sup.beam
@@ -3840,6 +3861,9 @@ lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_cipher.hrl
lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_config.erl
lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_connection.erl
lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_connection.hrl
lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_crl.erl
lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_crl_cache.erl
lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_crl_cache_api.erl
lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_dist_sup.erl
lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_handshake.erl
lib/erlang/lib/ssl-${VERSION.ssl}/src/ssl_handshake.hrl
@@ -3886,6 +3910,7 @@ lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/digraph_utils.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/edlin.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/edlin_expand.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/epp.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/erl_anno.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/erl_bits.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/erl_compile.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/erl_eval.beam
@@ -3925,13 +3950,13 @@ lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/ms_transform.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/orddict.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/ordsets.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/otp_internal.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/pg.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/pool.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/proc_lib.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/proplists.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/qlc.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/qlc_pt.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/queue.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/rand.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/random.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/re.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/sets.beam
@@ -3950,6 +3975,7 @@ lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/unicode.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/win32reg.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/ebin/zip.beam
lib/erlang/lib/stdlib-${VERSION.stdlib}/examples/erl_id_trans.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/include/assert.hrl
lib/erlang/lib/stdlib-${VERSION.stdlib}/include/erl_bits.hrl
lib/erlang/lib/stdlib-${VERSION.stdlib}/include/erl_compile.hrl
lib/erlang/lib/stdlib-${VERSION.stdlib}/include/ms_transform.hrl
@@ -3974,6 +4000,7 @@ lib/erlang/lib/stdlib-${VERSION.stdlib}/src/digraph_utils.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/edlin.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/edlin_expand.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/epp.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/erl_anno.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/erl_bits.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/erl_compile.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/erl_eval.erl
@@ -4014,13 +4041,13 @@ lib/erlang/lib/stdlib-${VERSION.stdlib}/src/ms_transform.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/orddict.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/ordsets.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/otp_internal.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/pg.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/pool.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/proc_lib.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/proplists.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/qlc.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/qlc_pt.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/queue.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/rand.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/random.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/re.erl
lib/erlang/lib/stdlib-${VERSION.stdlib}/src/sets.erl
@@ -4044,10 +4071,13 @@ lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/ebin/erl_syntax.beam
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/ebin/erl_syntax_lib.beam
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/ebin/erl_tidy.beam
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/ebin/igor.beam
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/ebin/merl.beam
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/ebin/merl_transform.beam
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/ebin/prettypr.beam
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/ebin/syntax_tools.app
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/ebin/syntax_tools.appup
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/examples/demo.erl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/include/merl.hrl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/epp_dodger.erl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/erl_comment_scan.erl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/erl_prettypr.erl
@@ -4056,6 +4086,8 @@ lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/erl_syntax.erl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/erl_syntax_lib.erl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/erl_tidy.erl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/igor.erl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/merl.erl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/merl_transform.erl
lib/erlang/lib/syntax_tools-${VERSION.syntax_tools}/src/prettypr.erl
lib/erlang/lib/test_server-${VERSION.test_server}/ebin/erl2html2.beam
lib/erlang/lib/test_server-${VERSION.test_server}/ebin/test_server.app

3
lang/erlang/PLIST.Darwin Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.Darwin,v 1.1 2015/09/13 08:11:09 fhajny Exp $
lib/erlang/lib/os_mon-${VERSION.os_mon}/priv/bin/cpu_sup
lib/erlang/lib/os_mon-${VERSION.os_mon}/src/cpu_sup.c

3
lang/erlang/PLIST.NetBSD Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.NetBSD,v 1.1 2015/07/25 12:13:53 abs Exp $
lib/erlang/lib/os_mon-${VERSION.os_mon}/priv/bin/cpu_sup
lib/erlang/lib/os_mon-${VERSION.os_mon}/src/cpu_sup.c

View File

@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.13 2015/04/28 14:34:20 fhajny Exp $
# $NetBSD: buildlink3.mk,v 1.14 2015/07/18 08:55:16 fhajny Exp $
BUILDLINK_TREE+= erlang
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= erlang
ERLANG_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.erlang+= erlang>=10.1
BUILDLINK_ABI_DEPENDS.erlang+= erlang>=17.5
BUILDLINK_ABI_DEPENDS.erlang+= erlang>=18.0
BUILDLINK_PKGSRCDIR.erlang?= ../../lang/erlang
pkgbase := erlang

View File

@@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.35 2015/04/28 14:34:20 fhajny Exp $
$NetBSD: distinfo,v 1.36 2015/07/18 08:55:16 fhajny Exp $
SHA1 (erlang/otp_src_17.5.tar.gz) = 433bafe9bb16a2230830de93985c1d6e02ec1c4e
RMD160 (erlang/otp_src_17.5.tar.gz) = 609406d4e710c1c435dbd0090a0503e1fcb68d08
Size (erlang/otp_src_17.5.tar.gz) = 67242289 bytes
SHA1 (erlang/otp_src_18.0.tar.gz) = fb437bddf8df8c6db934f4ac43455dbd007c05e0
RMD160 (erlang/otp_src_18.0.tar.gz) = b3c84eb9c132ea7a29ca7f37823ff515acfc8e1a
Size (erlang/otp_src_18.0.tar.gz) = 68124710 bytes
SHA1 (patch-ab) = 5f1602f3a49c05fd4c45884a7cd6be8d3f287ac3
SHA1 (patch-am) = 11ff769b6954f950d6447e69b033cdc0bfa767e9
SHA1 (patch-ao) = a4ee17b0a81415d541cb55d76b3c1ecc3148c2c2
SHA1 (patch-ao) = 77f64f1e000357c0b7c28d14c9b42107d6cd1021
SHA1 (patch-ay) = f5f1accdb11e404ba4779b056228431e3080e4cd

View File

@@ -1,8 +1,8 @@
$NetBSD: patch-ao,v 1.2 2011/04/14 19:34:09 asau Exp $
$NetBSD: patch-ao,v 1.3 2015/07/18 08:55:16 fhajny Exp $
--- erts/emulator/hipe/hipe_sparc.c.orig 2010-06-24 07:26:50.000000000 +0300
+++ erts/emulator/hipe/hipe_sparc.c 2010-06-24 07:27:25.000000000 +0300
@@ -130,6 +130,10 @@
--- erts/emulator/hipe/hipe_sparc.c.orig 2015-06-23 18:56:21.000000000 +0000
+++ erts/emulator/hipe/hipe_sparc.c
@@ -131,6 +131,10 @@ static void atexit_alloc_code_stats(void
#define ALLOC_CODE_STATS(X) do{}while(0)
#endif
@@ -10,6 +10,6 @@ $NetBSD: patch-ao,v 1.2 2011/04/14 19:34:09 asau Exp $
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
static void morecore(unsigned int alloc_bytes)
static int morecore(unsigned int alloc_bytes)
{
unsigned int map_bytes;

View File

@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.18 2015/01/01 01:29:56 ryoon Exp $
$NetBSD: distinfo,v 1.19 2015/08/05 19:51:50 martin Exp $
SHA1 (gcc-4.6.4.tar.bz2) = 63933a8a5cf725626585dbba993c8b0f6db1335d
RMD160 (gcc-4.6.4.tar.bz2) = 6a58b053812cf75622bc4579e020cd9471f46916
@@ -24,10 +24,11 @@ SHA1 (patch-boehm-gc_pthread__support.c) = 1028b0e8604e0477dd80ec20c04ffc0027823
SHA1 (patch-boehm-gc_tests_test.c) = f4f2c7a701ef166004746e5f819f7e04c4176b24
SHA1 (patch-boehm-gc_threadlibs.c) = 62cabc51234e1ce5c60e70bef9fc4d8f92b9739d
SHA1 (patch-gcc_common.opt) = 561965695238afd4c41b75f20d84114adb4dd194
SHA1 (patch-gcc_config.host) = 5be619aad33ee0ac05d8fb64879be5e530914122
SHA1 (patch-gcc_config.host) = 9458bf6bc6d16abd07c66e60b04c84106fe937fd
SHA1 (patch-gcc_config_arm_elf.h) = 28c67bb698ebe9a3aa45c4cff29f028c82cc7606
SHA1 (patch-gcc_config_arm_t-netbsd) = a1682f4f8dc7e393446f19f615737ddfc98fcb7f
SHA1 (patch-gcc_config_exec-stack.h) = 2ff8a153a41638de2943c4109f38ea3a7c26c00d
SHA1 (patch-gcc_config_host-netbsd.c) = 765295f07edb8a68f1910e3a9b4dd2a7dcd491a5
SHA1 (patch-gcc_config_host-openbsd.c) = 109ce33dbbc19c988637d77dce4d240d6bfc912c
SHA1 (patch-gcc_config_i386_i386.c) = 49ba75bb347a9c96606a7bef7e0f972488d881b3
SHA1 (patch-gcc_config_i386_openbsd.h) = 0adb1e531eb9d773cbd6944f279e949e59035bd3
@@ -36,10 +37,12 @@ SHA1 (patch-gcc_config_i386_openbsdelf.h) = cd7afa938514dc80fb53c683fb089468c935
SHA1 (patch-gcc_config_openbsd-libpthread.h) = 826aaae4b2dda5a49ec71510f0752aba3c1b0b91
SHA1 (patch-gcc_config_openbsd.h) = a396d14b2df78a4c45d3e51ef7fe960bbc8d5754
SHA1 (patch-gcc_config_t-openbsd) = 662fe8d0c4b58145fb3268bc7ac432a1616c1106
SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
SHA1 (patch-gcc_config_x-openbsd) = b307d75331b9a7f6271698c68f1647a03d204eb9
SHA1 (patch-gcc_configure) = 906906aca782c75b2a053aef272a8472f0a9a9ee
SHA1 (patch-gcc_defaults.h) = 72b145fdf9baecc061e90e9634eb5f842215a962
SHA1 (patch-gcc_gcc.c) = 6b9499cf22f1018c289f2a20a4487d5f5e1a1069
SHA1 (patch-gcc_ggc-common.c) = fa577bc25260d7e6304f166686ba51c0b677d7f6
SHA1 (patch-gcc_lto_lto.c) = 3c7df0691d300d2915388e7ef019b9717a9673d7
SHA1 (patch-gcc_opts.c) = e02ebec8a9de24492a3aba80ee8c742446f2c549
SHA1 (patch-gcc_unwind-dw2-fde-glibc.c) = 704ccc2b1058344586e0ccb8bcd291f41d93ed0a

View File

@@ -1,14 +1,21 @@
$NetBSD: patch-gcc_config.host,v 1.1 2014/01/25 13:38:48 ryoon Exp $
$NetBSD: patch-gcc_config.host,v 1.2 2015/08/05 19:51:50 martin Exp $
--- gcc/config.host.orig 2011-02-15 09:49:14.000000000 +0000
+++ gcc/config.host
@@ -268,6 +268,10 @@ case ${host} in
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
--- gcc/config.host.orig 2011-02-15 10:49:14.000000000 +0100
+++ gcc/config.host 2015-08-05 21:04:37.000000000 +0200
@@ -268,6 +268,14 @@
out_host_hook_obj=host-solaris.o
host_xmake_file="${host_xmake_file} x-solaris"
;;
+ *-*-openbsd*)
+ out_host_hook_obj=host-openbsd.o
+ host_xmake_file="${host_xmake_file} x-openbsd"
+ ;;
+ *-*-netbsd*)
+ out_host_hook_obj=host-netbsd.o
+ host_xmake_file="${host_xmake_file} x-netbsd"
+ ;;
*-*-linux*)
out_host_hook_obj=host-linux.o

View File

@@ -0,0 +1,93 @@
$NetBSD: patch-gcc_config_host-netbsd.c,v 1.1 2015/08/05 19:51:50 martin Exp $
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
--- /dev/null 2013-09-11 20:06:51.000000000 +0200
+++ gcc/config/host-netbsd.c 2013-09-11 20:29:31.000000000 +0200
@@ -0,0 +1,85 @@
+/* NetBSD host-specific hook definitions.
+ Copyright (C) 2004-2013 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+
+#include "config.h"
+#include "system.h"
+#include "coretypes.h"
+#include "hosthooks.h"
+#include "hosthooks-def.h"
+
+
+#undef HOST_HOOKS_GT_PCH_GET_ADDRESS
+#define HOST_HOOKS_GT_PCH_GET_ADDRESS netbsd_gt_pch_get_address
+#undef HOST_HOOKS_GT_PCH_USE_ADDRESS
+#define HOST_HOOKS_GT_PCH_USE_ADDRESS netbsd_gt_pch_use_address
+
+/* For various ports, try to guess a fixed spot in the vm space
+ that's probably free. */
+#if defined(__sparc64__)
+# define TRY_EMPTY_VM_SPACE 0x40000000000
+#elif defined(_LP64)
+# define TRY_EMPTY_VM_SPACE 0x400000000000
+#elif defined(__mips__) || defined(__vax__) || defined (__arm__)
+# define TRY_EMPTY_VM_SPACE 0x60000000
+#else
+# define TRY_EMPTY_VM_SPACE 0xb0000000
+#endif
+
+/* Determine a location where we might be able to reliably allocate
+ SIZE bytes. FD is the PCH file, though we should return with the
+ file unmapped. */
+
+static void *
+netbsd_gt_pch_get_address (size_t size, int fd)
+{
+ void *addr;
+
+ addr = mmap ((void *) TRY_EMPTY_VM_SPACE, size, PROT_READ | PROT_WRITE,
+ MAP_PRIVATE | MAP_FIXED, fd, 0);
+
+ /* If we failed the map, that means there's *no* free space. */
+ if (addr == (void *) MAP_FAILED)
+ return NULL;
+ /* Unmap the area before returning. */
+ munmap (addr, size);
+
+ return addr;
+}
+
+/* Map SIZE bytes of FD+OFFSET at BASE. Return 1 if we succeeded at
+ mapping the data at BASE, -1 if we couldn't. */
+
+static int
+netbsd_gt_pch_use_address (void *base, size_t size, int fd, size_t offset)
+{
+ void *addr;
+
+ /* We're called with size == 0 if we're not planning to load a PCH
+ file at all. This allows the hook to free any static space that
+ we might have allocated at link time. */
+ if (size == 0)
+ return -1;
+
+ addr = mmap (base, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, offset);
+
+ return addr == base ? 1 : -1;
+}
+
+
+const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-gcc_config_x-netbsd,v 1.1 2015/08/05 19:51:50 martin Exp $
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
--- /dev/null 2013-09-11 09:12:57.000000000 +0200
+++ gcc/config/x-netbsd 2013-09-10 18:57:27.000000000 +0200
@@ -0,0 +1,4 @@
+host-netbsd.o : $(srcdir)/config/host-netbsd.c $(CONFIG_H) $(SYSTEM_H) \
+ coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
+ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ $(srcdir)/config/host-netbsd.c

View File

@@ -0,0 +1,86 @@
$NetBSD: patch-gcc_ggc-common.c,v 1.1 2015/08/05 19:51:50 martin Exp $
When failing a PCH read-in, restore some globals to allow the generic
error reporting to work in pre-PCH context.
Patch submitted upstream in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58381
--- gcc/ggc-common.c.orig 2013-03-05 16:51:48.000000000 +0100
+++ gcc/ggc-common.c 2013-09-10 17:20:52.000000000 +0200
@@ -666,6 +666,8 @@
size_t i;
struct mmap_info mmi;
int result;
+ struct line_maps * old_line_table = line_table;
+ location_t old_input_loc = input_location;
/* Delete any deletable objects. This makes ggc_pch_read much
faster, as it can be sure that no GCable objects remain other
@@ -677,39 +679,60 @@
/* Read in all the scalar variables. */
for (rt = gt_pch_scalar_rtab; *rt; rt++)
for (rti = *rt; rti->base != NULL; rti++)
- if (fread (rti->base, rti->stride, 1, f) != 1)
+ if (fread (rti->base, rti->stride, 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
/* Read in all the global pointers, in 6 easy loops. */
for (rt = gt_ggc_rtab; *rt; rt++)
for (rti = *rt; rti->base != NULL; rti++)
for (i = 0; i < rti->nelt; i++)
if (fread ((char *)rti->base + rti->stride * i,
- sizeof (void *), 1, f) != 1)
+ sizeof (void *), 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
for (rt = gt_pch_cache_rtab; *rt; rt++)
for (rti = *rt; rti->base != NULL; rti++)
for (i = 0; i < rti->nelt; i++)
if (fread ((char *)rti->base + rti->stride * i,
- sizeof (void *), 1, f) != 1)
+ sizeof (void *), 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
- if (fread (&mmi, sizeof (mmi), 1, f) != 1)
+ if (fread (&mmi, sizeof (mmi), 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
result = host_hooks.gt_pch_use_address (mmi.preferred_base, mmi.size,
fileno (f), mmi.offset);
- if (result < 0)
+ if (result < 0) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("had to relocate PCH");
+ }
if (result == 0)
{
if (fseek (f, mmi.offset, SEEK_SET) != 0
- || fread (mmi.preferred_base, mmi.size, 1, f) != 1)
+ || fread (mmi.preferred_base, mmi.size, 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
}
- else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0)
+ else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
ggc_pch_read (f, mmi.preferred_base);

View File

@@ -1,11 +1,11 @@
# $NetBSD: buildlink3.mk,v 1.6 2014/11/26 10:35:49 obache Exp $
# $NetBSD: buildlink3.mk,v 1.7 2015/09/11 15:16:08 jperkin Exp $
BUILDLINK_TREE+= gcc48
.if !defined(GCC48_BUILDLINK3_MK)
GCC48_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gcc48+= gcc48>=${_GCC_REQD}
BUILDLINK_API_DEPENDS.gcc48+= gcc48>=4.8
BUILDLINK_ABI_DEPENDS.gcc48+= gcc48>=4.8.0
BUILDLINK_PKGSRCDIR.gcc48= ../../lang/gcc48
BUILDLINK_DEPMETHOD.gcc48?= build
@@ -19,7 +19,7 @@ BUILDLINK_AUTO_VARS.gcc48= no
# Packages that link against shared libraries need a full dependency.
.if defined(_USE_GCC_SHLIB)
DEPENDS+= {gcc48,gcc48-libs}>=${_GCC_REQD}:../../lang/gcc48-libs
DEPENDS+= {gcc48,gcc48-libs}>=4.8:../../lang/gcc48-libs
ABI_DEPENDS+= {gcc48,gcc48-libs}>=4.8.0:../../lang/gcc48-libs
.endif

View File

@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.24 2015/06/19 00:44:46 dsainty Exp $
$NetBSD: distinfo,v 1.26 2015/08/25 19:57:00 wiedi Exp $
SHA1 (ecj-4.5.jar) = 58c1d79c64c8cd718550f32a932ccfde8d1e6449
RMD160 (ecj-4.5.jar) = d3f4da657f086b6423f74e93f001132f4855368a
@@ -31,7 +31,7 @@ SHA1 (patch-gcc_config_dragonfly-stdint.h) = 740dc819b446d5f1476506322c4b280ffdb
SHA1 (patch-gcc_config_dragonfly.h) = 82f549cdc7543b4bf413a44d481ef42b10f59c82
SHA1 (patch-gcc_config_dragonfly.opt) = 92f615c73c2e94664bae5b5935ab8b09bca15f73
SHA1 (patch-gcc_config_exec-stack.h) = 8135806e88c1b136038bb240958a4435b4e0bbe3
SHA1 (patch-gcc_config_host-netbsd.c) = 8f13b09dd7006d456cd1c66e895be504e9537880
SHA1 (patch-gcc_config_host-netbsd.c) = 765295f07edb8a68f1910e3a9b4dd2a7dcd491a5
SHA1 (patch-gcc_config_i386_dragonfly.h) = 0d3f785434c02beb9c4561fe59842a970e8f7896
SHA1 (patch-gcc_config_i386_openbsd.h) = df5b85b5957392138f99085bd8ebeb923e37e9e7
SHA1 (patch-gcc_config_i386_openbsdelf.h) = 74498a1bd7c339c90b847740d3c474ad3ca4a956

View File

@@ -1,4 +1,4 @@
$NetBSD: patch-gcc_config_host-netbsd.c,v 1.1 2013/09/11 19:05:19 martin Exp $
$NetBSD: patch-gcc_config_host-netbsd.c,v 1.2 2015/08/05 18:14:27 martin Exp $
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
@@ -43,7 +43,7 @@ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
+# define TRY_EMPTY_VM_SPACE 0x40000000000
+#elif defined(_LP64)
+# define TRY_EMPTY_VM_SPACE 0x400000000000
+#elif defined(__mips__) || defined(__vax__)
+#elif defined(__mips__) || defined(__vax__) || defined (__arm__)
+# define TRY_EMPTY_VM_SPACE 0x60000000
+#else
+# define TRY_EMPTY_VM_SPACE 0xb0000000

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2015/06/22 15:38:08 jperkin Exp $
# $NetBSD: Makefile,v 1.4 2015/07/01 13:40:02 wiz Exp $
GCC_PKGNAME= gcc49
.include "../../lang/${GCC_PKGNAME}/version.mk"
@@ -8,8 +8,8 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC49_DIST_VERSION}
## The PKGREVISION of this package needs to be at least 1 more than the
## PKGREVISION of the lang/gcc49 package so that with the dependence pattern
## '{gcc49,gcc49-libs}>=4.9.*' pkg_all will choose gcc49-libs over gcc49.
PKGREVISION= 2
## '{gcc49,gcc49-libs}>=4.9.*' pkg_add will choose gcc49-libs over gcc49.
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= # empty

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2015/06/10 21:45:40 ryoon Exp $
# $NetBSD: Makefile,v 1.7 2015/07/01 13:39:33 wiz Exp $
GCC_PKGNAME= gcc49
.include "version.mk"
@@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-${GCC49_DIST_VERSION}
## When bumping the PKGREVISION of this package the PKGREVISION of
## lang/gcc49-libs needs to be bump to be at least 1 more than the
## PKGREVISION of this package!
PKGREVISION= 1
#PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC49_DIST_VERSION}/}

View File

@@ -1,22 +1,25 @@
$NetBSD: distinfo,v 1.5 2015/01/22 01:22:48 sevan Exp $
$NetBSD: distinfo,v 1.8 2015/08/08 12:17:33 martin Exp $
SHA1 (ecj-4.5.jar) = 58c1d79c64c8cd718550f32a932ccfde8d1e6449
RMD160 (ecj-4.5.jar) = d3f4da657f086b6423f74e93f001132f4855368a
Size (ecj-4.5.jar) = 1470676 bytes
SHA1 (gcc-4.9.2.tar.bz2) = 79dbcb09f44232822460d80b033c962c0237c6d8
RMD160 (gcc-4.9.2.tar.bz2) = bc6454e7c67c6f5fd2c98cdd1364ebb1739e1347
Size (gcc-4.9.2.tar.bz2) = 89939747 bytes
SHA1 (gcc-4.9.3.tar.bz2) = 2e6490a908eac8b2b56b73679bd7c2a5237df1f8
RMD160 (gcc-4.9.3.tar.bz2) = 799d45b4231d9417a4648bbef224657df76fca95
Size (gcc-4.9.3.tar.bz2) = 90006707 bytes
SHA1 (patch-contrib_make__sunver.pl) = 49cbd1a83c9b65d07a373262fcf6f71069283d2e
SHA1 (patch-gcc_Makefile.in) = 45c7a61cf22d02299d2308ba34f0ceb272ad5c5e
SHA1 (patch-gcc_config.gcc) = f8dc39c70aff31b1b9479895a14710ee9b168b3c
SHA1 (patch-gcc_config.host) = 1b1e11cd199eb93f49443d51c0063b09b7327858
SHA1 (patch-gcc_config_dragonfly-stdint.h) = 249e78bf2171fcd29eae498e41a12bf747015a19
SHA1 (patch-gcc_config_dragonfly.h) = 5d671b7cdf8b8e3798dd7ec47f56708aa3548f38
SHA1 (patch-gcc_config_dragonfly.opt) = b01bee26978f7feb62fc2ec21186449ccaea0db7
SHA1 (patch-gcc_config_host-netbsd.c) = 765295f07edb8a68f1910e3a9b4dd2a7dcd491a5
SHA1 (patch-gcc_config_i386_dragonfly.h) = 5756b62791273f77866f06be1df0c267dc90a2ee
SHA1 (patch-gcc_config_netbsd-stdint.h) = fc430c80adda9d3f58eea47816338f697a659889
SHA1 (patch-gcc_config_rs6000_darwin.h) = 6a8c8385c2b9c83bcb641a9de2a1833c01efd265
SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
SHA1 (patch-gcc_configure) = eb52890725d2eabb200275b6cb61fd86d976ee31
SHA1 (patch-gcc_fortran_f95-lang.c) = 9dbac16c146821eed9b06e1e9f0da85ff5c4ee75
SHA1 (patch-gcc_ggc-common.c) = fa577bc25260d7e6304f166686ba51c0b677d7f6
SHA1 (patch-gcc_ginclude_stddef.h) = 8af3e4b4058fc623c61e91f5771699f0ce679957
SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
SHA1 (patch-include_libiberty.h) = 5254c6a421ae16c71571820f6f07906367f042ba

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-gcc_config.host,v 1.1 2015/08/05 20:17:51 martin Exp $
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
--- gcc/config.host.orig 2013-01-10 21:38:27.000000000 +0100
+++ gcc/config.host 2013-09-10 20:25:36.000000000 +0200
@@ -271,6 +271,10 @@
out_host_hook_obj=host-openbsd.o
host_xmake_file="${host_xmake_file} x-openbsd"
;;
+ *-*-netbsd*)
+ out_host_hook_obj=host-netbsd.o
+ host_xmake_file="${host_xmake_file} x-netbsd"
+ ;;
ia64-*-hpux*)
use_long_long_for_widest_fast_int=yes
out_host_hook_obj=host-hpux.o

View File

@@ -0,0 +1,93 @@
$NetBSD: patch-gcc_config_host-netbsd.c,v 1.1 2015/08/05 20:17:51 martin Exp $
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
--- /dev/null 2013-09-11 20:06:51.000000000 +0200
+++ gcc/config/host-netbsd.c 2013-09-11 20:29:31.000000000 +0200
@@ -0,0 +1,85 @@
+/* NetBSD host-specific hook definitions.
+ Copyright (C) 2004-2013 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+
+#include "config.h"
+#include "system.h"
+#include "coretypes.h"
+#include "hosthooks.h"
+#include "hosthooks-def.h"
+
+
+#undef HOST_HOOKS_GT_PCH_GET_ADDRESS
+#define HOST_HOOKS_GT_PCH_GET_ADDRESS netbsd_gt_pch_get_address
+#undef HOST_HOOKS_GT_PCH_USE_ADDRESS
+#define HOST_HOOKS_GT_PCH_USE_ADDRESS netbsd_gt_pch_use_address
+
+/* For various ports, try to guess a fixed spot in the vm space
+ that's probably free. */
+#if defined(__sparc64__)
+# define TRY_EMPTY_VM_SPACE 0x40000000000
+#elif defined(_LP64)
+# define TRY_EMPTY_VM_SPACE 0x400000000000
+#elif defined(__mips__) || defined(__vax__) || defined (__arm__)
+# define TRY_EMPTY_VM_SPACE 0x60000000
+#else
+# define TRY_EMPTY_VM_SPACE 0xb0000000
+#endif
+
+/* Determine a location where we might be able to reliably allocate
+ SIZE bytes. FD is the PCH file, though we should return with the
+ file unmapped. */
+
+static void *
+netbsd_gt_pch_get_address (size_t size, int fd)
+{
+ void *addr;
+
+ addr = mmap ((void *) TRY_EMPTY_VM_SPACE, size, PROT_READ | PROT_WRITE,
+ MAP_PRIVATE | MAP_FIXED, fd, 0);
+
+ /* If we failed the map, that means there's *no* free space. */
+ if (addr == (void *) MAP_FAILED)
+ return NULL;
+ /* Unmap the area before returning. */
+ munmap (addr, size);
+
+ return addr;
+}
+
+/* Map SIZE bytes of FD+OFFSET at BASE. Return 1 if we succeeded at
+ mapping the data at BASE, -1 if we couldn't. */
+
+static int
+netbsd_gt_pch_use_address (void *base, size_t size, int fd, size_t offset)
+{
+ void *addr;
+
+ /* We're called with size == 0 if we're not planning to load a PCH
+ file at all. This allows the hook to free any static space that
+ we might have allocated at link time. */
+ if (size == 0)
+ return -1;
+
+ addr = mmap (base, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, offset);
+
+ return addr == base ? 1 : -1;
+}
+
+
+const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;

View File

@@ -1,19 +0,0 @@
$NetBSD: patch-gcc_config_rs6000_darwin.h,v 1.1 2015/01/22 01:22:48 sevan Exp $
Bug #63703 in GCC Bugzilla
--- gcc/config/rs6000/darwin.h.orig 2015-01-22 01:07:46.000000000 +0000
+++ gcc/config/rs6000/darwin.h
@@ -206,7 +206,11 @@ extern int darwin_emit_branch_islands;
"vrsave", "vscr", \
"spe_acc", "spefscr", \
"sfp", \
- "tfhar", "tfiar", "texasr" \
+ "tfhar", "tfiar", "texasr", \
+ "rh0", "rh1", "rh2", "rh3", "rh4", "rh5", "rh6", "rh7", \
+ "rh8", "rh9", "rh10", "rh11", "rh12", "rh13", "rh14", "rh15", \
+ "rh16", "rh17", "rh18", "rh19", "rh20", "rh21", "rh22", "rh23", \
+ "rh24", "rh25", "rh26", "rh27", "rh28", "rh29", "rh30", "rh31" \
}
/* This outputs NAME to FILE. */

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-gcc_config_x-netbsd,v 1.1 2015/08/05 20:17:51 martin Exp $
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
--- /dev/null 2013-09-11 09:12:57.000000000 +0200
+++ gcc/config/x-netbsd 2013-09-10 18:57:27.000000000 +0200
@@ -0,0 +1,4 @@
+host-netbsd.o : $(srcdir)/config/host-netbsd.c $(CONFIG_H) $(SYSTEM_H) \
+ coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
+ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ $(srcdir)/config/host-netbsd.c

View File

@@ -0,0 +1,86 @@
$NetBSD: patch-gcc_ggc-common.c,v 1.1 2015/08/05 20:17:51 martin Exp $
When failing a PCH read-in, restore some globals to allow the generic
error reporting to work in pre-PCH context.
Patch submitted upstream in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58381
--- gcc/ggc-common.c.orig 2013-03-05 16:51:48.000000000 +0100
+++ gcc/ggc-common.c 2013-09-10 17:20:52.000000000 +0200
@@ -666,6 +666,8 @@
size_t i;
struct mmap_info mmi;
int result;
+ struct line_maps * old_line_table = line_table;
+ location_t old_input_loc = input_location;
/* Delete any deletable objects. This makes ggc_pch_read much
faster, as it can be sure that no GCable objects remain other
@@ -677,39 +679,60 @@
/* Read in all the scalar variables. */
for (rt = gt_pch_scalar_rtab; *rt; rt++)
for (rti = *rt; rti->base != NULL; rti++)
- if (fread (rti->base, rti->stride, 1, f) != 1)
+ if (fread (rti->base, rti->stride, 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
/* Read in all the global pointers, in 6 easy loops. */
for (rt = gt_ggc_rtab; *rt; rt++)
for (rti = *rt; rti->base != NULL; rti++)
for (i = 0; i < rti->nelt; i++)
if (fread ((char *)rti->base + rti->stride * i,
- sizeof (void *), 1, f) != 1)
+ sizeof (void *), 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
for (rt = gt_pch_cache_rtab; *rt; rt++)
for (rti = *rt; rti->base != NULL; rti++)
for (i = 0; i < rti->nelt; i++)
if (fread ((char *)rti->base + rti->stride * i,
- sizeof (void *), 1, f) != 1)
+ sizeof (void *), 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
- if (fread (&mmi, sizeof (mmi), 1, f) != 1)
+ if (fread (&mmi, sizeof (mmi), 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
result = host_hooks.gt_pch_use_address (mmi.preferred_base, mmi.size,
fileno (f), mmi.offset);
- if (result < 0)
+ if (result < 0) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("had to relocate PCH");
+ }
if (result == 0)
{
if (fseek (f, mmi.offset, SEEK_SET) != 0
- || fread (mmi.preferred_base, mmi.size, 1, f) != 1)
+ || fread (mmi.preferred_base, mmi.size, 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
}
- else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0)
+ else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error ("can%'t read PCH file: %m");
+ }
ggc_pch_read (f, mmi.preferred_base);

View File

@@ -1,2 +1,2 @@
# $NetBSD: version.mk,v 1.2 2014/11/19 15:21:45 wiz Exp $
GCC49_DIST_VERSION:= 4.9.2
# $NetBSD: version.mk,v 1.3 2015/07/01 13:39:33 wiz Exp $
GCC49_DIST_VERSION:= 4.9.3

7
lang/gcc5-libs/DESCR Normal file
View File

@@ -0,0 +1,7 @@
The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
Fortran, and Go, as well as libraries for these languages (libstdc++,
libgfortran, ...).
This packages provides GCC support libraries in a specific location and allows
packages to depend on just the libraries rather than having to pull in the full
GCC package.

69
lang/gcc5-libs/Makefile Normal file
View File

@@ -0,0 +1,69 @@
# $NetBSD: Makefile,v 1.1 2015/07/16 12:07:07 ryoon Exp $
GCC_PKGNAME= gcc5
.include "../../lang/${GCC_PKGNAME}/version.mk"
DISTNAME= gcc-${GCC5_DIST_VERSION}
PKGNAME= ${GCC_PKGNAME}-libs-${GCC5_DIST_VERSION}
## The PKGREVISION of this package needs to be at least 1 more than the
## PKGREVISION of the lang/gcc5 package so that with the dependence pattern
## '{gcc5,gcc5-libs}>=5.1.*' pkg_add will choose gcc5-libs over gcc5.
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gcc.gnu.org/
COMMENT= The GNU Compiler Collection (GCC) support shared libraries
LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
USE_TOOLS+= pax
NO_BUILD= yes
CHECK_SHLIBS= no
## Depend on exactly ${GCC5_DIST_VERSION}.
BUILD_DEPENDS+= ${GCC_PKGNAME}-${GCC5_DIST_VERSION}{,nb[0-9]*}:../../lang/gcc5
.include "../../mk/bsd.prefs.mk"
FIND_PREFIX:= GCC_PKG_PREFIX=${GCC_PKGNAME}-${GCC5_DIST_VERSION}*
.include "../../mk/find-prefix.mk"
LIBGCC_SUBPREFIX= ${GCC_PKGNAME}
LIBGCC_PREFIX= ${GCC_PKG_PREFIX}/${LIBGCC_SUBPREFIX}
GCC_TARGET_MACHINE?= ${MACHINE_GNU_PLATFORM}
BUILD_DEFS+= GCC_TARGET_MACHINE
.include "../../mk/bsd.prefs.mk"
.if ${_OPSYS_SHLIB_TYPE} == "dylib"
SHLIB_EXT= dylib
.else
SHLIB_EXT= so
.endif
LIBRARY_FILES= ${WRKDIR}/lib_files
GENERATE_PLIST+= ${SED} -e 's,^,${LIBGCC_SUBPREFIX}/${GCC_TARGET_MACHINE}/,' \
${LIBRARY_FILES};
GENERATE_PLIST+= ${GREP} -q 'lib/' ${LIBRARY_FILES} || \
${ECHO} '@pkgdir ${LIBGCC_SUBPREFIX}/${GCC_TARGET_MACHINE}/lib' ;
${LIBRARY_FILES}:
${PKG_INFO} -qL '${GCC_PKGNAME}-${GCC5_DIST_VERSION}*' | \
${SED} -n -e's,^${LIBGCC_PREFIX}/,,' -e'/libexec\//d' \
-e'/libgij/d;/libgcj/d;/libjvm/d' \
-e'/lib.*\.${SHLIB_EXT}/p' >${LIBRARY_FILES}
do-install: ${LIBRARY_FILES}
${TEST} -d ${DESTDIR}${LIBGCC_PREFIX}/${GCC_TARGET_MACHINE}/lib || \
${MKDIR} ${DESTDIR}${LIBGCC_PREFIX}/${GCC_TARGET_MACHINE}/lib
cd ${LIBGCC_PREFIX} && \
${PAX} -rw ${DESTDIR}${LIBGCC_PREFIX}/${GCC_TARGET_MACHINE} <${LIBRARY_FILES}
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,46 @@
# $NetBSD: buildlink3.mk,v 1.1 2015/07/16 12:07:07 ryoon Exp $
BUILDLINK_TREE+= gcc5-libs
.if !defined(GCC5_LIBS_BUILDLINK3_MK)
GCC5_LIBS_BUILDLINK3_MK:=
.if !empty(USE_PKGSRC_GCC_RUNTIME:M[Yy][Ee][Ss])
BUILDLINK_API_DEPENDS.gcc5-libs+= gcc5-libs>=5.1.0
.else
BUILDLINK_API_DEPENDS.gcc5-libs+= {gcc5,gcc5-libs}>=5.1.0
.endif
BUILDLINK_PKGSRCDIR.gcc5-libs= ../../lang/gcc5-libs
BUILDLINK_DEPMETHOD.gcc5-libs?= full
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.gcc5-libs}/gcc5
BUILDLINK_FILES.gcc5-libs= #empty
BUILDLINK_AUTO_VARS.gcc5-libs= no
.if !empty(USE_PKGSRC_GCC_RUNTIME:M[Yy][Ee][Ss])
# Use custom specs file to ensure we link against pkgsrc libraries.
SPECS_LIBGCC= ${WRAPPER_DIR}/specs.libgcc
WRAPPER_TARGETS+= ${SPECS_LIBGCC}
LIBGCC_SUBPREFIX= gcc5
LIBGCC_PREFIX= ${BUILDLINK_PREFIX.gcc5-libs}/${LIBGCC_SUBPREFIX}
GCC_TARGET_MACHINE?= ${MACHINE_GNU_PLATFORM}
${SPECS_LIBGCC}:
@${ECHO} "*link_libgcc:" >${SPECS_LIBGCC}
@${ECHO} "%D $(LINKER_RPATH_FLAG)${LIBGCC_PREFIX}/${GCC_TARGET_MACHINE}/lib/%M" >>${SPECS_LIBGCC}
_WRAP_EXTRA_ARGS.CC+= -specs=${SPECS_LIBGCC}
_WRAP_EXTRA_ARGS.CXX+= -specs=${SPECS_LIBGCC}
_WRAP_EXTRA_ARGS.FC+= -specs=${SPECS_LIBGCC}
CWRAPPERS_APPEND.cc+= -specs=${SPECS_LIBGCC}
CWRAPPERS_APPEND.cxx+= -specs=${SPECS_LIBGCC}
CWRAPPERS_APPEND.f77+= -specs=${SPECS_LIBGCC}
.endif
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # GCC5_LIBS_BUILDLINK3_MK
BUILDLINK_TREE+= -gcc5-libs

6
lang/gcc5/DESCR Normal file
View File

@@ -0,0 +1,6 @@
The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
Fortran, Java, and Go, as well as libraries for these languages (libstdc++,
libgcj,...). This package provides the snapshot release of version 5.
On NetBSD a working cabsl function must be present in libm to build gfortran.
This has been added to -current on 2014/10/10 and to NetBSD7 on 2014/10/13.

176
lang/gcc5/Makefile Normal file
View File

@@ -0,0 +1,176 @@
# $NetBSD: Makefile,v 1.4 2015/08/25 12:23:13 sevan Exp $
GCC_PKGNAME= gcc5
.include "version.mk"
DISTNAME= gcc-${GCC5_DIST_VERSION}
PKGNAME= ${GCC_PKGNAME}-${GCC5_DIST_VERSION}
## When bumping the PKGREVISION of this package the PKGREVISION of
## lang/gcc5-libs needs to be bump to be at least 1 more than the
## PKGREVISION of this package!
#PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC5_DIST_VERSION}/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://gcc.gnu.org/
COMMENT= The GNU Compiler Collection (GCC) - 5 Release Series
LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
DISTFILES= ${DEFAULT_DISTFILES}
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
NOT_FOR_PLATFORM= Interix-*-*
USE_LANGUAGES= c c++
USE_TOOLS+= gmake makeinfo sed:run tar:build
GNU_CONFIGURE= yes
## Build outside ${WRKSRC}
OBJDIR= ../build
CONFIGURE_DIRS= ${OBJDIR}
CONFIGURE_SCRIPT= ../${DISTNAME}/configure
GCC_SUBPREFIX= ${GCC_PKGNAME}
GCC_PREFIX= ${PREFIX}/${GCC_SUBPREFIX}
GNU_CONFIGURE_PREFIX= ${GCC_PREFIX}
INFO_FILES= yes
UNLIMIT_RESOURCES+= datasize
UNLIMIT_RESOURCES+= stacksize
SUBST_CLASSES+= vars
SUBST_MESSAGE.vars= Setting target machine name path in ${SUBST_FILES.vars}
SUBST_STAGE.vars= pre-configure
SUBST_FILES.vars= gcc/Makefile.in
SUBST_VARS.vars= GCC_TARGET_MACHINE
.include "../../mk/bsd.prefs.mk"
LANGS= c
# In some cases LINKER_RPATH_FLAG needs a trailing space.
LINKER_RPATH_FLAG:= ${LINKER_RPATH_FLAG:S/-rpath/& /}
## The Library rpath to use in end programs.
LDFLAGS_FOR_TARGET= ${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*}
# The "-static-libstdc++ -static-libgcc" flags are normally added to the
# boot-ldflags by configure but because we are supply the boot-ldflags
# we mash supply them.
BOOT_LDFLAGS= -static-libstdc++ -static-libgcc ${LDFLAGS_FOR_TARGET}
# Needed on Darwin when LDFLAGS point to a SDK
BOOT_LDFLAGS+= ${LDFLAGS:M-Wl,-syslibroot*}
# GCC does not understand this option; remove it, or stage build will fail
BUILDLINK_TRANSFORM+= rm:-stdlib=libc++
.include "options.mk"
## For graphite support.
.if !empty(PKG_OPTIONS:Mgcc-graphite)
post-extract:
${TAR} -jxf ${DISTDIR}/${ISL14}.tar.bz2 -C ${WRKSRC}
${MV} ${WRKSRC}/${ISL14} ${WRKSRC}/isl
.endif
## For target librarys and libjava programs.
CONFIGURE_ENV+= LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q}
CONFIGURE_ARGS+= --enable-languages=${LANGS:Q}
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --enable-long-long
CONFIGURE_ARGS+= --with-local-prefix=${GCC_PREFIX:Q}
CONFIGURE_ARGS+= --enable-libssp
CONFIGURE_ARGS+= --enable-threads=posix
CONFIGURE_ARGS+= --with-boot-ldflags=${BOOT_LDFLAGS:Q}
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-gnu-ld --with-ld=/usr/bin/ld
CONFIGURE_ARGS+= --with-gnu-as --with-as=/usr/bin/as
MAKE_ENV+= ac_cv_func_clock_gettime=yes
MAKE_ENV+= ac_cv_func_gethostbyname_r=no
MAKE_ENV+= ac_cv_func_freelocale=no
MAKE_ENV+= ac_cv_func_newlocale=no
MAKE_ENV+= ac_cv_func_uselocale=no
.endif
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= --disable-bootstrap
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
CONFIGURE_ARGS+= --with-arch=i486 --with-tune=i486
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
CONFIGURE_ARGS+= --with-arch=nocona --with-tune=nocona --with-fpmath=sse
.endif
.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
CONFIGURE_ARGS+= --with-dwarf2
.endif
# ${WRKSRC}/fixincludes/ looks for sed and compiles the path to sed into
# a binary so we need to make sure we give it the installed sed and not
# the tool wrapped one.
MAKE_ENV+= ac_cv_path_SED=${TOOLS_SED}
MAKE_ENV+= lt_cv_path_SED=${TOOLS_SED}
# Determine whether to use binutils
.if ${OPSYS} == "SunOS"
. if exists(/usr/sfw/bin/gobjdump)
CONFIGURE_ENV+= OBJDUMP=/usr/sfw/bin/gobjdump
. endif
. if exists(/usr/bin/ld)
CONFIGURE_ARGS+= --without-gnu-ld --with-ld=/usr/bin/ld
. else
CONFIGURE_ARGS+= --without-gnu-ld --with-ld=/usr/ccs/bin/ld
. endif
. if exists(/usr/sfw/bin/gas)
CONFIGURE_ARGS+= --with-gnu-as --with-as=/usr/sfw/bin/gas
. elif exists(/usr/ccs/bin/as)
CONFIGURE_ARGS+= --without-gnu-as --with-as=/usr/ccs/bin/as
. else
BUILDLINK_DEPMETHOD.binutils= full
. include "../../devel/binutils/buildlink3.mk"
CONFIGURE_ARGS+= --with-gnu-as --with-as=${PREFIX}/bin/gas
. endif
.endif
pre-configure:
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
TEST_TARGET= -k check || ${TRUE}
pre-test:
${RUN} \
if runtest --version >/dev/null 2>/dev/null ; then \
: ; \
else \
${ECHO} "ERROR: Please install devel/dejagnu in order to run the test suite." ; \
exit 1 ; \
fi
post-test:
${RUN} cd ${WRKSRC} && cd ${OBJDIR} && \
${SHELL} ${WRKSRC}/contrib/test_summary >${WRKDIR}/test_summary.log
@${INFO_MSG} "Test summary are available in ${WRKDIR}/test_summary.log"
post-install:
${TEST} -f ${DESTDIR}${GCC_PREFIX}/bin/cc || \
( cd ${DESTDIR}${GCC_PREFIX}/bin ; ${LN} -f gcc cc )
.if !empty(PKG_OPTIONS:Mgcc-java)
${RM} -f ${DESTDIR}${JAVA_HOME}/bin/javadoc
${RM} -f ${DESTDIR}${JAVA_HOME}/jre/lib/${JAVA_ARCH}/libjawt.so
.endif
.if !empty(MACHINE_PLATFORM:MSunOS-*-*86*) && ${OS_VERSION} != "5.11"
${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m32 || ${TRUE}
${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m64 || ${TRUE}
.endif
GENERATE_PLIST+= \
cd ${DESTDIR}${PREFIX} && \
${FIND} ${GCC_SUBPREFIX} \( -type f -o -type l \) -print | ${SORT} ;
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

42
lang/gcc5/PLIST.java Normal file
View File

@@ -0,0 +1,42 @@
@comment $NetBSD: PLIST.java,v 1.1 2015/07/16 12:03:36 ryoon Exp $
bin/${JAVA_NAME}-appletviewer
bin/${JAVA_NAME}-jar
bin/${JAVA_NAME}-jarsigner
bin/${JAVA_NAME}-java
bin/${JAVA_NAME}-javah
bin/${JAVA_NAME}-keytool
bin/${JAVA_NAME}-native2ascii
bin/${JAVA_NAME}-orbd
bin/${JAVA_NAME}-rmic
bin/${JAVA_NAME}-rmid
bin/${JAVA_NAME}-rmiregistry
bin/${JAVA_NAME}-serialver
bin/${JAVA_NAME}-tnameserv
java/${JAVA_NAME}/bin/appletviewer
java/${JAVA_NAME}/bin/jar
java/${JAVA_NAME}/bin/jarsigner
java/${JAVA_NAME}/bin/java
java/${JAVA_NAME}/bin/javah
java/${JAVA_NAME}/bin/keytool
java/${JAVA_NAME}/bin/native2ascii
java/${JAVA_NAME}/bin/orbd
java/${JAVA_NAME}/bin/rmic
java/${JAVA_NAME}/bin/rmid
java/${JAVA_NAME}/bin/rmiregistry
java/${JAVA_NAME}/bin/serialver
java/${JAVA_NAME}/bin/tnameserv
java/${JAVA_NAME}/include/jawt.h
java/${JAVA_NAME}/include/jni.h
java/${JAVA_NAME}/include/linux/jawt_md.h
java/${JAVA_NAME}/include/linux/jni_md.h
java/${JAVA_NAME}/jre/bin/java
java/${JAVA_NAME}/jre/bin/keytool
java/${JAVA_NAME}/jre/bin/orbd
java/${JAVA_NAME}/jre/bin/rmid
java/${JAVA_NAME}/jre/bin/rmiregistry
java/${JAVA_NAME}/jre/bin/tnameserv
java/${JAVA_NAME}/jre/lib/${JAVA_ARCH}/client/libjvm.so
java/${JAVA_NAME}/jre/lib/${JAVA_ARCH}/server/libjvm.so
java/${JAVA_NAME}/jre/lib/rt.jar
java/${JAVA_NAME}/jre/lib/security/java.security
java/${JAVA_NAME}/lib/tools.jar

35
lang/gcc5/buildlink3.mk Normal file
View File

@@ -0,0 +1,35 @@
# $NetBSD: buildlink3.mk,v 1.1 2015/07/16 12:03:36 ryoon Exp $
BUILDLINK_TREE+= gcc5
.if !defined(GCC5_BUILDLINK3_MK)
GCC5_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gcc5+= gcc5>=${_GCC_REQD}
BUILDLINK_ABI_DEPENDS.gcc5+= gcc5>=5.1
BUILDLINK_PKGSRCDIR.gcc5= ../../lang/gcc5
BUILDLINK_DEPMETHOD.gcc5?= build
FIND_PREFIX:= BUILDLINK_PREFIX.gcc5=gcc5
.include "../../mk/find-prefix.mk"
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.gcc5}/gcc5
BUILDLINK_FILES.gcc5= #empty
BUILDLINK_AUTO_VARS.gcc5= no
# Packages that link against shared libraries need a full dependency.
#.if defined(_USE_GCC_SHLIB)
#DEPENDS+= {gcc5, gcc5-libs}>=${_GCC_REQD}:../../lang/gcc5-libs
#ABI_DEPENDS+= {gcc5,gcc5-libs}>=5.1.0:../../lang/gcc5-libs
#.endif
pkgbase := gcc5
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.gcc5:Mgcc-java)
.include "../../devel/zlib/buildlink3.mk"
.endif
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # GCC5_BUILDLINK3_MK
BUILDLINK_TREE+= -gcc5

40
lang/gcc5/distinfo Normal file
View File

@@ -0,0 +1,40 @@
$NetBSD: distinfo,v 1.4 2015/08/25 12:23:13 sevan Exp $
SHA1 (gcc-5.2.0.tar.bz2) = fe3f5390949d47054b613edc36c557eb1d51c18e
RMD160 (gcc-5.2.0.tar.bz2) = eaedd62e7a738f6bdc0e97a0c40fbbd75d35925b
Size (gcc-5.2.0.tar.bz2) = 95221552 bytes
SHA1 (isl-0.14.tar.bz2) = b09e25df265c97ed54002cd811d227a9a26c5f9c
RMD160 (isl-0.14.tar.bz2) = 4c69d026b51561bc1948cb7db79331b78a9d2c39
Size (isl-0.14.tar.bz2) = 1399896 bytes
SHA1 (patch-gcc_Makefile.in) = b2bceb34537de1cf704f18a59aa4e4d4a4551c62
SHA1 (patch-gcc_config.gcc) = bfa3897de6afa573ee44a60973611c4e9024f497
SHA1 (patch-gcc_config.host) = 1b1e11cd199eb93f49443d51c0063b09b7327858
SHA1 (patch-gcc_config_host-netbsd.c) = 765295f07edb8a68f1910e3a9b4dd2a7dcd491a5
SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
SHA1 (patch-gcc_config_netbsd-stdint.h) = 025fc883101a187e84ed4c0772406720d645d550
SHA1 (patch-gcc_config_netbsd.c) = 9d1327f926dece6e753093e759b5c8b707747ae1
SHA1 (patch-gcc_config_netbsd.h) = b722614a3822e9800a2a8f65a87e56927d05a1b1
SHA1 (patch-gcc_config_t-netbsd) = 802ad5706aa7ca9629f8e237f08fbb1569d28846
SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
SHA1 (patch-gcc_configure) = fc96c9e150e4c28fb937cc01256d1f958fe59f30
SHA1 (patch-gcc_ggc-common.c) = a5d2dba635859f5d680c3f80d7c30b42461c752b
SHA1 (patch-gcc_lto_lto.c) = 825b632e2a7ff5777d4fbfdcf6f0ea3f64c4742b
SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
SHA1 (patch-libcilkrts_configure) = 72a18f311d78d4b88a55441d76c10ddd85b28360
SHA1 (patch-libcilkrts_runtime_os-unix.c) = 653c5e3486d09bddae6a384edc2a3b3f2c95f74b
SHA1 (patch-libdecnumber_decNumber.c) = cec90e49c829bfc6ba1ec605d2fac7daaad62762
SHA1 (patch-libffi_configure) = bcfbfe8abddc378e2de4a39ad0669583b37e0292
SHA1 (patch-libffi_testsuite_libffi.call_float2.c) = 6321dde308579448c27c2b6e1e30633699dd145f
SHA1 (patch-libgcc_crtstuff.c) = d22dd1fb4a79aed2e7c2864f0bb00bcc338b3ab8
SHA1 (patch-libgcc_unwind-dw2-fde-dip.c) = 9c5e1823226521d11900b4d3b92c050d3941a1f6
SHA1 (patch-libgfortran_configure) = f80dd6f3bb8093d071a71001c62c7b6d563e4055
SHA1 (patch-libgo_Makefile.in) = 612987541f745c7be6835ce7fb7119884db294c3
SHA1 (patch-libgo_mksysinfo.sh) = 81f2c31c08215056309a3d9b6c724bae6ceff319
SHA1 (patch-libjava_boehm.cc) = bf5564261b02523927685340f59ce8faf7f84ace
SHA1 (patch-libjava_configure) = 48ea2baffe87e09dda8133d286bd9b1bfe4c3f8a
SHA1 (patch-libjava_contrib_rebuild-gcj-db.in) = bb01d738fc7db05046ae37e8ade32574de1d8297
SHA1 (patch-libsanitizer_configure.tgt) = dc6fdd14886eb82b1bb0c7b680ca4a3255f58944
SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h) = 014d442c885b9c51d1a4af05205279c274a9559d
SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc) = b63c2682336c9b6f0e0d7b900d6f40ad6e7a5ec4
SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h) = 626fc1f9c035ac5cef30a92d525af4e778835ebf
SHA1 (patch-libstdc++-v3_libsupc++_unwind-cxx.h) = 9784bfa4323f8498b36565d0fea28fce69ffdbb1

181
lang/gcc5/options.mk Normal file
View File

@@ -0,0 +1,181 @@
# $NetBSD: options.mk,v 1.1 2015/07/16 12:03:36 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.${GCC_PKGNAME}
PKG_SUPPORTED_OPTIONS= nls gcc-inplace-math gcc-c++ gcc-fortran \
gcc-go gcc-objc gcc-objc++ gcc-graphite gcc-java
PKG_SUGGESTED_OPTIONS= gcc-c++ gcc-fortran gcc-objc gcc-objc++ \
gcc-graphite gcc-inplace-math
.if ${OPSYS} == "NetBSD"
PKG_SUGGESTED_OPTIONS+= nls
.elif ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS+= nls
.elif ${OPSYS} == "DragonFly"
PKG_SUGGESTED_OPTIONS+= nls
.elif ${OPSYS} == "SunOS"
PKG_SUGGESTED_OPTIONS+= gcc-inplace-math
.else
.endif
###
### Determine if multilib is avalible.
###
MULTILIB_SUPPORTED?= unknown
.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
. if exists(/usr/include/gnu/stubs-64.h) && \
!exists(/usr/include/gnu/stubs-32.h)
MULTILIB_SUPPORTED=No
. else
MULTILIB_SUPPORTED=Yes
. endif
.endif
.if !empty(MULTILIB_SUPPORTED:M[Yy][Ee][Ss])
PKG_SUPPORTED_OPTIONS+= gcc-multilib
PKG_SUGGESTED_OPTIONS+= gcc-multilib
.endif
.include "../../mk/bsd.options.mk"
###
### Native Language Support
###
.if !empty(PKG_OPTIONS:Mnls)
USE_TOOLS+= msgfmt
CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
MAKE_ENV+= ICONVPREFIX=${BUILDLINK_PREFIX.iconv}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-nls
.endif
###
### Multilib Support
###
.if (!empty(MULTILIB_SUPPORTED:M[Yy][Ee][Ss]) && \
empty(PKG_OPTIONS:Mgcc-multilib) ) || \
!empty(MULTILIB_SUPPORTED:M[Nn][Oo])
CONFIGURE_ARGS+= --disable-multilib
.endif
###
### Build math libraries in place
###
.if !empty(PKG_OPTIONS:Mgcc-inplace-math)
. include "../../devel/gmp/inplace.mk"
. include "../../math/mpcomplex/inplace.mk"
. include "../../math/mpfr/inplace.mk"
.else
CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp}
CONFIGURE_ARGS+= --with-mpc=${BUILDLINK_PREFIX.mpcomplex}
CONFIGURE_ARGS+= --with-mpfr=${BUILDLINK_PREFIX.mpfr}
LIBS.SunOS+= -lgmp
. include "../../devel/gmp/buildlink3.mk"
. include "../../math/mpcomplex/buildlink3.mk"
. include "../../math/mpfr/buildlink3.mk"
.endif
###
### Graphite Support
###
.if !empty(PKG_OPTIONS:Mgcc-graphite)
ISL14 = isl-0.14
SITES.${ISL14}.tar.bz2 = ${MASTER_SITE_GNU:=gcc/infrastructure/}
DISTFILES += ${ISL14}.tar.bz2
.endif
###
### Optional languages
### Ada could be added although there is a bootstrapping issue. See
### ../gcc34-ada for guidance
###
.if !empty(PKG_OPTIONS:Mgcc-objc++)
. if empty(PKG_OPTIONS:Mgcc-c++)
PKG_OPTIONS+= gcc-c++
. endif
. if empty(PKG_OPTIONS:Mgcc-objc)
PKG_OPTIONS+= gcc-objc
. endif
LANGS+= obj-c++
.endif
.if !empty(PKG_OPTIONS:Mgcc-objc)
LANGS+= objc
.endif
.if !empty(PKG_OPTIONS:Mgcc-java)
. if empty(PKG_OPTIONS:Mgcc-c++)
PKG_OPTIONS+= gcc-c++
. endif
LANGS+= java
# Add the Eclipse Java compiler for to parse `.java' source files.
ECJ_JAR= ecj-4.5.jar
SITES.${ECJ_JAR}= ftp://sourceware.org/pub/java/
DISTFILES+= ${ECJ_JAR}
CONFIGURE_ARGS+= --with-ecj-jar=${DISTDIR:Q}/${ECJ_JAR:Q}
JAVA_NAME= ${GCC_PKGNAME}
JAVA_HOME= ${PREFIX}/java/${JAVA_NAME}
JAVA_WRAPPERS= appletviewer jar jarsigner java javah keytool \
native2ascii orbd rmic rmid rmiregistry serialver \
tnameserv
JAVA_ARCH= ${MACHINE_ARCH:S/x86_64/amd64/}
PLIST_SRC+= PLIST.java
PLIST_SUBST+= JAVA_NAME=${JAVA_NAME:Q}
PLIST_SUBST+= JAVA_ARCH=${JAVA_ARCH:Q}
# Create a JPackage compatible SDK environment.
CONFIGURE_ARGS+= --enable-java-home
CONFIGURE_ARGS+= --with-os-directory=${LOWER_OPSYS:Q}
CONFIGURE_ARGS+= --with-arch-directory=${JAVA_ARCH:Q}
CONFIGURE_ARGS+= --with-jvm-root-dir=${JAVA_HOME:Q}
CONFIGURE_ARGS+= --with-java-home=${JAVA_HOME:Q}
REPLACE_PYTHON= libjava/contrib/aot-compile.in
USE_TOOLS+= unzip zip:run gmake:run
CONFIGURE_ARGS+= --with-system-zlib
# libjava/contrib/aotcompile.py.in stores the path to a 'make' program so
# we need to make sure we give it the installed 'make' and not the tool
# wrapped one.
CONFIGURE_ENV+= PKGSRC_MAKE=${TOOLS_PATH.gmake}
MAKE_ENV+= PKGSRC_MAKE=${TOOLS_PATH.gmake}
# fastjar-0.93 from pkgsrc/archivers/fastjar seems to trigger a build
# failure (seen on NetBSD-5.0/i386) when building java. So in case
# the fastjar package is installed, make sure the configure script
# doesn't pick it up.
CONFIGURE_ENV+= JAR=no
MAKE_ENV+= JAR=no
MAKE_ENV+= ac_cv_prog_JAR=no
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/java-env.mk"
.endif
.if !empty(PKG_OPTIONS:Mgcc-go)
LANGS+= go
.endif
.if !empty(PKG_OPTIONS:Mgcc-fortran)
LANGS+= fortran
.endif
.if !empty(PKG_OPTIONS:Mgcc-c++)
LANGS+= c++
USE_TOOLS+= perl
CONFIGURE_ARGS+= --enable-__cxa_atexit
CONFIGURE_ARGS+= --with-gxx-include-dir=${GCC_PREFIX}/include/c++/
.else
CONFIGURE_ARGS+= --disable-build-with-cxx
CONFIGURE_ARGS+= --disable-build-poststage1-with-cxx
.endif

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-gcc_Makefile.in,v 1.2 2015/08/25 12:23:13 sevan Exp $
Add gcc libdir to a programs rpath so that _this gcc's_ support libraries
are found.
--- gcc/Makefile.in.orig 2013-03-05 09:46:34.000000000 +0000
+++ gcc/Makefile.in
@@ -2027,6 +2027,7 @@ prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_
# Language-independent files.
DRIVER_DEFINES = \
+ -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG)$(prefix)/@GCC_TARGET_MACHINE@/lib/%M $(LINKER_RPATH_FLAG)$(libdir)/%M \"" \
-DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
-DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
-DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \

View File

@@ -0,0 +1,39 @@
$NetBSD: patch-gcc_config.gcc,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- gcc/config.gcc.orig 2014-11-21 16:04:20.000000000 +0000
+++ gcc/config.gcc
@@ -745,10 +745,16 @@ case ${target} in
target_has_targetcm=yes
;;
*-*-netbsd*)
- tmake_file="t-slibgcc"
+ use_gcc_stdint=wrap
+ tmake_file="t-slibgcc t-netbsd"
gas=yes
gnu_ld=yes
+ # cabs/cabsf are renamed to __c99_cabs/cabsf
+ tm_p_file="${tm_p_file} netbsd-protos.h"
+ target_gtfiles="\$(srcdir)/config/netbsd.c"
+ extra_objs="netbsd.o"
+
# NetBSD 2.0 and later get POSIX threads enabled by default.
# Allow them to be explicitly enabled on any other version.
case ${enable_threads} in
@@ -1372,12 +1378,14 @@ x86_64-*-freebsd*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
;;
i[34567]86-*-netbsdelf*)
- tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h netbsd-stdint.h"
extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
+ tmake_file="${tmake_file} i386/t-crtstuff"
;;
x86_64-*-netbsd*)
- tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h"
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h netbsd-stdint.h"
extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
+ tmake_file="${tmake_file} i386/t-crtstuff"
;;
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
tm_file="i386/i386.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h i386/openbsd.h"

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-gcc_config.host,v 1.1 2015/08/06 07:21:29 martin Exp $
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
--- gcc/config.host.orig 2013-01-10 21:38:27.000000000 +0100
+++ gcc/config.host 2013-09-10 20:25:36.000000000 +0200
@@ -271,6 +271,10 @@
out_host_hook_obj=host-openbsd.o
host_xmake_file="${host_xmake_file} x-openbsd"
;;
+ *-*-netbsd*)
+ out_host_hook_obj=host-netbsd.o
+ host_xmake_file="${host_xmake_file} x-netbsd"
+ ;;
ia64-*-hpux*)
use_long_long_for_widest_fast_int=yes
out_host_hook_obj=host-hpux.o

View File

@@ -0,0 +1,93 @@
$NetBSD: patch-gcc_config_host-netbsd.c,v 1.1 2015/08/06 07:21:29 martin Exp $
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
--- /dev/null 2013-09-11 20:06:51.000000000 +0200
+++ gcc/config/host-netbsd.c 2013-09-11 20:29:31.000000000 +0200
@@ -0,0 +1,85 @@
+/* NetBSD host-specific hook definitions.
+ Copyright (C) 2004-2013 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+
+#include "config.h"
+#include "system.h"
+#include "coretypes.h"
+#include "hosthooks.h"
+#include "hosthooks-def.h"
+
+
+#undef HOST_HOOKS_GT_PCH_GET_ADDRESS
+#define HOST_HOOKS_GT_PCH_GET_ADDRESS netbsd_gt_pch_get_address
+#undef HOST_HOOKS_GT_PCH_USE_ADDRESS
+#define HOST_HOOKS_GT_PCH_USE_ADDRESS netbsd_gt_pch_use_address
+
+/* For various ports, try to guess a fixed spot in the vm space
+ that's probably free. */
+#if defined(__sparc64__)
+# define TRY_EMPTY_VM_SPACE 0x40000000000
+#elif defined(_LP64)
+# define TRY_EMPTY_VM_SPACE 0x400000000000
+#elif defined(__mips__) || defined(__vax__) || defined (__arm__)
+# define TRY_EMPTY_VM_SPACE 0x60000000
+#else
+# define TRY_EMPTY_VM_SPACE 0xb0000000
+#endif
+
+/* Determine a location where we might be able to reliably allocate
+ SIZE bytes. FD is the PCH file, though we should return with the
+ file unmapped. */
+
+static void *
+netbsd_gt_pch_get_address (size_t size, int fd)
+{
+ void *addr;
+
+ addr = mmap ((void *) TRY_EMPTY_VM_SPACE, size, PROT_READ | PROT_WRITE,
+ MAP_PRIVATE | MAP_FIXED, fd, 0);
+
+ /* If we failed the map, that means there's *no* free space. */
+ if (addr == (void *) MAP_FAILED)
+ return NULL;
+ /* Unmap the area before returning. */
+ munmap (addr, size);
+
+ return addr;
+}
+
+/* Map SIZE bytes of FD+OFFSET at BASE. Return 1 if we succeeded at
+ mapping the data at BASE, -1 if we couldn't. */
+
+static int
+netbsd_gt_pch_use_address (void *base, size_t size, int fd, size_t offset)
+{
+ void *addr;
+
+ /* We're called with size == 0 if we're not planning to load a PCH
+ file at all. This allows the hook to free any static space that
+ we might have allocated at link time. */
+ if (size == 0)
+ return -1;
+
+ addr = mmap (base, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, offset);
+
+ return addr == base ? 1 : -1;
+}
+
+
+const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;

View File

@@ -0,0 +1,34 @@
$NetBSD: patch-gcc_config_netbsd-protos.h,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- /dev/null 2014-12-15 07:13:57.000000000 +0000
+++ gcc/config/netbsd-protos.h
@@ -0,0 +1,29 @@
+/* Prototypes.
+ Copyright (C) 2001-2014 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+#ifndef _NETBSD_PROTOS_H_
+#define _NETBSD_PROTOS_H_
+
+double __c99_cabs (double complex);
+float __c99_cabsf (float complex);
+long double __c99_cabsl (long double complex);
+
+void netbsd_patch_builtins (void);
+
+#endif /* _NETBSD_PROTOS_H_ */

View File

@@ -0,0 +1,63 @@
$NetBSD: patch-gcc_config_netbsd-stdint.h,v 1.1 2015/07/16 12:03:36 ryoon Exp $
Copy gcc/config/freebsd-stdint.h to gcc/config/netbsd-stdint.h.
--- gcc/config/netbsd-stdint.h.orig 2012-04-02 09:19:19.577200540 +0000
+++ gcc/config/netbsd-stdint.h
@@ -0,0 +1,56 @@
+/* Definitions for <stdint.h> types for NetBSD systems.
+ Copyright (C) 2009 Free Software Foundation, Inc.
+ Contributed by Gerald Pfeifer <gerald@pfeifer.com>.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the GCC Runtime Library Exception, version
+3.1, as published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and
+a copy of the GCC Runtime Library Exception along with this program;
+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+<http://www.gnu.org/licenses/>. */
+
+#define SIG_ATOMIC_TYPE "int"
+
+#define INT8_TYPE "signed char"
+#define INT16_TYPE "short int"
+#define INT32_TYPE "int"
+#define INT64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
+#define UINT8_TYPE "unsigned char"
+#define UINT16_TYPE "short unsigned int"
+#define UINT32_TYPE "unsigned int"
+#define UINT64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
+
+#define INT_LEAST8_TYPE "signed char"
+#define INT_LEAST16_TYPE "short int"
+#define INT_LEAST32_TYPE "int"
+#define INT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
+#define UINT_LEAST8_TYPE "unsigned char"
+#define UINT_LEAST16_TYPE "short unsigned int"
+#define UINT_LEAST32_TYPE "unsigned int"
+#define UINT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
+
+#define INT_FAST8_TYPE "int"
+#define INT_FAST16_TYPE "int"
+#define INT_FAST32_TYPE "int"
+#define INT_FAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
+#define UINT_FAST8_TYPE "unsigned int"
+#define UINT_FAST16_TYPE "unsigned int"
+#define UINT_FAST32_TYPE "unsigned int"
+#define UINT_FAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
+
+#define INTPTR_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "int")
+#define UINTPTR_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "unsigned int")

View File

@@ -0,0 +1,127 @@
$NetBSD: patch-gcc_config_netbsd.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- /dev/null 2015-01-20 20:33:39.000000000 +0000
+++ gcc/config/netbsd.c
@@ -0,0 +1,122 @@
+/* Functions for generic NetBSD as target machine for GNU C compiler.
+ Copyright (C) 1989-2014 Free Software Foundation, Inc.
+ Contributed by Apple Computer Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+
+#include "config.h"
+#include "system.h"
+#include "coretypes.h"
+#include "tm.h"
+#include "rtl.h"
+#include "regs.h"
+#include "hard-reg-set.h"
+#include "insn-config.h"
+#include "conditions.h"
+#include "insn-flags.h"
+#include "output.h"
+#include "insn-attr.h"
+#include "flags.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "vec.h"
+#include "double-int.h"
+#include "input.h"
+#include "alias.h"
+#include "symtab.h"
+#include "wide-int.h"
+#include "inchash.h"
+#include "tree.h"
+#include "fold-const.h"
+#include "stringpool.h"
+#include "varasm.h"
+#include "stor-layout.h"
+#include "hashtab.h"
+#include "function.h"
+#include "statistics.h"
+#include "real.h"
+#include "fixed-value.h"
+#include "expmed.h"
+#include "dojump.h"
+#include "explow.h"
+#include "calls.h"
+#include "emit-rtl.h"
+#include "stmt.h"
+#include "expr.h"
+#include "reload.h"
+#include "ggc.h"
+#include "langhooks.h"
+#include "target.h"
+#include "tm_p.h"
+#include "diagnostic-core.h"
+#include "toplev.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
+#include "df.h"
+#include "debug.h"
+#include "obstack.h"
+#include "hash-table.h"
+#include "tree-ssa-alias.h"
+#include "internal-fn.h"
+#include "gimple-fold.h"
+#include "tree-eh.h"
+#include "gimple-expr.h"
+#include "is-a.h"
+#include "gimple.h"
+#include "gimplify.h"
+#include "hash-map.h"
+#include "plugin-api.h"
+#include "ipa-ref.h"
+#include "cgraph.h"
+#include "lto-streamer.h"
+#include "lto-section-names.h"
+
+static void
+netbsd_patch_builtin (enum built_in_function fncode)
+{
+ tree fn = builtin_decl_explicit (fncode);
+ tree sym;
+ char *newname;
+
+ if (!fn)
+ return;
+
+ sym = DECL_ASSEMBLER_NAME (fn);
+ newname = ACONCAT (("__c99_", IDENTIFIER_POINTER (sym), NULL));
+
+ set_user_assembler_name (fn, newname);
+
+ fn = builtin_decl_implicit (fncode);
+ if (fn)
+ set_user_assembler_name (fn, newname);
+}
+
+void
+netbsd_patch_builtins (void)
+{
+ netbsd_patch_builtin (BUILT_IN_CABSF);
+ netbsd_patch_builtin (BUILT_IN_CABS);
+ netbsd_patch_builtin (BUILT_IN_CABSL);
+}

View File

@@ -0,0 +1,24 @@
$NetBSD: patch-gcc_config_netbsd.h,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- gcc/config/netbsd.h.orig 2014-01-02 22:23:26.000000000 +0000
+++ gcc/config/netbsd.h
@@ -17,6 +17,9 @@ You should have received a copy of the G
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+
+#include "netbsd-protos.h"
+
/* TARGET_OS_CPP_BUILTINS() common to all NetBSD targets. */
#define NETBSD_OS_CPP_BUILTINS_COMMON() \
do \
@@ -175,3 +178,9 @@ along with GCC; see the file COPYING3.
#undef WINT_TYPE
#define WINT_TYPE "int"
+
+#undef SUBTARGET_INIT_BUILTINS
+#define SUBTARGET_INIT_BUILTINS \
+do { \
+ netbsd_patch_builtins (); \
+} while(0)

View File

@@ -0,0 +1,28 @@
$NetBSD: patch-gcc_config_t-netbsd,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- /dev/null 2014-12-16 20:23:05.000000000 +0000
+++ gcc/config/t-netbsd
@@ -0,0 +1,23 @@
+# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>.
+
+
+netbsd.o: $(srcdir)/config/netbsd.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-gcc_config_x-netbsd,v 1.2 2015/08/06 07:21:29 martin Exp $
Add host hooks for NetBSD - needed for working precompiled headers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
--- /dev/null 2013-09-11 09:12:57.000000000 +0200
+++ gcc/config/x-netbsd 2013-09-10 18:57:27.000000000 +0200
@@ -0,0 +1,4 @@
+host-netbsd.o : $(srcdir)/config/host-netbsd.c $(CONFIG_H) $(SYSTEM_H) \
+ coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
+ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ $(srcdir)/config/host-netbsd.c

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-gcc_configure,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- gcc/configure.orig 2014-05-21 11:08:58.000000000 +0000
+++ gcc/configure
@@ -27332,6 +27332,13 @@ case "$target" in
gcc_cv_target_dl_iterate_phdr=no
fi
;;
+ *-*-netbsd* | *-*-openbsd*)
+ if grep dl_iterate_phdr $target_header_dir/sys/link_elf.h > /dev/null 2>&1; then
+ gcc_cv_target_dl_iterate_phdr=yes
+ else
+ gcc_cv_target_dl_iterate_phdr=no
+ fi
+ ;;
esac
if test x$gcc_cv_target_dl_iterate_phdr = xyes; then

View File

@@ -0,0 +1,71 @@
$NetBSD: patch-gcc_ggc-common.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- gcc/ggc-common.c.orig 2014-12-10 03:45:40.000000000 +0000
+++ gcc/ggc-common.c
@@ -603,6 +603,8 @@ gt_pch_restore (FILE *f)
size_t i;
struct mmap_info mmi;
int result;
+ struct line_maps * old_line_table = line_table;
+ location_t old_input_loc = input_location;
/* Delete any deletable objects. This makes ggc_pch_read much
faster, as it can be sure that no GCable objects remain other
@@ -616,32 +618,50 @@ gt_pch_restore (FILE *f)
/* Read in all the scalar variables. */
for (rt = gt_pch_scalar_rtab; *rt; rt++)
for (rti = *rt; rti->base != NULL; rti++)
- if (fread (rti->base, rti->stride, 1, f) != 1)
+ if (fread (rti->base, rti->stride, 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error (input_location, "can%'t read PCH file: %m");
+ }
/* Read in all the global pointers, in 6 easy loops. */
for (rt = gt_ggc_rtab; *rt; rt++)
for (rti = *rt; rti->base != NULL; rti++)
for (i = 0; i < rti->nelt; i++)
if (fread ((char *)rti->base + rti->stride * i,
- sizeof (void *), 1, f) != 1)
+ sizeof (void *), 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error (input_location, "can%'t read PCH file: %m");
+ }
- if (fread (&mmi, sizeof (mmi), 1, f) != 1)
+ if (fread (&mmi, sizeof (mmi), 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error (input_location, "can%'t read PCH file: %m");
+ }
result = host_hooks.gt_pch_use_address (mmi.preferred_base, mmi.size,
fileno (f), mmi.offset);
- if (result < 0)
+ if (result < 0) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error (input_location, "had to relocate PCH");
+ }
if (result == 0)
{
if (fseek (f, mmi.offset, SEEK_SET) != 0
- || fread (mmi.preferred_base, mmi.size, 1, f) != 1)
+ || fread (mmi.preferred_base, mmi.size, 1, f) != 1) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
fatal_error (input_location, "can%'t read PCH file: %m");
+ }
}
- else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0)
- fatal_error (input_location, "can%'t read PCH file: %m");
+ else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0) {
+ line_table = old_line_table;
+ input_location = old_input_loc;
+ fatal_error (input_location, "can%'t read PCH file: %m");
+ }
ggc_pch_read (f, mmi.preferred_base);

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-gcc_lto_lto.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- gcc/lto/lto.c.orig 2015-01-30 16:15:00.000000000 +0000
+++ gcc/lto/lto.c
@@ -2495,7 +2495,13 @@ wait_for_child ()
#ifndef WCONTINUED
#define WCONTINUED 0
#endif
- int w = waitpid (0, &status, WUNTRACED | WCONTINUED);
+
+#if defined(__NetBSD__)
+ int w = waitpid(0, &status, WUNTRACED | WALLSIG);
+#else
+ int w = waitpid(0, &status, WUNTRACED | WCONTINUED);
+#endif
+
if (w == -1)
fatal_error (input_location, "waitpid failed");

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-gcc_system.h,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- gcc/system.h.orig 2013-04-29 18:37:29.000000000 +0000
+++ gcc/system.h
@@ -72,18 +72,22 @@ along with GCC; see the file COPYING3.
#if defined HAVE_DECL_PUTC_UNLOCKED && HAVE_DECL_PUTC_UNLOCKED
+# if !defined(__NetBSD__)
# ifdef HAVE_PUTC_UNLOCKED
# undef putc
# define putc(C, Stream) putc_unlocked (C, Stream)
# endif
+# endif
# ifdef HAVE_PUTCHAR_UNLOCKED
# undef putchar
# define putchar(C) putchar_unlocked (C)
# endif
+# if !defined(__NetBSD__)
# ifdef HAVE_GETC_UNLOCKED
# undef getc
# define getc(Stream) getc_unlocked (Stream)
# endif
+# endif
# ifdef HAVE_GETCHAR_UNLOCKED
# undef getchar
# define getchar() getchar_unlocked ()

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libcilkrts_configure,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libcilkrts/configure.orig 2014-08-12 11:06:44.000000000 +0000
+++ libcilkrts/configure
@@ -14519,7 +14519,7 @@ esac
CFLAGS="$save_CFLAGS"
if test $enable_shared = yes; then
- link_cilkrts="-lcilkrts %{static: $LIBS}"
+ link_cilkrts="-rpath ${PREFIX}/gcc50snapshot/lib --as-needed -lgcc_s -lcilkrts %{static $LIBS}"
else
link_cilkrts="-lcilkrts $LIBS"
fi

View File

@@ -0,0 +1,33 @@
$NetBSD: patch-libcilkrts_runtime_os-unix.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libcilkrts/runtime/os-unix.c.orig 2014-05-21 11:08:58.000000000 +0000
+++ libcilkrts/runtime/os-unix.c
@@ -56,7 +56,9 @@
// Uses sysconf(_SC_NPROCESSORS_ONLN) in verbose output
#elif defined __DragonFly__
// No additional include files
-#elif defined __FreeBSD__
+#elif defined __FreeBSD__
+// No additional include files
+#elif defined __NetBSD__
// No additional include files
#elif defined __CYGWIN__
// Cygwin on Windows - no additional include files
@@ -376,7 +378,7 @@ COMMON_SYSDEP int __cilkrts_hardware_cpu
assert((unsigned)count == count);
return count;
-#elif defined __FreeBSD__ || defined __CYGWIN__ || defined __DragonFly__
+#elif defined __FreeBSD__ || defined __CYGWIN__ || defined __DragonFly__ || defined __NetBSD__
int ncores = sysconf(_SC_NPROCESSORS_ONLN);
return ncores;
@@ -400,7 +402,7 @@ COMMON_SYSDEP void __cilkrts_sleep(void)
COMMON_SYSDEP void __cilkrts_yield(void)
{
-#if __APPLE__ || __FreeBSD__ || __VXWORKS__
+#if __APPLE__ || __FreeBSD__ || __NetBSD__ || __VXWORKS__
// On MacOS, call sched_yield to yield quantum. I'm not sure why we
// don't do this on Linux also.
sched_yield();

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libdecnumber_decNumber.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libdecnumber/decNumber.c.orig 2013-08-14 08:42:04.000000000 +0000
+++ libdecnumber/decNumber.c
@@ -770,7 +770,7 @@ decNumber * decNumberAbs(decNumber *res,
decNumber * decNumberAdd(decNumber *res, const decNumber *lhs,
const decNumber *rhs, decContext *set) {
uInt status=0; /* accumulator */
- decAddOp(res, lhs, rhs, set, 0, &status);
+ decAddOp(res, lhs, rhs, set, (uByte)0, &status);
if (status!=0) decStatus(res, status, set);
#if DECCHECK
decCheckInexact(res, set);

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libffi_configure,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libffi/configure.orig 2013-06-01 17:03:49.000000000 +0000
+++ libffi/configure
@@ -12689,7 +12689,7 @@ case "$target" in
$as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
;;
- *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
+ *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-netbsd* | *-*-openbsd* | *-pc-solaris*)
$as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libffi_testsuite_libffi.call_float2.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libffi/testsuite/libffi.call/float2.c.orig 2013-06-01 17:08:18.000000000 +0000
+++ libffi/testsuite/libffi.call/float2.c
@@ -45,7 +45,7 @@ int main (void)
/* This is ifdef'd out for now. long double support under SunOS/gcc
is pretty much non-existent. You'll get the odd bus error in library
routines like printf(). */
- printf ("%Lf, %Lf, %Lf, %Lf\n", ld, ldblit(f), ld - ldblit(f), LDBL_EPSILON);
+ printf ("%Lf, %Lf, %Lf, %Lf\n", (long double)ld, (long double)ldblit(f), (long double)(ld - ldblit(f)), (long double)LDBL_EPSILON);
#endif
/* These are not always the same!! Check for a reasonable delta */

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-libgcc_crtstuff.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libgcc/crtstuff.c.orig 2014-09-22 00:49:01.000000000 +0000
+++ libgcc/crtstuff.c
@@ -81,7 +81,8 @@ call_ ## FUNC (void) \
#endif
#if defined(TARGET_DL_ITERATE_PHDR) && \
- (defined(__DragonFly__) || defined(__FreeBSD__))
+ (defined(__DragonFly__) || defined(__FreeBSD__) || \
+ defined(__NetBSD__) || defined(__OpenBSD__))
#define BSD_DL_ITERATE_PHDR_AVAILABLE
#endif

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libgcc_unwind-dw2-fde-dip.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libgcc/unwind-dw2-fde-dip.c.orig 2014-05-21 11:08:58.000000000 +0000
+++ libgcc/unwind-dw2-fde-dip.c
@@ -65,7 +65,7 @@
#endif
#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
- && defined(__OpenBSD__)
+ && defined(__OpenBSD__) || defined(__NetBSD__)
# define ElfW(type) Elf_##type
# define USE_PT_GNU_EH_FRAME
#endif

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libgfortran_configure,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libgfortran/configure.orig 2014-12-07 22:38:00.000000000 +0000
+++ libgfortran/configure
@@ -26447,7 +26447,7 @@ $as_echo "#define SUPPORTS_WEAK 1" >>con
fi
case "$host" in
- *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
+ *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-netbsd* )
$as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-libgo_Makefile.in,v 1.1 2015/07/16 12:03:36 ryoon Exp $
proc.c will not compile with inline-functions (implied by -O3)
so add -fno-inline-functions to it's cflags.
--- libgo/Makefile.in.orig 2012-08-06 14:34:27.000000000 +0000
+++ libgo/Makefile.in
@@ -3051,7 +3051,7 @@ print.lo: runtime/print.c
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o print.lo `test -f 'runtime/print.c' || echo '$(srcdir)/'`runtime/print.c
proc.lo: runtime/proc.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT proc.lo -MD -MP -MF $(DEPDIR)/proc.Tpo -c -o proc.lo `test -f 'runtime/proc.c' || echo '$(srcdir)/'`runtime/proc.c
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -fno-inline-functions $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT proc.lo -MD -MP -MF $(DEPDIR)/proc.Tpo -c -o proc.lo `test -f 'runtime/proc.c' || echo '$(srcdir)/'`runtime/proc.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/proc.Tpo $(DEPDIR)/proc.Plo
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='runtime/proc.c' object='proc.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libgo_mksysinfo.sh,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libgo/mksysinfo.sh.orig 2014-11-12 07:15:40.000000000 +0000
+++ libgo/mksysinfo.sh
@@ -470,7 +470,7 @@ upcase_fields () {
# GNU/Linux specific; it should do no harm if there is no
# _user_regs_struct.
regs=`grep '^type _user_regs_struct struct' gen-sysinfo.go || true`
-if test "$regs" == ""; then
+if test "$regs" = ""; then
# s390
regs=`grep '^type __user_regs_struct struct' gen-sysinfo.go || true`
if test "$regs" != ""; then

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-libjava_boehm.cc,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libjava/boehm.cc.orig 2014-05-20 18:02:20.000000000 +0000
+++ libjava/boehm.cc
@@ -748,7 +748,7 @@ _Jv_GCAttachThread ()
// only actually works if pthread_getattr_np is defined.
// FIXME: until gc7 it is simpler to disable this on solaris.
#if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(GC_SOLARIS_THREADS) \
- && !defined(GC_WIN32_THREADS)
+ && !defined(__NetBSD__) && !defined(GC_WIN32_THREADS)
GC_register_my_thread ();
#endif
}
@@ -757,7 +757,7 @@ void
_Jv_GCDetachThread ()
{
#if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(GC_SOLARIS_THREADS) \
- && !defined(GC_WIN32_THREADS)
+ && !defined(__NetBSD__) && !defined(GC_WIN32_THREADS)
GC_unregister_my_thread ();
#endif
}

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-libjava_configure,v 1.1 2015/07/16 12:03:36 ryoon Exp $
Avoid a reference to the wrapped make in the pkgsrc work directory from
showing up in an installed file.
See: libjava/contrib/aotcompile.py.in
--- libjava/configure.orig 2012-03-22 07:37:39.000000000 +0000
+++ libjava/configure
@@ -24692,7 +24692,7 @@ $as_echo "Python modules dir: ${python_m
# needed for aot-compile-rpm
-MAKE=`which make`
+MAKE=${PKGSRC_MAKE}
# Check whether --enable-aot-compile-rpm was given.

View File

@@ -0,0 +1,29 @@
$NetBSD: patch-libjava_contrib_rebuild-gcj-db.in,v 1.1 2015/07/16 12:03:36 ryoon Exp $
No need to use bash for this small script.
Also -print0 is not portable to solaris and perhaps others.
--- libjava/contrib/rebuild-gcj-db.in.orig 2008-07-02 13:17:54.000000000 +0000
+++ libjava/contrib/rebuild-gcj-db.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# rebuild-gcj-db
## Copyright (C) 2000, 2002, 2003, 2008 Free Software Foundation
@@ -16,12 +16,12 @@ for i in `@prefix@/bin/gcc --print-multi
base=@prefix@/lib/$dirname
dbLocation=`@prefix@/bin/gcj-dbtool -p $base`
libdir=$base/gcj
- if ! test -d $libdir; then
+ if test ! -d $libdir; then
# No shared libraries here.
continue
fi
dirname $dbLocation | xargs mkdir -p
@prefix@/bin/gcj-dbtool -n $dbLocation 64
- find $libdir -follow -name '*.db' -print0 | \
+ find $libdir -follow -name '*.db' -print | @AWK@ '{printf("%s%c", $1, 0);}'|\
@prefix@/bin/gcj-dbtool -0 -m $dbLocation $dbLocation
done

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libsanitizer_configure.tgt,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libsanitizer/configure.tgt.orig 2014-09-26 13:07:42.000000000 +0000
+++ libsanitizer/configure.tgt
@@ -37,7 +37,7 @@ case "${target}" in
;;
aarch64*-*-linux*)
;;
- x86_64-*-darwin[1]* | i?86-*-darwin[1]*)
+ x86_64-*-darwin[1][1-9]* | i?86-*-darwin[1][1-9]*)
TSAN_SUPPORTED=no
;;
*)

View File

@@ -0,0 +1,37 @@
$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libstdc++-v3/config/os/bsd/netbsd/ctype_base.h.orig 2013-02-03 17:54:05.000000000 +0000
+++ libstdc++-v3/config/os/bsd/netbsd/ctype_base.h
@@ -43,9 +43,22 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
// NB: Offsets into ctype<char>::_M_table force a particular size
// on the mask type. Because of this, we don't use an enum.
- typedef unsigned char mask;
-#ifndef _CTYPE_U
+#if defined(_CTYPE_BL)
+ typedef unsigned short mask;
+ static const mask upper = _CTYPE_U;
+ static const mask lower = _CTYPE_L;
+ static const mask alpha = _CTYPE_A;
+ static const mask digit = _CTYPE_D;
+ static const mask xdigit = _CTYPE_X;
+ static const mask space = _CTYPE_S;
+ static const mask print = _CTYPE_R;
+ static const mask graph = _CTYPE_G;
+ static const mask cntrl = _CTYPE_C;
+ static const mask punct = _CTYPE_P;
+ static const mask alnum = _CTYPE_A | _CTYPE_D;
+#elif !defined(_CTYPE_U)
+ typedef unsigned char mask;
static const mask upper = _U;
static const mask lower = _L;
static const mask alpha = _U | _L;
@@ -58,6 +71,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
static const mask punct = _P;
static const mask alnum = _U | _L | _N;
#else
+ typedef unsigned char mask;
static const mask upper = _CTYPE_U;
static const mask lower = _CTYPE_L;
static const mask alpha = _CTYPE_U | _CTYPE_L;

View File

@@ -0,0 +1,57 @@
$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libstdc++-v3/config/os/bsd/netbsd/ctype_configure_char.cc.orig 2013-02-03 17:54:05.000000000 +0000
+++ libstdc++-v3/config/os/bsd/netbsd/ctype_configure_char.cc
@@ -38,11 +38,17 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
// Information as gleaned from /usr/include/ctype.h
+#ifndef _CTYPE_BL
extern "C" const u_int8_t _C_ctype_[];
+#endif
const ctype_base::mask*
ctype<char>::classic_table() throw()
- { return _C_ctype_ + 1; }
+#ifdef _CTYPE_BL
+ { return _C_ctype_tab_ + 1; }
+#else
+ { return _C_ctype_ + 1; }
+#endif
ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
size_t __refs)
@@ -69,14 +75,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
char
ctype<char>::do_toupper(char __c) const
- { return ::toupper((int) __c); }
+ { return ::toupper((int)(unsigned char) __c); }
const char*
ctype<char>::do_toupper(char* __low, const char* __high) const
{
while (__low < __high)
{
- *__low = ::toupper((int) *__low);
+ *__low = ::toupper((int)(unsigned char) *__low);
++__low;
}
return __high;
@@ -84,14 +90,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
char
ctype<char>::do_tolower(char __c) const
- { return ::tolower((int) __c); }
+ { return ::tolower((int)(unsigned char) __c); }
const char*
ctype<char>::do_tolower(char* __low, const char* __high) const
{
while (__low < __high)
{
- *__low = ::tolower((int) *__low);
+ *__low = ::tolower((int)(unsigned char) *__low);
++__low;
}
return __high;

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libstdc++-v3/config/os/bsd/netbsd/ctype_inline.h.orig 2013-02-03 17:54:05.000000000 +0000
+++ libstdc++-v3/config/os/bsd/netbsd/ctype_inline.h
@@ -48,7 +48,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
is(const char* __low, const char* __high, mask* __vec) const
{
while (__low < __high)
- *__vec++ = _M_table[*__low++];
+ *__vec++ = _M_table[(unsigned char)*__low++];
return __high;
}

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-libstdc++-v3_libsupc++_unwind-cxx.h,v 1.1 2015/07/16 12:03:36 ryoon Exp $
--- libstdc++-v3/libsupc++/unwind-cxx.h.orig 2013-03-19 17:04:44.000000000 +0000
+++ libstdc++-v3/libsupc++/unwind-cxx.h
@@ -38,6 +38,7 @@
#include <cxxabi.h>
#ifdef _GLIBCXX_HAVE_SYS_SDT_H
+#include <cstdlib>
#include <sys/sdt.h>
/* We only want to use stap probes starting with v3. Earlier versions
added too much startup cost. */

2
lang/gcc5/version.mk Normal file
View File

@@ -0,0 +1,2 @@
# $NetBSD: version.mk,v 1.2 2015/07/25 03:46:02 ryoon Exp $
GCC5_DIST_VERSION:=5.2.0

View File

@@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.21 2015/06/12 10:50:15 wiz Exp $
# $NetBSD: Makefile,v 1.22 2015/08/18 07:31:01 wiz Exp $
# -----------------------------------------------------------------------------
# Package metadata
#
DISTNAME= ghc-7.6.3-src
PKGNAME= ${DISTNAME:S/-src$//}
PKGREVISION= 7
PKGREVISION= 8
CATEGORIES= lang
MASTER_SITES= http://www.haskell.org/ghc/dist/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.bz2

View File

@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.7 2015/02/20 19:10:29 pho Exp $
# $NetBSD: buildlink3.mk,v 1.8 2015/08/18 07:31:01 wiz Exp $
BUILDLINK_TREE+= ghc
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= ghc
GHC_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ghc+= ghc>=7.6.3
BUILDLINK_ABI_DEPENDS.ghc+= ghc>=7.6.3nb6
BUILDLINK_ABI_DEPENDS.ghc+= ghc>=7.6.3nb8
BUILDLINK_PKGSRCDIR.ghc?= ../../lang/ghc7
# On FreeBSD we need pkgsrc libiconv. See bootstrap.mk for details.

3
lang/gnucobol/DESCR Normal file
View File

@@ -0,0 +1,3 @@
GnuCOBOL, formerly OpenCOBOL, is an open-source COBOL compiler,
which translates COBOL programs to C code and compiles it using
GCC.

35
lang/gnucobol/Makefile Normal file
View File

@@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.3 2015/08/18 07:31:10 wiz Exp $
#
DISTNAME= gnu-cobol-2.0_nightly_r411
PKGNAME= opencobol-2.0alpha1
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
MAINTAINER= rodo@bloerp.de
HOMEPAGE= https://sourceforge.net/projects/open-cobol/
COMMENT= Open-source COBOL compiler
CONFLICTS= opensource-cobol-[0-9]* open-cobol-ce-[0-9]*
WRKSRC= ${WRKDIR}/gnu-cobol-2.0
BDB_ACCEPTED= db4 db5
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-db
CONFIGURE_ARGS+= --with-lfs
CONFIGURE_ARGS+= --without-readline
INFO_FILES= yes
CONFIGURE_ENV+= cobdb=${BDB_TYPE}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

25
lang/gnucobol/PLIST Normal file
View File

@@ -0,0 +1,25 @@
@comment $NetBSD: PLIST,v 1.1 2015/07/01 14:23:55 ryoon Exp $
bin/cob-config
bin/cobc
bin/cobcrun
include/libcob.h
include/libcob/cobgetopt.h
include/libcob/common.h
include/libcob/exception.def
info/gnucobol.info
lib/gnu-cobol/CBL_OC_DUMP.so
lib/libcob.la
share/gnu-cobol/config/bs2000.conf
share/gnu-cobol/config/cobol2002.conf
share/gnu-cobol/config/cobol85.conf
share/gnu-cobol/config/default.conf
share/gnu-cobol/config/ibm.conf
share/gnu-cobol/config/mf.conf
share/gnu-cobol/config/mvs.conf
share/gnu-cobol/copy/screenio.cpy
share/gnu-cobol/copy/sqlca.cpy
share/gnu-cobol/copy/sqlda.cpy
share/locale/en@boldquot/LC_MESSAGES/gnu-cobol.mo
share/locale/en@quot/LC_MESSAGES/gnu-cobol.mo
share/locale/es/LC_MESSAGES/gnu-cobol.mo
share/locale/ja/LC_MESSAGES/gnu-cobol.mo

6
lang/gnucobol/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2015/07/01 14:23:55 ryoon Exp $
SHA1 (gnu-cobol-2.0_nightly_r411.tar.gz) = 009215c090b9a90fbf02bbc913095ce2a9b31910
RMD160 (gnu-cobol-2.0_nightly_r411.tar.gz) = a5a219a7d08ea498dab653a02fc54f0fa1205d99
Size (gnu-cobol-2.0_nightly_r411.tar.gz) = 1748284 bytes
SHA1 (patch-configure) = d0b3241e95c5910d083ff56cd33527cf871190b1

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-configure,v 1.1 2015/07/01 14:23:55 ryoon Exp $
* Improve POSIX shell compatibility.
* Detect pkgsrc berkeley db library.
--- configure.orig 2014-08-21 18:24:14.000000000 +0000
+++ configure
@@ -13672,7 +13672,7 @@ $as_echo_n "checking matching GMP versio
COB_GMP_LIB_MAJOR=$(echo $COB_GMP_LIB | cut -d. -f1)
COB_GMP_LIB_MINOR=$(echo $COB_GMP_LIB | cut -d. -f2)
-if test "$COB_GMP_HEADER" == "$COB_GMP_LIB_MAJOR.$COB_GMP_LIB_MINOR"
+if test "$COB_GMP_HEADER" = "$COB_GMP_LIB_MAJOR.$COB_GMP_LIB_MINOR"
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($COB_GMP_HEADER)" >&5
$as_echo "yes ($COB_GMP_HEADER)" >&6; }
@@ -16271,7 +16271,7 @@ $as_echo "no ($COB_BDB_HEADER)" >&6; }
cob_got_db=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley DB library with version $COB_BDB_HEADER" >&5
$as_echo_n "checking for Berkeley DB library with version $COB_BDB_HEADER... " >&6; }
- for cobdb in db db-$COB_BDB_HEADER
+ for cobdb in db db$COB_BDB_HEADER_MAJOR-$COB_BDB_HEADER
do
LIBS="$MYOLDLIBS -l$cobdb"
if test "$cross_compiling" = yes; then :

View File

@@ -1,13 +1,11 @@
# $NetBSD: Makefile,v 1.29 2015/06/12 10:50:15 wiz Exp $
# $NetBSD: Makefile,v 1.34 2015/09/13 19:11:55 fhajny Exp $
.include "version.mk"
DISTNAME= go${GO_VERSION}.src
PKGNAME= go-${GO_VERSION}
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= https://storage.googleapis.com/golang/
PATCH_SITES= https://codereview.appspot.com/download/
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= http://golang.org/
@@ -26,42 +24,40 @@ BUILDLINK_PASSTHRU_DIRS+= ${TMPDIR}
# bash script may use unportable bash constructs
CHECK_PORTABILITY_SKIP= lib/time/update.bash
CHECK_PORTABILITY_SKIP= misc/ios/clangwrap.sh
GOROOT_FINAL= ${PREFIX}/go
INSTALLATION_DIRS= bin
REPLACE_BASH+= doc/articles/wiki/test.bash
REPLACE_BASH+= doc/codewalk/run
REPLACE_BASH+= doc/progs/run
REPLACE_BASH+= doc/progs/update.bash
REPLACE_BASH+= lib/time/update.bash
REPLACE_BASH+= misc/arm/a
REPLACE_BASH+= misc/benchcmp
REPLACE_BASH+= misc/cgo/errors/test.bash
REPLACE_BASH+= misc/cgo/testcdefs/test.bash
REPLACE_BASH+= misc/cgo/testcarchive/test.bash
REPLACE_BASH+= misc/cgo/testcshared/test.bash
REPLACE_BASH+= misc/cgo/testgodefs/test.bash
REPLACE_BASH+= misc/cgo/testso/test.bash
REPLACE_BASH+= misc/makerelease/darwin/scripts/postinstall
REPLACE_BASH+= misc/makerelease/darwin/scripts/preinstall
REPLACE_BASH+= misc/nacl/go_nacl_386_exec
REPLACE_BASH+= misc/nacl/go_nacl_amd64p32_exec
REPLACE_BASH+= misc/nacl/go_nacl_arm_exec
REPLACE_BASH+= src/all.bash
REPLACE_BASH+= src/androidtest.bash
REPLACE_BASH+= src/bootstrap.bash
REPLACE_BASH+= src/buildall.bash
REPLACE_BASH+= src/clean.bash
REPLACE_BASH+= src/cmd/go/mkdoc.sh
REPLACE_BASH+= src/cmd/go/test.bash
REPLACE_BASH+= src/cmd/compile/internal/big/vendor.bash
REPLACE_BASH+= src/cmd/go/mkalldocs.sh
REPLACE_BASH+= src/iostest.bash
REPLACE_BASH+= src/make.bash
REPLACE_BASH+= src/nacltest.bash
REPLACE_BASH+= src/race.bash
REPLACE_BASH+= src/run.bash
REPLACE_BASH+= src/runtime/mknacl.sh
REPLACE_BASH+= src/sudo.bash
REPLACE_BASH+= src/syscall/mkall.sh
REPLACE_BASH+= src/syscall/mkerrors.sh
REPLACE_BASH+= src/syscall/mksysnum_plan9.sh
REPLACE_BASH+= test/bench/shootout/timing.sh
REPLACE_BASH+= test/run
REPLACE_PERL+= src/net/http/cgi/testdata/test.cgi
REPLACE_PERL+= src/regexp/syntax/make_perl_groups.pl
@@ -75,8 +71,15 @@ CHECK_INTERPRETER_SKIP+= go/src/clean.rc
CHECK_INTERPRETER_SKIP+= go/src/make.rc
CHECK_INTERPRETER_SKIP+= go/src/run.rc
BUILD_DEPENDS+= go14-1.4*:../../lang/go14
GOROOT_BOOTSTRAP= ${PREFIX}/go14
pre-build:
cd ${WRKSRC}/src/syscall && ${PERL5} mksyscall_solaris.pl \
syscall_solaris.go syscall_solaris_amd64.go > zsyscall_solaris_amd64.go
do-build:
cd ${WRKSRC}/src && env GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./make.bash
cd ${WRKSRC}/src && env GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:Q} GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./make.bash
do-install:
cd ${WRKSRC} && rm -rf .hgignore .hgtags pkg/obj
@@ -86,4 +89,7 @@ do-install:
cd ${DESTDIR}${PREFIX}/bin && ln -sf ../go/bin/${cmd} ${cmd}
.endfor
do-test:
cd ${WRKSRC}/src && GOROOT=${WRKSRC} PATH=${WRKSRC}/bin:${PATH} ${BASH} run.bash --no-rebuild --banner ""
.include "../../mk/bsd.pkg.mk"

File diff suppressed because it is too large Load Diff

View File

@@ -1,33 +1,7 @@
$NetBSD: distinfo,v 1.22 2015/03/10 13:11:36 jperkin Exp $
$NetBSD: distinfo,v 1.27 2015/09/13 19:11:55 fhajny Exp $
SHA1 (go1.4.2.src.tar.gz) = 460caac03379f746c473814a65223397e9c9a2f6
RMD160 (go1.4.2.src.tar.gz) = dea15b3b4c31554a47b40799f4b9a926ea760e70
Size (go1.4.2.src.tar.gz) = 10921896 bytes
SHA1 (patch-doc_progs_run) = 5a29fe4f91defb2e20d192850601df7cbabdac7c
SHA1 (patch-misc_cgo_test_cthread__unix.c) = a63f08f07713bd32e279315cca21235101ce9cd3
SHA1 (patch-misc_cgo_testso_cgoso.go) = ef782a6f173c814656eac0df640aedaa1a923bbc
SHA1 (patch-misc_cgo_testso_cgoso__unix.go) = 58e221e1ce123428a3fe6ecededf0590cbfb81ca
SHA1 (patch-src_cmd_5l_asm.c) = fd78203b7c92b9bbd057077671d649bac2d121ee
SHA1 (patch-src_cmd_6l_asm.c) = 1f244d7c760e738057b1649ed486206a6ec3812b
SHA1 (patch-src_cmd_8l_asm.c) = e5233a3d9b08f2ef8d809756ef7d6fc4b03303b9
SHA1 (patch-src_cmd_go_build.go) = f7705aa955241d3add353a144a676a58a0a1617e
SHA1 (patch-src_cmd_go_pkg.go) = e70441f3fdf312eb389e4dd5408c207a4d4b8350
SHA1 (patch-src_cmd_ld_data.c) = 96181bac03333f7bc5293ab9ddbd68bb9174ed47
SHA1 (patch-src_cmd_ld_doc.go) = 000447f5a5862358a85a7510dc92195494972e26
SHA1 (patch-src_cmd_ld_lib.h) = e6aa8b9520e1b75f435e179e5ea4f0ef738621f4
SHA1 (patch-src_cmd_ld_pobj.c) = eaf67d6bc4f9ba835893f9d8c2d36941ff84933d
SHA1 (patch-src_crypto_x509_root__unix.go) = c933f334da1c8de48a06d23abd12da01f73776e6
SHA1 (patch-src_go_build_build.go) = b68bc557e7b48877889c63070e9cb9d8360f40f5
SHA1 (patch-src_net_cgo__bsd.go) = 4678fccd6956300ce55343965334fc3881383bbc
SHA1 (patch-src_net_cgo__stub.go) = cf373587745d68e556dadf3a61956b489b4f420a
SHA1 (patch-src_net_cgo__unix.go) = cebe897ab624aaf52bebc50d12a045d6b4ea2bc6
SHA1 (patch-src_os_user_lookup__unix.go) = 861cf9b2b64bc314b6ee8e11411245e214717515
SHA1 (patch-src_runtime_cgo_cgo.go) = 9cc88b35d12e0d52e76495e04f7fce2b78af08d5
SHA1 (patch-src_runtime_cgo_gcc__setenv.c) = c9614b76d71e84ad46b2ce785580fdc54b261455
SHA1 (patch-src_runtime_cgo_gcc__solaris__amd64.c) = 633d8dcc8a843e343ee2ab9edb7cfaf6f6c3865b
SHA1 (patch-src_runtime_cgo_setenv.c) = f3b56885fa54cabf78944fad75c21f04bea5cd88
SHA1 (patch-src_runtime_netpoll__solaris.c) = ae399518bb02d6b898734a52dfa7fe18f041e1ec
SHA1 (patch-src_runtime_os__solaris.c) = eec5b293fe4a72f58e4cd51cd23ea6e6fce714b6
SHA1 (patch-src_runtime_os__solaris.h) = c0a39aa6ab57eca7056178c87ebb00bb21236499
SHA1 (patch-src_runtime_sys__solaris__amd64.s) = 88f2e3fc43b0d6e4f17ef06d3f4f27cfed3103c6
SHA1 (patch-src_runtime_thunk__solaris__amd64.s) = 2835cdc171ae3209c61ef804fbfbf22cdf68bf43
SHA1 (go1.5.1.src.tar.gz) = 0df564746d105f4180c2b576a1553ebca9d9a124
RMD160 (go1.5.1.src.tar.gz) = 751d078789bcd6ec0d85e09f5f40d9959877e202
Size (go1.5.1.src.tar.gz) = 12049701 bytes
SHA1 (patch-src_cmd_go_pkg.go) = ccc470577951bd00741c39229599c0c06be52d0a
SHA1 (patch-src_syscall_syscall__solaris.go) = 436371947897dcba574a6dfecc6bbcd04f6e25b2

View File

@@ -1,17 +1,15 @@
$NetBSD: patch-src_cmd_go_pkg.go,v 1.1 2014/12/31 11:40:14 bsiegert Exp $
$NetBSD: patch-src_cmd_go_pkg.go,v 1.2 2015/08/22 10:51:20 bsiegert Exp $
Do not try to install go-tools into GOROOT. This is done in the
go-tools package instead.
--- src/cmd/go/pkg.go.orig 2014-12-11 01:18:10.000000000 +0000
--- src/cmd/go/pkg.go.orig 2015-07-30 00:03:36.000000000 +0000
+++ src/cmd/go/pkg.go
@@ -401,9 +401,6 @@ var goTools = map[string]targetDir{
"cmd/pack": toTool,
"cmd/pprof": toTool,
@@ -651,7 +651,6 @@ var goTools = map[string]targetDir{
"cmd/trace": toTool,
"cmd/vet": toTool,
"cmd/yacc": toTool,
- "golang.org/x/tools/cmd/cover": toTool,
- "golang.org/x/tools/cmd/godoc": toBin,
- "golang.org/x/tools/cmd/vet": toTool,
"code.google.com/p/go.tools/cmd/cover": stalePath,
"code.google.com/p/go.tools/cmd/godoc": stalePath,
"code.google.com/p/go.tools/cmd/vet": stalePath,

Some files were not shown because too many files have changed in this diff Show More