Include <complex> instead of the obsolete <boost/tr1/complex.hpp>. The

upcoming boost 1.65 upgrade removes support for tr1.

Sort ONLY_FOR_ARCHS to pacify portlint.

No PORTREVISION bump since the code does not appear to change.

PR:		220723
This commit is contained in:
Don Lewis
2017-07-22 03:50:12 +00:00
parent 8c23dd7abd
commit 5fa838568e
4 changed files with 24 additions and 2 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ XDGDIR= ${OOPATH}/share/xdg
XDGREL= ../../${INSTALLATION_BASEDIR}/openoffice${AOOVERSION1}/share/xdg
EXECBASE?= openoffice-${AOOSUFFIX}
ONLY_FOR_ARCHS= i386 amd64 powerpc64
ONLY_FOR_ARCHS= amd64 i386 powerpc64
USE_GL= gl glu
USE_GNOME= gtk20 libxslt libidl glib20
@@ -0,0 +1,11 @@
--- scaddins/source/analysis/analysishelper.hxx.orig 2014-09-19 18:07:44 UTC
+++ scaddins/source/analysis/analysishelper.hxx
@@ -35,7 +35,7 @@
#include <math.h>
-#include <boost/tr1/complex.hpp>
+#include <complex>
#ifndef double_complex
typedef std::complex<double> double_complex;
#endif
+1 -1
View File
@@ -127,7 +127,7 @@ XDGDIR= ${OOPATH}/share/xdg
XDGREL= ../../${INSTALLATION_BASEDIR}/openoffice${AOOVERSION1}/share/xdg
EXECBASE?= openoffice-${AOOSUFFIX}
ONLY_FOR_ARCHS= i386 amd64 powerpc64
ONLY_FOR_ARCHS= amd64 i386 powerpc64
USE_GL= gl glu
USE_GNOME= gtk20 libxslt libidl glib20
@@ -0,0 +1,11 @@
--- scaddins/source/analysis/analysishelper.hxx.orig 2014-09-19 18:07:44 UTC
+++ scaddins/source/analysis/analysishelper.hxx
@@ -35,7 +35,7 @@
#include <math.h>
-#include <boost/tr1/complex.hpp>
+#include <complex>
#ifndef double_complex
typedef std::complex<double> double_complex;
#endif