ports/57285: Update port: graphics/gts

KATO Tsuguru tkato at prontomail.com
Sat Sep 27 15:00:39 UTC 2003


>Number:         57285
>Category:       ports
>Synopsis:       Update port: graphics/gts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 27 08:00:30 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Fix build on non-i386 platform

New file:
files/patch-src::rounding.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/gts/Makefile graphics/gts/Makefile
--- /usr/ports/graphics/gts/Makefile	Thu Jul 17 17:47:52 2003
+++ graphics/gts/Makefile	Wed Sep 24 13:01:00 2003
@@ -26,9 +26,6 @@
 CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
 
-# Supports only i386 FP operation
-ONLY_FOR_ARCHS=	i386
-
 post-patch:
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|-release \$$(LT_RELEASE)||g'
diff -urN /usr/ports/graphics/gts/files/patch-src::rounding.h graphics/gts/files/patch-src::rounding.h
--- /usr/ports/graphics/gts/files/patch-src::rounding.h	Thu Jan  1 09:00:00 1970
+++ graphics/gts/files/patch-src::rounding.h	Wed Sep 24 12:57:59 2003
@@ -0,0 +1,16 @@
+--- src/rounding.h.orig	Mon Jun 17 12:05:45 2002
++++ src/rounding.h	Wed Sep 24 12:57:41 2003
+@@ -28,11 +28,11 @@
+                              _FPU_SETCW(fpu_round_double); }
+ #  define FPU_RESTORE       {_FPU_SETCW(fpu_init);}
+ #else /* not HAVE_FPU_CONTROL_H */
+-#  ifdef __FreeBSD__
++#  ifdef HAVE_FROATINGPOINT_H
+ #    include <floatingpoint.h>
+ #    define FPU_ROUND_DOUBLE  (fpsetprec(FP_PD))
+ #    define FPU_RESTORE       (fpsetprec(FP_PE))
+-#  else /* not __FreeBSD__ */
++#  else /* not HAVE_FROATINGPOINT_H */
+ #    ifdef WIN32
+ #      ifdef _MSC_VER
+ #        include <float.h>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list