head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.4 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2001.09.05.17.30.44; author jlam; state dead; branches; next 1.3; 1.3 date 2001.06.07.04.26.48; author jlam; state Exp; branches; next 1.2; 1.2 date 2001.06.07.04.25.34; author jlam; state dead; branches; next 1.1; 1.1 date 2000.09.05.09.18.21; author jlam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.09.05.09.18.21; author jlam; state Exp; branches; next ; desc @@ 1.4 log @Nuke lang/perl5-base as it's been reabsorbed into lang/perl5. @ text @$NetBSD: patch-ae,v 1.3 2001/06/07 04:26:48 jlam Exp $ --- regcomp.c.orig Thu Mar 22 00:05:02 2001 +++ regcomp.c Sun May 27 17:02:37 2001 @@@@ -541,6 +541,17 @@@@ cl->flags |= ANYOF_EOS; } +/* + * There are strange code-generation bugs caused on sparc64 by gcc-2.95.2. + * These need to be revisited when a newer toolchain becomes available. + */ +#if defined(__sparc64__) && defined(__GNUC__) +#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96) +#undef SPARC64_WORKAROUND +#define SPARC64_WORKAROUND 1 +#endif +#endif + /* REx optimizer. Converts nodes into quickier variants "in place". Finds fixed substrings. */ @@@@ -1076,11 +1087,28 @@@@ int counted = mincount != 0; if (data->last_end > 0 && mincount != 0) { /* Ends with a string. */ +#if defined(SPARC64_WORKAROUND) + I32 b = 0; + STRLEN l = 0; + char *s = NULL; + I32 old = 0; + + if (pos_before >= data->last_start_min) + b = pos_before; + else + b = data->last_start_min; + + l = 0; + s = SvPV(data->last_found, l); + old = b - data->last_start_min; + +#else I32 b = pos_before >= data->last_start_min ? pos_before : data->last_start_min; STRLEN l; char *s = SvPV(data->last_found, l); I32 old = b - data->last_start_min; +#endif if (UTF) old = utf8_hop((U8*)s, old) - (U8*)s; @ 1.3 log @Add patch missing from update to perl 5.6.1. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update perl to 5.6.1. Changes from perl-5.6.0 include many bug fixes, the plugging of several memory leaks, fixes to the regular expression engine, the addition of a Unicode character classes, better support for 64-bit platorms, and updates of many modules in the base Perl Library. See perldelta.pod for more details. Also update p5-Data-Dumper, p5-Devel-DProf, and p5-Devel-Peek to the latest versions distributed with the perl-5.6.1 sources, and libperl to 5.6.1 to match the perl package. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2000/09/05 09:18:21 jlam Exp $ d3 5 a7 5 --- perl.h.orig Sun Mar 19 00:45:33 2000 +++ perl.h @@@@ -486,6 +486,15 @@@@ # include #endif d9 3 a11 2 +/* needed for IAMSUID case for 4.4BSD systems + * XXX there should probably be a Configure variable d13 6 d20 2 a21 5 +#ifdef I_SYS_PARAM +#if (defined (BSD) && (BSD >= 199306)) +# include +#endif /* !BSD */ +#endif /* !I_SYS_PARAM */ d23 29 a51 2 /* Use all the "standard" definitions? */ #if defined(STANDARD_C) && defined(I_STDLIB) @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Reimport lang/perl5 to lang/perl5-base with some minor modifications. This is the base installation of perl5, with several modules removed that are externally available through pkgsrc. @ text @@