ports/115731: Maintainer update for lang/dylan port

Peter S. Housel housel at acm.org
Wed Aug 22 20:10:02 UTC 2007


>Number:         115731
>Category:       ports
>Synopsis:       Maintainer update for lang/dylan port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 22 20:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Peter S. Housel
>Release:        7.0-CURRENT
>Organization:
>Environment:
FreeBSD housel.dyndns.org 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed May 30 20:56:45 PDT 2007     housel at housel.dyndns.org:/usr/obj/usr/src/sys/HOUSEL  i386
>Description:
Building the lang/dylan port currently fails when using GCC 4.x.  Adding the enclosed file as /usr/ports/lang/dylan/files/patch-float.c fixes the problem.

I am also the maintainer of the upstream code and am fixing it there as well.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- d2c/runtime/c-code/float.c	Wed Jul 23 08:08:58 2003
+++ d2c/runtime/c-code/float.c	Tue Aug 21 14:43:47 2007
@@ -101,11 +101,11 @@
 
 #define SQRTHL	0.70710678118654752440L
 
+static long double polevll(long double, long double *, size_t);
+static long double p1evll(long double, long double *, size_t);
+
 long double (logl)(long double x)
 {
-  static long double polevll(long double, long double *, size_t);
-  static long double p1evll(long double, long double *, size_t);
-
   /* Coefficients for log(1+x) = x - x**2/2 + x**3 P(x)/Q(x) 1/sqrt(2) <= x <
    * sqrt(2) Theoretical peak relative error = 2.32e-20
    */
@@ -229,11 +229,11 @@
 #define LOG2EAL	4.4269504088896340735992e-1L
 #define SQRTHL	0.70710678118654752440L
 
+long double polevll(long double, long double *, size_t);
+long double p1evll(long double, long double *, size_t);
+
 long double (log2l)(long double x)
 {
-  static long double polevll(long double, long double *, size_t);
-  static long double p1evll(long double, long double *, size_t);
-
   static long double P[] = {
     4.9962495940332550844739E-1L,
     1.0767376367209449010438E1L,
@@ -362,11 +362,11 @@
 
 #define SQRTHL	0.70710678118654752440L
 
+static long double polevll(long double, long double *, size_t);
+static long double p1evll(long double, long double *, size_t);
+
 long double (log10l)(long double x)
 {
-  static long double polevll(long double, long double *, size_t);
-  static long double p1evll(long double, long double *, size_t);
-
   /* Coefficients for log(1+x) = x - x**2/2 + x**3 P(x)/Q(x) 1/sqrt(2) <= x <
    * sqrt(2) Theoretical peak relative error = 6.2e-22
    */
@@ -497,11 +497,11 @@
 #define LOG2EA	0.44269504088896340735992	/* log2(e) - 1 */
 #define SQRTH	0.70710678118654752440
 
+static double polevl(double, double *, size_t);
+static double p1evl(double, double *, size_t);
+
 double (log2)(double x)
 {
-  static double polevl(double, double *, size_t);
-  static double p1evl(double, double *, size_t);
-
   /* Coefficients for log(1+x) = x - x**2/2 + x**3 P(x)/Q(x) 1/sqrt(2) <= x <
    * sqrt(2)
    */


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list