pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/asymptote
Module Name: pkgsrc
Committed By: joerg
Date: Wed Apr 15 22:53:33 UTC 2020
Modified Files:
pkgsrc/graphics/asymptote: Makefile distinfo
Added Files:
pkgsrc/graphics/asymptote/patches: patch-runlabel.in
Log Message:
Require C++03 and check for libc++ correctly.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/graphics/asymptote/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/graphics/asymptote/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/asymptote/patches/patch-runlabel.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/asymptote/Makefile
diff -u pkgsrc/graphics/asymptote/Makefile:1.35 pkgsrc/graphics/asymptote/Makefile:1.36
--- pkgsrc/graphics/asymptote/Makefile:1.35 Fri Mar 27 03:41:34 2020
+++ pkgsrc/graphics/asymptote/Makefile Wed Apr 15 22:53:33 2020
@@ -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 @@ MAKE_JOBS_SAFE= no # random failure dur
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
Index: pkgsrc/graphics/asymptote/distinfo
diff -u pkgsrc/graphics/asymptote/distinfo:1.10 pkgsrc/graphics/asymptote/distinfo:1.11
--- pkgsrc/graphics/asymptote/distinfo:1.10 Tue Jan 8 10:58:09 2019
+++ pkgsrc/graphics/asymptote/distinfo Wed Apr 15 22:53:33 2020
@@ -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 @@ SHA512 (asymptote-2.41.src.tgz) = 93f737
Size (asymptote-2.41.src.tgz) = 3516426 bytes
SHA1 (patch-configure) = c3d035f0744b8558624863fddbe68205c862a37b
SHA1 (patch-main.cc) = 1cf992b56fe28efb94128f68e941f36d9b033e9a
+SHA1 (patch-runlabel.in) = 8cd6fd4cc1e7b7e72c50dea9d777ed839e1ad269
Added files:
Index: pkgsrc/graphics/asymptote/patches/patch-runlabel.in
diff -u /dev/null pkgsrc/graphics/asymptote/patches/patch-runlabel.in:1.1
--- /dev/null Wed Apr 15 22:53:33 2020
+++ pkgsrc/graphics/asymptote/patches/patch-runlabel.in Wed Apr 15 22:53:33 2020
@@ -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