mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Fix "bad C++ code" and unbreak.
This commit is contained in:
parent
56aa4842fd
commit
9281c6aff2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124989
@ -27,14 +27,8 @@ CONFIGURE_ENV= LDFLAGS="-lm ${PTHREAD_LIBS}" \
|
||||
LIBQT=-lqt-mt
|
||||
MAKE_ENV= QTDIR=${X11BASE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500113
|
||||
BROKEN= "Does not compile (bad C++ code)"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
${WRKSRC}/qscanplot/templates/sample.qscanplotrc
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- qscanplot/lagrangeinterpolator.cpp.orig Sat Mar 30 17:30:42 2002
|
||||
+++ qscanplot/lagrangeinterpolator.cpp Thu Dec 23 20:19:26 2004
|
||||
@@ -32,7 +32,7 @@
|
||||
// Implementation of class LagrangeInterpolator
|
||||
|
||||
/** Constructor */
|
||||
-LagrangeInterpolator::LagrangeInterpolator(double *px, double *py, int n=0)
|
||||
+LagrangeInterpolator::LagrangeInterpolator(double *px=0, double *py=0, int n=0)
|
||||
: Interpolator(px,py), length(n) {}
|
||||
|
||||
/** Sets the length of the vectors */
|
11
math/qscanplot/files/patch-qscanplot::lagrangeinterpolator.h
Normal file
11
math/qscanplot/files/patch-qscanplot::lagrangeinterpolator.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- qscanplot/lagrangeinterpolator.h.orig Sat Mar 30 17:30:43 2002
|
||||
+++ qscanplot/lagrangeinterpolator.h Thu Dec 23 20:20:14 2004
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
public:
|
||||
|
||||
- LagrangeInterpolator(double*px=0, double*py=0, int n=0); // constructor
|
||||
+ LagrangeInterpolator(double*px, double*py, int n); // constructor
|
||||
|
||||
public:
|
||||
void setLength(int n);
|
Loading…
Reference in New Issue
Block a user