From yoshiaki@kt.rim.or.jp  Wed Oct  5 14:28:24 2005
Return-Path: <yoshiaki@kt.rim.or.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3D6FD16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 Oct 2005 14:28:24 +0000 (GMT)
	(envelope-from yoshiaki@kt.rim.or.jp)
Received: from serio.al.rim.or.jp (serio.al.rim.or.jp [202.247.191.123])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8FEB243D45
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 Oct 2005 14:28:21 +0000 (GMT)
	(envelope-from yoshiaki@kt.rim.or.jp)
Received: from mail3
	by serio.al.rim.or.jp (3.7W/HMX-13) id XAA21541
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 5 Oct 2005 23:28:19 +0900 (JST)
Received: from singer.tertio.atoll (TPH1Adb097.tky.mesh.ad.jp [60.237.166.97]) by mail3 (8.9.3/3.7W)
	id XAA11343 for <FreeBSD-gnats-submit@freebsd.org>; Wed, 5 Oct 2005 23:28:19 +0900 (JST)
Received: (from yoshiaki@localhost)
	by singer.tertio.atoll (8.13.4/8.12.9/Submit) id j95ESL2b051808;
	Wed, 5 Oct 2005 23:28:21 +0900 (JST)
	(envelope-from yoshiaki)
Message-Id: <200510051428.j95ESL2b051808@singer.tertio.atoll>
Date: Wed, 5 Oct 2005 23:28:21 +0900 (JST)
From: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
Reply-To: Yoshiaki Uchikawa <yoshiakikt.rim.or.jp@kt.rim.or.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ports:pari update (2.1.6 -> 2.1.7)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         86947
>Category:       ports
>Synopsis:       ports:pari update (2.1.6 -> 2.1.7)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tobez
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 05 14:30:13 GMT 2005
>Closed-Date:    Wed Mar 01 09:30:25 CET 2006
>Last-Modified:  Wed Mar 01 09:30:25 CET 2006
>Originator:     Yoshiaki Uchikawa
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD singer.tertio.atoll 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Oct 1 15:08:50 JST 2005 yoshiaki@singer.tertio.atoll:/usr/src/sys/i386/compile/CRUSE i386


	
>Description:
  ports/math pari update
  2.1.6 -> 2.1.7

>How-To-Repeat:
>Fix:

diff -ruN pari/Makefile pari217/Makefile
--- pari/Makefile	Sun Mar 27 06:19:49 2005
+++ pari217/Makefile	Wed Oct  5 22:54:03 2005
@@ -2,11 +2,11 @@
 # Date created:		19 January 1999
 # Whom:	Yoshiaki UCHIKAWA <yoshiaki@kt.rim.or.jp>
 #
-# $FreeBSD: ports/math/pari/Makefile,v 1.35 2005/03/26 21:19:49 kris Exp $
+# $FreeBSD: ports/math/pari/Makefile,v 1.33 2004/10/04 23:27:44 ade Exp $
 #
 
 PORTNAME=	pari
-PORTVERSION=	2.1.6
+PORTVERSION=	2.1.7
 CATEGORIES=	math
 MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/
 
@@ -44,8 +44,8 @@
 CFLAGS+=	-fPIC
 .endif
 
-.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
-BROKEN=		"Does not compile on sparc64 or ia64"
+.if ${ARCH} == "sparc64"
+BROKEN=		"Does not compile on sparc64"
 .endif
 
 post-patch:
diff -ruN pari/distinfo pari217/distinfo
--- pari/distinfo	Sat Feb 19 18:16:20 2005
+++ pari217/distinfo	Wed Oct  5 22:54:54 2005
@@ -1,2 +1,2 @@
-MD5 (pari-2.1.6.tgz) = 506a061c8dcdec33d18876f3c551e951
-SIZE (pari-2.1.6.tgz) = 1541464
+MD5 (pari-2.1.7.tgz) = 357b7a42e89e2761a5367bbcbfcca5f2
+SIZE (pari-2.1.7.tgz) = 1542137
diff -ruN pari/files/patch-has_exp2.c pari217/files/patch-has_exp2.c
--- pari/files/patch-has_exp2.c	Thu Sep 30 01:09:28 2004
+++ pari217/files/patch-has_exp2.c	Thu Jan  1 09:00:00 1970
@@ -1,6 +0,0 @@
---- config/has_exp2.c_orig	Thu Sep 16 08:46:59 1999
-+++ config/has_exp2.c	Thu Sep 16 14:27:18 2004
-@@ -1,2 +1,2 @@
- #include &lt;math.h&gt;
--main(){double x=exp2(1.0);}
-+main(){double x=exp2(0.666);}


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tobez 
Responsible-Changed-By: tobez 
Responsible-Changed-When: Wed Oct 5 16:52:57 CEST 2005 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86947 
State-Changed-From-To: open->feedback 
State-Changed-By: tobez 
State-Changed-When: Wed Oct 5 22:33:11 CEST 2005 
State-Changed-Why:  
How relevant is the following code in the Makefile? 

.if ${OSVERSION} >= 502126 
USE_GCC=    3.2 
.endif 

That is, would it not work with gcc 3.4.2 in the base system of, say, 
FreeBSD 5.4 (OSVERSION around 504102)? 

I ask because it is not possible to build lang/gcc32 on amd64: 

===>  gcc-3.2.3_3 does not run on amd64, and you are running amd64. 

I tried to comment out that OSVERSION check, and pari builds and appears 
to be working (I did not do much testing, just computed a Pi with some 
high precision). 

So what's your take on this?  Can this OSVERSION check be removed or at 
least refined? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86947 
State-Changed-From-To: feedback->closed 
State-Changed-By: tobez 
State-Changed-When: Wed Mar 1 09:29:20 CET 2006 
State-Changed-Why:  
Obsoleted by ports/93944. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86947 
>Unformatted:
