FreeBSD Bugzilla – Attachment 68456 Details for
Bug 100633
[MAINTAINER PATCH] cad/jspice3: fix build on systems with pre-c99 compilers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
jspice3-2.5_2.patch
jspice3-2.5_2.patch (text/plain), 2.03 KB, created by
Stanislav Sedov
on 2006-07-20 21:10:16 UTC
(
hide
)
Description:
jspice3-2.5_2.patch
Filename:
MIME Type:
Creator:
Stanislav Sedov
Created:
2006-07-20 21:10:16 UTC
Size:
2.03 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/cad/jspice3/Makefile /var/tmp/work4/jspice3/Makefile >--- /usr/ports/cad/jspice3/Makefile Thu Jul 20 23:50:40 2006 >+++ /var/tmp/work4/jspice3/Makefile Fri Jul 21 00:06:13 2006 >@@ -7,7 +7,7 @@ > > PORTNAME= jspice3 > PORTVERSION= 2.5 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= cad > MASTER_SITES= http://www.wrcad.com/ftp/pub/ \ > ftp://ftp.srware.com/pub/ >diff -ruN --exclude=CVS /usr/ports/cad/jspice3/files/patch-src+lib+dev+ltra+ltramisc.c /var/tmp/work4/jspice3/files/patch-src+lib+dev+ltra+ltramisc.c >--- /usr/ports/cad/jspice3/files/patch-src+lib+dev+ltra+ltramisc.c Thu Jan 1 03:00:00 1970 >+++ /var/tmp/work4/jspice3/files/patch-src+lib+dev+ltra+ltramisc.c Thu Jul 20 23:59:47 2006 >@@ -0,0 +1,31 @@ >+--- src/lib/dev/ltra/ltramisc.c.orig Wed Jan 5 03:25:41 2005 >++++ src/lib/dev/ltra/ltramisc.c Thu Jul 20 23:59:44 2006 >+@@ -965,10 +965,12 @@ >+ double ax = fabs(x); >+ if (ax < 3.75) { >+ double y = x/3.75; >++ double ans1; >++ double ans2; >+ y *= y; >+- double ans1 = 1.0+y*(3.5156229+y*(3.0899424+y*(1.2067492 >++ ans1 = 1.0+y*(3.5156229+y*(3.0899424+y*(1.2067492 >+ +y*(0.2659732+y*(0.360768e-1+y*0.45813e-2))))); >+- double ans2 = ax*(0.5+y*(0.87890594+y*(0.51498869+y*(0.15084934 >++ ans2 = ax*(0.5+y*(0.87890594+y*(0.51498869+y*(0.15084934 >+ +y*(0.2658733e-1+y*(0.301532e-2+y*0.32411e-3)))))); >+ if (x > 0) >+ ans1 += ans2; >+@@ -978,11 +980,12 @@ >+ } >+ else { >+ double y = 3.75/ax; >++ double ans2; >+ double ans1 = (0.39894228+y*(0.1328592e-1 >+ +y*(0.225319e-2+y*(-0.157565e-2+y*(0.916281e-2 >+ +y*(-0.2057706e-1+y*(0.2635537e-1+y*(-0.1647633e-1 >+ +y*0.392377e-2)))))))); >+- double ans2 = 0.2282967e-1+y*(-0.2895312e-1+y*(0.1787654e-1 >++ ans2 = 0.2282967e-1+y*(-0.2895312e-1+y*(0.1787654e-1 >+ -y*0.420059e-2)); >+ ans2 = 0.39894228+y*(-0.3988024e-1+y*(-0.362018e-2 >+ +y*(0.163801e-2+y*(-0.1031555e-1+y*ans2))));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 100633
: 68456