From cae12cd5017888d9edd8b52a478c2d713eb4b066 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 8 Sep 2005 08:39:59 +0000 Subject: Changes 2.1.6: Fixed - src/kernel/sparcv8/MakeVar.SH missing from MANIFEST (hence from tarball) - stack corruption in matsnf() [ when GC occurs ] - incorrect result in gaffsg(s < 0, t_PADIC) - [hi-res plot: X-Windows] rescaling bug - [ix86 + gcc]: fix "invalid preprocessing token" Warning - removed hack in buchall() [ function called through unappropriate type (in init mode) to avoid inserting irrelevant arguments ]. Caused some compiler to produce incorrect code (SEGV). - typo in isabsolutepol(): SEGV in factorff for some t_POLs defined over the prime field - inconsistent error message when starting 'gp -p 436273000' - Configure support for GNU/Hurd --- math/pari/Makefile | 23 +++++++++++------------ math/pari/distinfo | 14 +++++++------- math/pari/patches/patch-aa | 46 +++++++++++++++++++++++----------------------- math/pari/patches/patch-ab | 4 ++-- math/pari/patches/patch-al | 24 +++--------------------- 5 files changed, 46 insertions(+), 65 deletions(-) (limited to 'math/pari') diff --git a/math/pari/Makefile b/math/pari/Makefile index 22fc3bbe6e4..d9f9a4e18ef 100644 --- a/math/pari/Makefile +++ b/math/pari/Makefile @@ -1,25 +1,24 @@ -# $NetBSD: Makefile,v 1.27 2005/07/16 19:10:39 jlam Exp $ +# $NetBSD: Makefile,v 1.28 2005/09/08 08:39:59 adam Exp $ -DISTNAME= pari-2.1.5 -PKGREVISION= 5 -CATEGORIES= math -MASTER_SITES= http://pari.math.u-bordeaux.fr/download/ \ - ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.1/ +DISTNAME= pari-2.1.6 +CATEGORIES= math +MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/ +EXTRACT_SUFX= .tgz -MAINTAINER= tech-pkg@NetBSD.org -HOMEPAGE= http://pari.math.u-bordeaux.fr/ -COMMENT= Software package for computer-aided number theory +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://pari.math.u-bordeaux.fr/ +COMMENT= Software package for computer-aided number theory BUILD_DEPENDS+= teTeX-[0-9]*:../../print/teTeX +USE_GNU_READLINE= yes # rl_save_prompt() USE_LIBTOOL= yes -USE_GNU_READLINE= # rl_save_prompt USE_TOOLS+= perl:run - HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ${WRKSRC}/Configure -CONFIGURE_ARGS+= --prefix=${PREFIX} --share-prefix=${PREFIX}/share CONFIGURE_ARGS+= --graphic=X11 +CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --share-prefix=${PREFIX}/share CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} CONFIGURE_ENV+= PERL5=${PERL5} CONFIGURE_ENV+= X11BASE=${X11BASE} diff --git a/math/pari/distinfo b/math/pari/distinfo index 0e9a1488655..07ae05cc15f 100644 --- a/math/pari/distinfo +++ b/math/pari/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.12 2005/07/08 22:10:45 kristerw Exp $ +$NetBSD: distinfo,v 1.13 2005/09/08 08:39:59 adam Exp $ -SHA1 (pari-2.1.5.tar.gz) = fd9a969d2f6afbfd1ebf3293fb90df23f602a7fb -RMD160 (pari-2.1.5.tar.gz) = 1ebd126e69cbb239304f67b420b16226ac335c59 -Size (pari-2.1.5.tar.gz) = 1540679 bytes -SHA1 (patch-aa) = 6b8924fc70a0689a8a58a3fd940b725ba9549a52 -SHA1 (patch-ab) = 60b0ba8f17aa8c07a1e57f61c6e0fa9e19892b57 +SHA1 (pari-2.1.6.tgz) = 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e +RMD160 (pari-2.1.6.tgz) = 6b79e84b639d1862df148b253136deacd73bf4f0 +Size (pari-2.1.6.tgz) = 1541464 bytes +SHA1 (patch-aa) = e169471d22d5f9fab10a074ea8f676c6754c6462 +SHA1 (patch-ab) = 772ee298763d3fd8b63f77f6a277e347299205d5 SHA1 (patch-ac) = 84af235f319ae108aadeedea5a25e005540160ac SHA1 (patch-ad) = 82c0532ba6bc23b1c91865591c2bdfbee144bcf9 SHA1 (patch-ae) = 0b8cd90077b3722c53175685e23915770d53b2b8 @@ -14,7 +14,7 @@ SHA1 (patch-ah) = a5517f6f83812de3a7e3c5f6842df12a40871951 SHA1 (patch-ai) = 3e82dd6786bca74c0a1fa4bcff770216efa6d281 SHA1 (patch-aj) = 46bb1f1d1f98e28070f5c75c90d94ec359f9683f SHA1 (patch-ak) = 62d2663b06cd709ac04e2b097687201826049e73 -SHA1 (patch-al) = 4ad12d0f0cf111ae7167a8ac211831d9d4d4f47d +SHA1 (patch-al) = 11fb045f08a306b65962855e4af8d68d6146e8a9 SHA1 (patch-am) = f37571baaf6b4ff3f805a5917f55a61324347842 SHA1 (patch-an) = 881878c2903b4f1114b41349b103bb70574fcecb SHA1 (patch-ao) = d6f818278f2ef0599479d2a58efc412a9eedc779 diff --git a/math/pari/patches/patch-aa b/math/pari/patches/patch-aa index 1be87798ebe..bb4e9df78d2 100644 --- a/math/pari/patches/patch-aa +++ b/math/pari/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ +$NetBSD: patch-aa,v 1.11 2005/09/08 08:39:59 adam Exp $ ---- Configure.orig 2003-04-03 19:11:02.000000000 +0000 -+++ Configure 2005-07-08 21:59:13.000000000 +0000 -@@ -187,35 +187,7 @@ +--- Configure.orig 2004-11-25 15:58:25.000000000 +0000 ++++ Configure +@@ -187,35 +187,7 @@ if test -z "$OS2_SHELL"; then dir_sep=': pth="\ /bin\ /usr/bin\ @@ -39,16 +39,16 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ " # /usr/openwin/bin added for xmkmf -@@ -246,7 +218,7 @@ +@@ -246,7 +218,7 @@ fi # We might need the following : # echo Looking for some tools first ... -list='ld zcat gzip ranlib perl emacs' -+list='ld zcat gzip ranlib emacs' ++list='ld zcat ranlib emacs' pathspace=`echo $PATH | sed -e "s/$dir_sep/ /g" | sed -e 's,\\\\,/,g'` for file in $list; do -@@ -259,6 +231,7 @@ +@@ -259,6 +231,7 @@ for file in $list; do esac done if test -z "$zcat" -a -n "$gzip"; then zcat="$gzip -dc"; fi @@ -56,7 +56,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ ####################### CONFIGURE - ARCHITECTURE ############################ # -@@ -290,7 +263,7 @@ +@@ -290,7 +263,7 @@ if test "$fastread" != yes; then ========================================================================== I know of the following Operating Systems EOM @@ -65,7 +65,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ . ./display echo $n ..."Any of these apply ? $c" dflt=$osname; . ./myread -@@ -302,20 +275,26 @@ +@@ -302,20 +275,26 @@ fi # The asm file used (if any) # case "$arch" in @@ -95,8 +95,8 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ fx2800) asmarch=none; pretty="Alliant FX/2800" ;; none) asmarch=none; pretty="unknown" ;; *) asmarch=none; pretty=$arch -@@ -329,6 +308,9 @@ - nextstep|cygwin*|linux|freebsd|os2) +@@ -329,6 +308,9 @@ case "$osname" in + nextstep|cygwin*|linux|freebsd|os2|gnu) pretty="$pretty running $osname"; if test "$arch" = m68k; then asmarch=none; fi ;; + netbsd) @@ -105,7 +105,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ esac if test "$kernel" = no; then -@@ -351,7 +333,7 @@ +@@ -351,7 +333,7 @@ EOM fi fi case "$asmarch" in @@ -114,7 +114,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ sparcv7) prettyk=SparcV7;; sparcv8_super) prettyk=SuperSparc;; sparcv8_micro) prettyk=MicroSparc;; -@@ -375,7 +357,7 @@ +@@ -375,7 +357,7 @@ echo "Building for architecture: $pretty case "$osname-$arch" in os2-*) ln_s=cp; make_sh=sh; exe_suff=.exe; extraflag="-Zexe" ;; cygwin*) ln_s="ln -s"; make_sh="/bin/sh"; exe_suff=.exe; extraflag="" ;; @@ -123,7 +123,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ esac ####################### CONFIGURE - LIBRARIES ############################### -@@ -418,20 +400,8 @@ +@@ -418,20 +400,8 @@ if test "$optimization" != profiling; th fi;; os2) libpth=`echo $LIBRARY_PATH | sed 's/;/ /g' | sed 's,\\\\,/,g'`;; *) libpth="\ @@ -145,7 +145,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ .\ ";; esac -@@ -518,17 +488,9 @@ +@@ -518,17 +488,9 @@ if test "$optimization" != profiling; th # Readline -- TermCap lib=$rl_fullname; sym=tgetent; . ./locatesymbol if test -n "$try"; then # tgetent needed @@ -163,7 +163,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ # Readline -- Allocation lib=$rl_fullname; sym=alloca; . ./locatesymbol if test -n "$try"; then # alloca needed -@@ -546,24 +508,15 @@ +@@ -546,24 +508,15 @@ if test "$optimization" != profiling; th $cygtop/H-${arch}-cygwin32/${arch}-cygwin32/include\ ";; *) incpth="\ @@ -191,7 +191,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ if (grep CPPFunction $x > /dev/null 2>&1); then CPPF_defined=yes; fi if (grep rl_message $x > /dev/null 2>&1); then rl_message=yes; fi if (grep rl_completion_matches $x > /dev/null 2>&1); then -@@ -601,7 +554,7 @@ +@@ -601,7 +554,7 @@ if test "$optimization" != profiling; th # in case headers are not installed correctly RLINCLUDE="-I$rl_include -DREADLINE_LIBRARY" fi @@ -200,7 +200,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ if test -n "$rl_ncurses"; then echo ..."Library ncurses needed by readline" RLLIBS="$RLLIBS -lncurses" -@@ -662,33 +615,7 @@ +@@ -662,33 +615,7 @@ EOT # X11 -- Headers if test ! -f $Xincroot/X11/Xos.h; then x11pth="\ @@ -235,7 +235,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ "; pth=`echo $x11pth | s,/lib,/include,g` x=`./locate X11/Xos.h '' $pth` -@@ -877,7 +804,7 @@ +@@ -877,7 +804,7 @@ else esac PRFFLAGS="$PRFFLAGS $OPTFLAGS" fi @@ -244,15 +244,15 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ case "$osname" in nextstep) cflags="-traditional-cpp $cflags";; -@@ -962,6 +889,7 @@ - linux-*|cygwin*) +@@ -962,6 +889,7 @@ case "$osname-$arch" in + linux-*|cygwin*|gnu-*) LD=$CC; LDFLAGS="$cflags -Xlinker -export-dynamic" runpathprefix='-Xlinker -rpath -Xlinker ';; + netbsd*) LD=$CC; LDFLAGS="$LDFLAGS -Wl,-E";; osf1-alpha) LD=$ld; LIBS="$LIBS -lots -lc"; runpathprefix='-rpath ' LDFLAGS='-std0 -call_shared /usr/lib/cmplrs/cc/crt0.o' -@@ -1207,8 +1135,8 @@ +@@ -1207,8 +1135,8 @@ if test -z "$share_prefix"; then dfltman=$prefix/man/man1 dfltall=$prefix/lib/pari else @@ -263,7 +263,7 @@ $NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $ fi echo $n ..."\"gp\" executable ? $c" -@@ -1289,6 +1217,7 @@ +@@ -1289,6 +1217,7 @@ fi case "$osname" in *cygwin*) LDDYN="-L$libdir -lpari_dll" ; runpath="$libdir" ; DYNLIBS=-lpari_dll ; DYNFLAGS=-Dlibpari_USE_DLL ;; diff --git a/math/pari/patches/patch-ab b/math/pari/patches/patch-ab index fc88a52068a..1721ed63eca 100644 --- a/math/pari/patches/patch-ab +++ b/math/pari/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.4 2003/07/07 21:57:50 jtb Exp $ +$NetBSD: patch-ab,v 1.5 2005/09/08 08:39:59 adam Exp $ --- config/Makefile.SH.orig +++ config/Makefile.SH @@ -242,7 +242,7 @@ $NetBSD: patch-ab,v 1.4 2003/07/07 21:57:50 jtb Exp $ - -\$(RM) \$(LIBDIR)/\$(LIBPARI_STA) - \$(INSTALL_DATA) \$(LIBPARI_STA) \$(LIBDIR)/\$(LIBPARI_STA).$version - -\$(LN) \$(LIBPARI_STA).$version \$(LIBDIR)/\$(LIBPARI_STA) -+ \$(LIBTOOL) --mode=install \$(INSTALL_DATA) \$(LIBPARI) \$(LIBDIR)/ ++ \$(LIBTOOL) --mode=install \$(BSD_INSTALL_LIB) \$(LIBPARI) \$(LIBDIR)/ -install-lib-dyn: \$(LIBPARI_DYN) - -mkdir -p \$(LIBDIR) diff --git a/math/pari/patches/patch-al b/math/pari/patches/patch-al index 257e38990cc..cb3b9c6ff13 100644 --- a/math/pari/patches/patch-al +++ b/math/pari/patches/patch-al @@ -1,6 +1,6 @@ -$NetBSD: patch-al,v 1.1 2003/07/07 21:57:51 jtb Exp $ +$NetBSD: patch-al,v 1.2 2005/09/08 08:39:59 adam Exp $ ---- src/kernel/sparcv8/Makefile.SH.orig +--- src/kernel/sparcv8/Makefile.SH.orig 2003-04-25 19:08:14.000000000 +0000 +++ src/kernel/sparcv8/Makefile.SH @@ -5,7 +5,7 @@ # that can (resp. cannot) be inline. @@ -11,25 +11,7 @@ $NetBSD: patch-al,v 1.1 2003/07/07 21:57:51 jtb Exp $ # We don't accept "asm inline" since it does not work (Ptitboul) if test "$gnuas" = "yes"; then do_cpp=yes; fi -@@ -14,7 +14,7 @@ - kernel1=$ker/level0_$asmarch.S - kernel2=$ker/level0.S - --if test "$osname" = "nextstep" -o "$osname" = "linux" -+if test "$osname" = "nextstep" -o "$osname" = "linux" -o "$osname" = "netbsd" - then - level0=$src/kernel/none/asm0.h - else -@@ -22,7 +22,7 @@ - fi - level1=$src/kernel/none/level1.h - --if test "$osname" = "nextstep" -o "$osname" = "linux" -o "$do_cpp" = "yes" -+if test "$osname" = "nextstep" -o "$osname" = "linux" -o "$osname" = "netbsd" -o "$do_cpp" = "yes" - then - cat >> $file << EOT - kernel1.s: $kernel1 -@@ -37,14 +37,14 @@ +@@ -37,14 +37,14 @@ fi cat >> $file << EOT pariinl.h: $level0 $level1 cat $level0 $level1 > \$@ -- cgit v1.2.3