head 1.10; access; symbols pkgsrc-2022Q2:1.9.0.100 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.98 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.96 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.94 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.92 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.90 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.88 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.86 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.82 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.62 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.84 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.80 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.78 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.76 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.74 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.72 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.70 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.68 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.66 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.64 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.60 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.58 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.56 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.54 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.52 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.50 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.48 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.46 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.44 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.42 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.40 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.38 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.36 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.34 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.32 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.30 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.28 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.26 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.24 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.22 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.20 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.18 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.16 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.14 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.12 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.10 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.8 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.6 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.4 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.2 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.7.0.4 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.2 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.6.0.4 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.2 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.5.0.12 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.10 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.8 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.6 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.4 pkgsrc-2008Q1:1.5.0.2 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.4.0.16 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.14 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.12 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2; locks; strict; comment @# @; 1.10 date 2022.08.02.07.22.00; author ast; state dead; branches; next 1.9; commitid 7tWzyVsgxPlqZgOD; 1.9 date 2010.03.13.21.48.38; author schmonz; state Exp; branches; next 1.8; 1.8 date 2010.02.06.10.52.37; author sno; state Exp; branches; next 1.7; 1.7 date 2009.08.16.13.33.07; author he; state Exp; branches; next 1.6; 1.6 date 2009.02.22.13.11.39; author he; state Exp; branches 1.6.4.1; next 1.5; 1.5 date 2008.02.09.22.39.50; author adrianp; state Exp; branches; next 1.4; 1.4 date 2006.02.14.22.52.15; author heinz; state Exp; branches; next 1.3; 1.3 date 2005.12.03.01.46.26; author joerg; state Exp; branches; next 1.2; 1.2 date 2004.03.22.12.01.07; author wiz; state Exp; branches; next 1.1; 1.1 date 2004.02.22.22.04.54; author heinz; state Exp; branches; next ; 1.6.4.1 date 2009.08.19.09.12.31; author tron; state Exp; branches; next ; desc @@ 1.10 log @math/p5-Math-Pari: Update to 2.030523 (from 2.01080900) Way too many changes since 2.01080900 to re-mention here, for details see https://metacpan.org/release/ILYAZ/Math-Pari-2.030523/changes That said, a lot of work seems to have been into the modules own patch handling and fixing/adding tests. In fact, for 2.030523 we have now: All tests PASS: Files=7, Tests=591 Up from Files=5, Tests=564 for 2.01080900 albeit with the exact same five Binary and Hexadecimal "non-portable number" warnings in test t/00_Pari.t By skipping GNUPlot and Math::PariBuild by re-using the earlier Makefile.PL we can avoid a lot of the apparent grief the build would otherwise encounter. @ text @$NetBSD: patch-ab,v 1.9 2010/03/13 21:48:38 schmonz Exp $ --- Pari.xs.orig 2010-03-03 21:53:32.000000000 +0000 +++ Pari.xs @@@@ -3,7 +3,9 @@@@ # include #endif -# include +# include +# include +#if 0 # include # include @@@@ -12,6 +14,7 @@@@ #endif # include /* init_opts */ +#endif /* On some systems /usr/include/sys/dl.h attempts to declare ladd which pari.h already defined with a different meaning. @ 1.9 log @De-fuzz patch. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.8 2010/02/06 10:52:37 sno Exp $ @ 1.8 log @Updating math/p5-Math-Pari from 2.010801nb2 to 2.010806.03 pkgsrc changes: - Avoid private compile of pari-library, use pkgsrc provided instead - Add license definition - Disabled support for plotting from perl (missing upstream support) Upstream changes: 2.01080601+ Add 5.005-new keywords to Makefile.PL. Consistently put space after -I in C include paths (needed???). Nicer output when debugging faulty LWP and Net::FTP. Make test engine look in */32/* directory too on 64-bit builds. Remove POD ornaments to make ABSTRACT_FROM work. 2.01080601++ Reword warning about slow intnum: only 75% longer than on PARI/GP. (overhead of the internal sub call in subtest 30 looks like 10x overhead of an empty subroutine call). New advice that upgrade to 2.3.* may fix `overflow' and `highremainder'. Exchange order of initialization of PARI and of `functions_highlevel' with >= 2.3.0; allows installation of highlevel functions (in particular, install() and PostScript printing). New function have_graphics() (not exported). The test engine takes into account have_graphics(). 2.01080602 If AUTOMATED_TESTING, delete (bogus?) environment variable DISPLAY. If AUTOMATED_TESTING, report results of failing tests on STDERR. Make test suite report rough run times for successful subtests. 2.01080603 Fix misprint and change die() to warn() on failure of $ftp->quit... Add some void's in Pari.xs. UNDONE (wrong): Protect init_graph() by NO_GRAPHICS_PARI (in restart code); include rect.h instead... sv2pari(),sv2parimat(): a stupid compiler might guess we don't return value... when patching, use && instead of ; in the shell command New function Math::PariBuild::patch_args() Math::PariBuild::patch_pari() supports option --binary, \ as directory separator in command processor. Make uname parser recognize i686-pc as ix86. Generator of function descriptors could try to regenerate existing file. nok_print() in Testout.pm was defined too late. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Pari.xs.orig 2009-12-11 02:18:24.000000000 +0000 d5 4 a8 1 @@@@ -1,4 +1,6 @@@@ d16 1 a16 1 @@@@ -7,6 +9,7 @@@@ @ 1.7 log @Update from version 2.010801nb1 to 2.010801nb2. Pkgsrc changes: o Re-do patch-ab so that this package actually builds on hosts other than arm and i386. ('eq' instead of '=' is the bug...) @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2009/02/22 13:11:39 he Exp $ d3 18 a20 39 Improve detection of various processor types on netbsd. Treat DragonFly the same as FreeBSD. --- ./utils/Math/PariBuild.pm.orig 2009-02-11 02:40:56.000000000 +0100 +++ ./utils/Math/PariBuild.pm @@@@ -779,7 +779,7 @@@@ sub find_machine_architecture () { } elsif ($machine ne 'ia64') { $machine = 'hppa'; } - } elsif ($os eq 'os2' or $os eq 'netbsd' + } elsif ($os eq 'os2' or $os eq 'dragonfly' or $os eq 'freebsd' or $os =~ /^cygwin/) { chomp($machine = `uname -m`); $machine ||= 'ix86'; @@@@ -808,6 +808,24 @@@@ sub find_machine_architecture () { close IN or die "close /proc/cpuinfo: $!"; $machine = process_sparc $info, $machine; } + } elsif ($os eq 'netbsd') { + chomp($machine = `uname -p`); + if ($machine =~ 'arm.*') { + $machine='arm'; + } elsif ($machine eq 'i386') { + $machine='ix86'; + } elsif ($machine =~ 'mips.*') { + $machine='mips'; + } elsif ($machine eq 'powerpc') { + $machine='ppc'; + } elsif ($machine =~ 'sh3.*') { + $machine='sh3'; + } elsif ($machine =~ 'sh5.*') { + $machine='sh5'; + } elsif ($machine eq 'sparc64') { + $machine='sparcv9'; + } + # these can be used verbatim: alpha amd64 m68k sparc vax } elsif ($os eq 'sunos') { my $type = (split ' ', $Config{myuname})[4]; # format: SunOS name 5.9 Generic_118558-26 sun4u sparc SUNW,Ultra-5_10 @ 1.6 log @Update from version 2.010800nb1 to 2.010801. Pkgsrc changes: o Re-do patch-ab so that the tests and adaptations for the various NetBSD archs don't sit inside "if ($os eq 'sunos')" (!). Upstream changes: 2.010801: build_paricfg() takes a version argument write_paricfg(): likewise. Emit paricfg.h which supports GP/PARI v2.3.4. Remove the section on CPAN mirroring from README. INSTALL: Explain how to google when server is down. Skip another subtest in ploth.t. Fix treatment of -oo in tests. Still fails, but now with not ok 12 # in='intmellininvshort(2,4,$tab)-$A' # out='-3.364954880E-97+9.90717831E-100*I', type='Math::Pari' # pari==='-3.072350108 E-97 + 9.90717831 E-100*I' # re_out='\-3\.072350108,?\s*E\-97,?\s*\+,?\s*9\.90717831,?\s*E\-100\*I' Consider `intfuncinit' as requiring "unsane" precision of limits (bug in GP/PARI???). Now all tests pass??? @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 2 --- utils/Math/PariBuild.pm.orig 2009-02-11 02:40:56.000000000 +0100 +++ utils/Math/PariBuild.pm d25 1 a25 1 + } elsif ($machine = 'i386') { d29 1 a29 1 + } elsif ($machine = 'powerpc') { d35 1 a35 1 + } elsif ($machine = 'sparc64') { @ 1.6.4.1 log @Pullup ticket #2868 - requested by he p5-Math-Pari: build fix Revisions pulled up: - math/p5-Math-Pari/Makefile 1.35 - math/p5-Math-Pari/distinfo 1.14 - math/p5-Math-Pari/patches/patch-ab 1.7 --- Module Name: pkgsrc Committed By: he Date: Sun Aug 16 13:33:07 UTC 2009 Modified Files: pkgsrc/math/p5-Math-Pari: Makefile distinfo pkgsrc/math/p5-Math-Pari/patches: patch-ab Log Message: Update from version 2.010801nb1 to 2.010801nb2. Pkgsrc changes: o Re-do patch-ab so that this package actually builds on hosts other than arm and i386. ('eq' instead of '=' is the bug...) @ text @d3 2 a4 5 Improve detection of various processor types on netbsd. Treat DragonFly the same as FreeBSD. --- ./utils/Math/PariBuild.pm.orig 2009-02-11 02:40:56.000000000 +0100 +++ ./utils/Math/PariBuild.pm d22 1 a22 1 + } elsif ($machine eq 'i386') { d26 1 a26 1 + } elsif ($machine eq 'powerpc') { d32 1 a32 1 + } elsif ($machine eq 'sparc64') { @ 1.5 log @Update to 2.010709 Accomodate Darwin $AS which tries to read from STDIN. On darwin, diagnoze arch via uname -p. (SIGBUS during build) Update find_machine_architecture() to 2.3.0 logic (so disable sparcv7) Make getHeap() use PerlIO, and consistently use bytes for output. @ text @d3 1 a3 1 --- utils/Math/PariBuild.pm.orig 2006-10-25 21:28:06.000000000 +0100 d5 1 a5 1 @@@@ -768,7 +768,7 @@@@ sub find_machine_architecture () { d14 25 a38 25 @@@@ -820,6 +820,24 @@@@ sub find_machine_architecture () { $machine = 'ix86'; } elsif ((split ' ', $Config{myuname})[3] eq 'sun') { $machine = 'm86k'; + } elsif ($os eq 'netbsd') { + chomp($machine = `uname -p`); + if ($machine =~ 'arm.*') { + $machine='arm'; + } elsif ($machine = 'i386') { + $machine='ix86'; + } elsif ($machine =~ 'mips.*') { + $machine='mips'; + } elsif ($machine = 'powerpc') { + $machine='ppc'; + } elsif ($machine =~ 'sh3.*') { + $machine='sh3'; + } elsif ($machine =~ 'sh5.*') { + $machine='sh5'; + } elsif ($machine = 'sparc64') { + $machine='sparcv9'; + } + # these can be used verbatim: alpha amd64 m68k sparc vax } elsif ($redo++ == 0) { $type = `uname -m`; redo find_machine; @ 1.4 log @Updated to version 2.010703. This update fixes various segmentation faults during "make test" (using pari 2.1.6). Pkgsrc changes: - Removed files/Makefile.PL (not used anymore). Relevant changes since version 2.010501: ======================================== - various 64-bit fixes - extensive update ot test suite @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2005/12/03 01:46:26 joerg Exp $ d3 1 a3 1 --- utils/Math/PariBuild.pm.orig 2006-01-31 21:51:44.000000000 +0100 d5 4 a8 4 @@@@ -699,7 +699,7 @@@@ sub find_machine_architecture () { $machine = 'irix'; } elsif ($os =~ /^hp/) { $machine = `uname -m` || 'hppa'; d14 25 a38 25 @@@@ -742,6 +742,24 @@@@ sub find_machine_architecture () { } elsif ((split ' ', $Config{myuname})[3] eq 'sun') { $machine = 'm86k'; } + } elsif ($os eq 'netbsd') { + chomp($machine = `uname -p`); + if ($machine =~ 'arm.*') { + $machine='arm'; + } elsif ($machine = 'i386') { + $machine='ix86'; + } elsif ($machine =~ 'mips.*') { + $machine='mips'; + } elsif ($machine = 'powerpc') { + $machine='ppc'; + } elsif ($machine =~ 'sh3.*') { + $machine='sh3'; + } elsif ($machine =~ 'sh5.*') { + $machine='sh5'; + } elsif ($machine = 'sparc64') { + $machine='sparcv9'; + } + # these can be used verbatim: alpha amd64 m68k sparc vax } elsif ($os eq 'gnu') { chomp($machine = `uname -m`); $machine = 'ix86' if $machine =~ /^i386-/; @ 1.3 log @Add DragonFly. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2004/03/22 12:01:07 wiz Exp $ d3 1 a3 1 --- utils/Math/PariBuild.pm.orig Sun Feb 1 10:30:06 2004 d5 10 a14 10 @@@@ -674,7 +674,7 @@@@ sub find_machine_architecture () { if ($os =~ /^hp/) { $machine = 'hppa'; - } elsif ($os eq 'os2' or $os eq 'freebsd') { + } elsif ($os eq 'os2' or $os eq 'freebsd' or $os eq 'dragonfly') { $machine = 'ix86'; } elsif (0 and $os =~ /win32/i and not $Config{gccversion}) { # Not needed with rename of kernel1.s to kernel1.c? @@@@ -714,6 +714,24 @@@@ sub find_machine_architecture () { d34 1 a34 1 + } d36 3 a38 3 } if ( $machine ne 'alpha' @ 1.2 log @Scalars in perl are preceded by a `$'. perl-5.8.3 correctly complains if it is not so. Fix patch-ab so that this package builds with perl-5.8.3 too. @ text @d1 1 a1 1 $NetBSD$ d5 9 @ 1.1 log @Update to 2.010501 (in line with math/pari 2.1.5) Changes since 2.001804: Too many to list here, see file "Changes". @ text @d12 1 a12 1 + machine='arm'; d14 1 a14 1 + machine='ix86'; d16 1 a16 1 + machine='mips'; d18 1 a18 1 + machine='ppc'; d20 1 a20 1 + machine='sh3'; d22 1 a22 1 + machine='sh5'; d24 1 a24 1 + machine='sparcv9'; @