pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/asymptote Require C++03 and check for libc++ ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1a4e240707f9
branches: trunk
changeset: 427379:1a4e240707f9
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Apr 15 22:53:33 2020 +0000
description:
Require C++03 and check for libc++ correctly.
diffstat:
graphics/asymptote/Makefile | 4 ++--
graphics/asymptote/distinfo | 3 ++-
graphics/asymptote/patches/patch-runlabel.in | 15 +++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
diffs (51 lines):
diff -r 20015a332fa1 -r 1a4e240707f9 graphics/asymptote/Makefile
--- a/graphics/asymptote/Makefile Wed Apr 15 22:52:45 2020 +0000
+++ b/graphics/asymptote/Makefile Wed Apr 15 22:53:33 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2020/03/27 03:41:34 riastradh Exp $
+# $NetBSD: Makefile,v 1.36 2020/04/15 22:53:33 joerg Exp $
DISTNAME= asymptote-2.41
PKGREVISION= 4
@@ -30,7 +30,7 @@
GNU_CONFIGURE= yes
INFO_FILES= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++03
CONFIGURE_ARGS+= --enable-gc=system
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
diff -r 20015a332fa1 -r 1a4e240707f9 graphics/asymptote/distinfo
--- a/graphics/asymptote/distinfo Wed Apr 15 22:52:45 2020 +0000
+++ b/graphics/asymptote/distinfo Wed Apr 15 22:53:33 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2019/01/08 10:58:09 markd Exp $
+$NetBSD: distinfo,v 1.11 2020/04/15 22:53:33 joerg Exp $
SHA1 (asymptote-2.41.src.tgz) = ee33febaab5b42e0f04375f4a40512102d01a1d5
RMD160 (asymptote-2.41.src.tgz) = 2614a78d24126817462a8b7bffd918c84b96b808
@@ -6,3 +6,4 @@
Size (asymptote-2.41.src.tgz) = 3516426 bytes
SHA1 (patch-configure) = c3d035f0744b8558624863fddbe68205c862a37b
SHA1 (patch-main.cc) = 1cf992b56fe28efb94128f68e941f36d9b033e9a
+SHA1 (patch-runlabel.in) = 8cd6fd4cc1e7b7e72c50dea9d777ed839e1ad269
diff -r 20015a332fa1 -r 1a4e240707f9 graphics/asymptote/patches/patch-runlabel.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/asymptote/patches/patch-runlabel.in Wed Apr 15 22:53:33 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-runlabel.in,v 1.1 2020/04/15 22:53:33 joerg Exp $
+
+Use an actual feature check.
+
+--- runlabel.in.orig 2020-04-13 19:36:47.994115580 +0000
++++ runlabel.in
+@@ -123,7 +123,7 @@ array *readpath(const string& psname, bo
+ if(!pdf) gs << newl;
+
+ // Workaround broken stringstream container in MacOS 10.9 libc++.
+-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__ )
++#if defined(_LIBCPP_VERSION)
+ for(string::iterator i=s.begin(); i != s.end(); ++i) {
+ if(isalpha(*i) && *i != 'e') {buf << " ";}
+ buf << *i;
Home |
Main Index |
Thread Index |
Old Index