Tue Jan 8 10:58:09 2019 UTC ()
asymptote: Port to boehm-gc-7.6.8
upstream commit 38a59370dc5ac720c29e1424614a10f7384b943f


(markd)
diff -r1.27 -r1.28 pkgsrc/graphics/asymptote/Makefile
diff -r1.9 -r1.10 pkgsrc/graphics/asymptote/distinfo
diff -r0 -r1.1 pkgsrc/graphics/asymptote/patches/patch-main.cc

cvs diff -r1.27 -r1.28 pkgsrc/graphics/asymptote/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/asymptote/Makefile 2018/08/22 09:45:11 1.27
+++ pkgsrc/graphics/asymptote/Makefile 2019/01/08 10:58:09 1.28
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.27 2018/08/22 09:45:11 wiz Exp $ 1# $NetBSD: Makefile,v 1.28 2019/01/08 10:58:09 markd Exp $
2 2
3DISTNAME= asymptote-2.41 3DISTNAME= asymptote-2.41
4PKGREVISION= 1 4PKGREVISION= 2
5CATEGORIES= graphics 5CATEGORIES= graphics
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asymptote/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asymptote/}
7EXTRACT_SUFX= .tgz 7EXTRACT_SUFX= .tgz
8DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX} 8DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://asymptote.sourceforge.net/ 11HOMEPAGE= http://asymptote.sourceforge.net/
12COMMENT= Powerful descriptive vector graphics language for technical drawings 12COMMENT= Powerful descriptive vector graphics language for technical drawings
13LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3 13LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
14 14
15BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk 15BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
16BUILD_DEPENDS+= makeindexk-[0-9]*:../../textproc/makeindexk 16BUILD_DEPENDS+= makeindexk-[0-9]*:../../textproc/makeindexk
17BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin 17BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin

cvs diff -r1.9 -r1.10 pkgsrc/graphics/asymptote/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/asymptote/distinfo 2017/06/08 08:47:26 1.9
+++ pkgsrc/graphics/asymptote/distinfo 2019/01/08 10:58:09 1.10
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.9 2017/06/08 08:47:26 wiz Exp $ 1$NetBSD: distinfo,v 1.10 2019/01/08 10:58:09 markd Exp $
2 2
3SHA1 (asymptote-2.41.src.tgz) = ee33febaab5b42e0f04375f4a40512102d01a1d5 3SHA1 (asymptote-2.41.src.tgz) = ee33febaab5b42e0f04375f4a40512102d01a1d5
4RMD160 (asymptote-2.41.src.tgz) = 2614a78d24126817462a8b7bffd918c84b96b808 4RMD160 (asymptote-2.41.src.tgz) = 2614a78d24126817462a8b7bffd918c84b96b808
5SHA512 (asymptote-2.41.src.tgz) = 93f737a44b085c2290c4553c765cf49679820e6623bc5b6d0229818409868876275d6f0571abeb76033955fa95ee594e37d10c9901c54755b085e36760fd96cb 5SHA512 (asymptote-2.41.src.tgz) = 93f737a44b085c2290c4553c765cf49679820e6623bc5b6d0229818409868876275d6f0571abeb76033955fa95ee594e37d10c9901c54755b085e36760fd96cb
6Size (asymptote-2.41.src.tgz) = 3516426 bytes 6Size (asymptote-2.41.src.tgz) = 3516426 bytes
7SHA1 (patch-configure) = c3d035f0744b8558624863fddbe68205c862a37b 7SHA1 (patch-configure) = c3d035f0744b8558624863fddbe68205c862a37b
 8SHA1 (patch-main.cc) = 1cf992b56fe28efb94128f68e941f36d9b033e9a

File Added: pkgsrc/graphics/asymptote/patches/Attic/patch-main.cc
$NetBSD: patch-main.cc,v 1.1 2019/01/08 10:58:09 markd Exp $

Port to gc-7.6.8
(commit 38a59370dc5ac720c29e1424614a10f7384b943f)

--- main.cc.orig	2017-03-22 07:56:46.000000000 +0000
+++ main.cc
@@ -214,3 +214,9 @@ int main(int argc, char *argv[]) 
 #endif  
   asymain(&args);
 }
+
+#ifdef USEGC
+GC_API void GC_CALL GC_throw_bad_alloc() {
+  std::bad_alloc();
+}
+#endif