head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.72 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.70 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.68 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.66 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.64 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.62 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.60 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.58 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.56 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.54 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.52 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.50 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.48 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.46 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.44 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.42 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.40 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.38 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.36 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.34 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.32 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.30 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.28 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.24 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.4 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.26 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.22 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.20 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.18 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.16 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.14 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.12 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.10 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.8 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.6 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.2 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.3.0.66 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.64 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.62 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.60 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.58 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.56 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.54 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.52 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.50 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.48 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.46 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.44 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.42 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.40 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.38 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.36 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.34 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.32 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.30 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.28 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.26 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.24 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.22 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.20 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.18 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.16 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.14 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.12 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.10 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.8 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.6 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.4 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.2 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.2.0.24 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.22 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.20 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.18 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.16 pkgsrc-2008Q1:1.2.0.14 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.12 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.10 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.8 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.6 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.4 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.2 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.1.0.10 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.8 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.6 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.4 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.2 pkgsrc-2005Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2017.05.05.07.34.06; author maya; state Exp; branches; next 1.3; commitid PsGgE0CwniQ6IaQz; 1.3 date 2009.03.03.08.58.23; author rillig; state Exp; branches 1.3.66.1; next 1.2; 1.2 date 2006.09.16.11.44.26; author rillig; state Exp; branches; next 1.1; 1.1 date 2005.05.31.19.01.40; author rillig; state Exp; branches; next ; 1.3.66.1 date 2017.05.06.15.32.43; author bsiegert; state Exp; branches; next ; commitid TQpxfRWLlYaLklQz; desc @@ 1.4 log @splint: use the standard check for C99 before including a C99 header If PR pkg/47405 was not fixed before (it probably was), this should definitely do the trick. @ text @$NetBSD: patch-aa,v 1.3 2009/03/03 08:58:23 rillig Exp $ Some systems don't have . --- src/Headers/basic.h.orig 2003-11-02 21:55:03.000000000 +0100 +++ src/Headers/basic.h 2009-03-03 09:43:05.000000000 +0100 @@@@ -26,7 +26,7 @@@@ # include # include -# if !defined (WIN32) && !(defined (OS2) && defined (__IBMC__)) +# if (__STDC_VERSION__ >= 199901L) /* Microsoft VC++ still doesn't support ISO C99... */ # include # endif @ 1.3 log @Updated splint to 3.1.2. Changes since 3.1.1: Declarations of intptr_t and uintptr_t The standard library declares the intptr_t and uintptr_t types incorrectly. They are declared as int * and unsigned int *, but should be integral types (large enough to hold a pointer) instead. (Reported by David Sanderson, 25 Sep 2004. Fixed in development standard.h.) Mode help Splint crashes when run with -help weak or another mode flag. (Reported by Clive Bach, 27 July 2004. Fixed in CVS 28 July 2004.) Missing va_copy The standard library is missing va_copy. (Reported by Roland Illig, 21 May 2004. Fixed in CVS, 21 May 2004.) Shifting in pre-processor expressions Splint will report an internal error for a preprocessor expression that shifts a negative value. This should produce a warning message instead. (Reported by Dirk Herrmann, 10 Nov 2003. Fixed in CVS, 18 May 2004, but no warning message added yet.) gmtime and localtime The return type is incorrectly specified as /*@@null@@*/ in the standard library. gmtime and localtime are guaranteed to return non-null values. (Reported by Terry Colligan, 30 Oct 2003. Fixed in CVS, 2 Nov 2003.) Redefining __func__ Splint will report an internal bug if built in special definitions like __func__ are redefined. (Reported by Terry Colligan, 28 Oct 2003. Fixed in CVS, 28 Oct 2003.) Pragma Line Numbers Splint does not count #pragma ... lines in the line number. (Reported by Scott Frazer, 27 Oct 2003. Fixed in CVS, 27 Oct 2003.) Files Unclosed in Win32 Options that involve writing messages to files do not work in Win32. The check that all files are closed was somehow copied to a location it shouldn't be (llmain:830). (Fixed in CVS 18 Sept 2003.) Multi-dimensional Arrays Splint does not interpret declarations of multidimensional arrays correctly. A declaration like int a[][10] is misinterpreted as int a[10][]. (Reported by Bill Leahy, 15 Sept 2003. Fixed in CVS 15 Sept 2003.) && and || guards Splint does not correctly interpret guards for non-boolean expressions in && and || clauses (e.g., if (s && t)). (Reported by Andrew Bishop. Fixed in CVS 13 August 2003.) scanf %x Splint interprets %x in a scanf format string as an int *, but it should be an unsigned int *. (Reported by Andrew Bishop. Fixed in CVS 13 August 2003.) +matchanyintegral and unsignedintegrals When +matchanyintegral is set, splint should allow any int type to match an aribtrary unsigned integral. (Reported by John Makecki. Fixed in CVS 18 July 2003.) Shadow updates When a variable declaration is shadowed, the sRef_updateSref function will find the inner reference when there is an alias to the outer reference. (Reported by John Makecki. Fixed in CVS 18 July 2003.) Internal assertion fails for unconventional bounds An internal assertion will fail for strange array indexes like, i["] tokens in specifications incorrectly as ".". Reported and fixed by Psanzani. (Fixed in CVS, 6 June 2003) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2006/09/16 11:44:26 rillig Exp $ d12 1 a12 1 +# if !defined (WIN32) && !(defined (OS2) && defined (__IBMC__)) && !(defined(__GNUC__) && (__GNUC__ == 2)) && !(defined(__sun) && !(__STDC_VERSION__ >= 199901L)) @ 1.3.66.1 log @Pullup ticket #5402 - requested by sevan devel/splint: build fix Revisions pulled up: - devel/splint/distinfo 1.11 - devel/splint/patches/patch-aa 1.4 --- Module Name: pkgsrc Committed By: maya Date: Fri May 5 07:34:06 UTC 2017 Modified Files: pkgsrc/devel/splint: distinfo pkgsrc/devel/splint/patches: patch-aa Log Message: splint: use the standard check for C99 before including a C99 header If PR pkg/47405 was not fixed before (it probably was), this should definitely do the trick. @ text @d1 1 a1 1 $NetBSD$ d12 1 a12 1 +# if (__STDC_VERSION__ >= 199901L) @ 1.2 log @On Solaris, is not usable unless the C compiler is marked as a C99 compiler. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2005/05/31 19:01:40 rillig Exp $ d5 3 a7 3 --- src/Headers/basic.h.orig 2003-04-21 00:45:26.000000000 +0200 +++ src/Headers/basic.h 2006-09-16 13:26:56.805383344 +0200 @@@@ -22,8 +22,11 @@@@ d11 3 a13 7 -# ifndef WIN32 -/* Microsoft VC++ still doesn't support ISO C99... */ +# if defined(WIN32) || (defined(__GNUC__) && (__GNUC__ == 2)) || (defined(__sun) && !(__STDC_VERSION__ >= 199901L)) +#define bool int +#define false 0 +#define true 1 +# else a15 1 @ 1.1 log @Added a patch that works around a missing header. Fixes PR 30014. @ text @d1 1 a1 1 $NetBSD$ d5 2 a6 2 --- src/Headers/basic.h.orig Mon Apr 21 00:45:26 2003 +++ src/Headers/basic.h Tue May 31 20:45:34 2005 d13 1 a13 1 +# if defined(WIN32) || (defined(__GNUC__) && (__GNUC__ == 2)) @