ports/71060: Update port: graphics/meshviewer

KATO Tsuguru tkato432 at yahoo.com
Sat Aug 28 00:10:29 UTC 2004


>Number:         71060
>Category:       ports
>Synopsis:       Update port: graphics/meshviewer
>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 Aug 28 00:10:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix build on -current after gcc 3.4 import

New file:
files/patch-mesh::matrix3.h
files/patch-texture::array3d.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/meshviewer/Makefile graphics/meshviewer/Makefile
--- /usr/ports/graphics/meshviewer/Makefile	Mon Apr 19 11:36:55 2004
+++ graphics/meshviewer/Makefile	Fri Aug 27 12:28:23 2004
@@ -21,6 +21,8 @@
 		QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
 		QTCFGLIBS="${QTCFGLIBS} ${PTHREAD_LIBS}"
 
+CFLAGS+=	-fpermissive
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mview ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
diff -urN /usr/ports/graphics/meshviewer/files/patch-mesh::matrix3.h graphics/meshviewer/files/patch-mesh::matrix3.h
--- /usr/ports/graphics/meshviewer/files/patch-mesh::matrix3.h	Thu Jan  1 09:00:00 1970
+++ graphics/meshviewer/files/patch-mesh::matrix3.h	Fri Aug 27 12:44:24 2004
@@ -0,0 +1,12 @@
+--- mesh/matrix3.h.orig	Sun Nov  9 21:01:16 2003
++++ mesh/matrix3.h	Fri Aug 27 12:44:20 2004
+@@ -9,7 +9,8 @@
+ #ifndef _MATRIX3_H
+ #define _MATRIX3_H
+ 
+-#include <stdarg.h>
++#include <cstdarg>
++#include <cmath>
+ 
+ #define SIZE 3
+ 
diff -urN /usr/ports/graphics/meshviewer/files/patch-texture::array3d.h graphics/meshviewer/files/patch-texture::array3d.h
--- /usr/ports/graphics/meshviewer/files/patch-texture::array3d.h	Thu Jan  1 09:00:00 1970
+++ graphics/meshviewer/files/patch-texture::array3d.h	Fri Aug 27 12:56:23 2004
@@ -0,0 +1,10 @@
+--- texture/array3d.h.orig	Sun Nov  9 21:13:01 2003
++++ texture/array3d.h	Fri Aug 27 12:53:54 2004
+@@ -16,6 +16,7 @@
+ 
+   Array3D()
+     {
++      int x, y, z;
+       x=y=z=0;
+       data=NULL;
+     }
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list