head 1.5; access; symbols pkgsrc-2020Q4:1.4.0.66 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.64 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.60 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.40 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.62 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.58 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.56 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.54 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.52 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.50 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.48 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.46 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.44 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.42 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.38 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.36 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.34 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.32 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.30 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.28 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.26 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.24 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.22 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.20 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.18 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.16 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.14 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.12 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.10 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.8 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.6 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.4 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.1.0.24 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.22 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.20 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.18 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.16 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.14 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.12 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.10 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.8 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.6 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.4 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.2 pkgsrc-2009Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2021.03.01.09.48.40; author nia; state dead; branches; next 1.4; commitid b2JFHeDSSoYoAAJC; 1.4 date 2012.12.21.02.59.04; author dholland; state Exp; branches; next 1.3; 1.3 date 2012.12.18.18.23.40; author markd; state Exp; branches; next 1.2; 1.2 date 2012.11.17.22.08.26; author markd; state Exp; branches; next 1.1; 1.1 date 2010.01.08.18.46.48; author joerg; state Exp; branches; next ; desc @@ 1.5 log @ivtools: update to 2.0.4a1 Changes: builds again; August 22nd 2020 ivtools-2.0.3 * add Golang style "%v" format descriptor to comterp print func. July 5th 2020 ivtools-2.0.2 * Change priority of "$$" (stream) operator to line up with other stream operators (i.e. ".." and "**"). June 30th 2020 ivtools-2.0.1 * Fix nested user defined funcs in comterp (the func() command). * Change isalpha(), isdigit(), and isspace() funcs to return 0 or 1 (instead of the bitmask which is returned for C). * Add comterp_run utility script for hands-free launching of comterp scripts. Write scripts with this header: #! /usr/bin/env comterp_run * Add csvfilt comterp script as an example of using comterp_run. After installing both try "csvfilt --help". June 21st 2020 ivtools-2.0.0 Non-backward compatible changes from ivtools-1.2.11: * Swap "$$" and "$" operators in comterp. The "$$" operator is now stream() (which matches the other double-character stream operators - "..", "**", and ",,") and "$" is now list(). * Reverse the priority of ".." (iterate()) and "**" (repeat()), giving ".." precedence over "**". The reason is because ".." is more complex than "**", like multiplication is more complex than addition. * Remove symmax() and symcnt() commands because they were redundant with symid() which accepts :max and :cnt keywords. Other changes; * remove patches directory, sourceforge102203.xml, aclocal.m4, README.cygwin, README.ivmkcm, and comtop.tgz * migrated all CHANGES-* files to a CHANGES directory @ text @$NetBSD: patch-bd,v 1.4 2012/12/21 02:59:04 dholland Exp $ Fix LP64 build. It is not clear that these casts are correct; on the other hand, it isn't clear if these code paths are ever used. --- src/Attribute/attrvalue.c.orig 2009-08-26 17:51:51.000000000 +0000 +++ src/Attribute/attrvalue.c @@@@ -38,6 +38,7 @@@@ #include #endif #include +#include #include #include using namespace std; @@@@ -393,7 +394,7 @@@@ boolean AttributeValue::boolean_val() { case AttributeValue::StringType: return (boolean) int_val()!=-1; case AttributeValue::ObjectType: - return (boolean) obj_val(); + return (boolean) (uintptr_t)obj_val(); case AttributeValue::StreamType: return stream_mode() != 0; default: @@@@ -552,7 +553,7 @@@@ unsigned int AttributeValue::uint_val() case AttributeValue::SymbolType: return (unsigned int) int_val(); case AttributeValue::ObjectType: - return (unsigned int)obj_val(); + return (unsigned int)(uintptr_t)obj_val(); default: return 0; } @@@@ -585,7 +586,7 @@@@ int AttributeValue::int_val() { case AttributeValue::SymbolType: return int_ref(); case AttributeValue::ObjectType: - return (int)obj_val(); + return (int)(intptr_t)obj_val(); default: return 0; } @ 1.4 log @Fix LP64 build. @ text @d1 1 a1 1 $NetBSD: patch-bd,v 1.3 2012/12/18 18:23:40 markd Exp $ @ 1.3 log @fix path in patch. @ text @d1 4 a4 1 $NetBSD: patch-bd,v 1.1 2010/01/08 18:46:48 joerg Exp $ d25 18 @ 1.2 log @include for uintptr_t. @ text @d3 2 a4 2 --- work.i386/ivtools-1.2/src/Attribute/attrvalue.c.orig 2009-08-26 17:51:51.000000000 +0000 +++ work.i386/ivtools-1.2/src/Attribute/attrvalue.c @ 1.1 log @Fix LP64 build. @ text @d1 1 a1 1 $NetBSD$ d3 11 a13 3 --- src/Attribute/attrvalue.c.orig 2010-01-08 18:22:39.000000000 +0000 +++ src/Attribute/attrvalue.c @@@@ -283,7 +283,7 @@@@ boolean AttributeValue::boolean_val() { @