mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build with gcc-3.4
PR: ports/71060 Submitted by: Ports Fury
This commit is contained in:
parent
87b4561773
commit
a6030048c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117490
3 changed files with 24 additions and 0 deletions
|
@ -21,6 +21,8 @@ MAKE_ENV= MOC="${MOC}" \
|
|||
QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
|
||||
QTCFGLIBS="${QTCFGLIBS} ${PTHREAD_LIBS}"
|
||||
|
||||
CFLAGS+= -fpermissive
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mview ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
|
12
graphics/meshviewer/files/patch-mesh::matrix3.h
Normal file
12
graphics/meshviewer/files/patch-mesh::matrix3.h
Normal file
|
@ -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
|
||||
|
10
graphics/meshviewer/files/patch-texture::array3d.h
Normal file
10
graphics/meshviewer/files/patch-texture::array3d.h
Normal file
|
@ -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;
|
||||
}
|
Loading…
Add table
Reference in a new issue