[145121] trunk/dports/science/eo
dstrubbe at macports.org
dstrubbe at macports.org
Tue Jan 26 03:25:13 PST 2016
Revision: 145121
https://trac.macports.org/changeset/145121
Author: dstrubbe at macports.org
Date: 2016-01-26 03:25:13 -0800 (Tue, 26 Jan 2016)
Log Message:
-----------
eo: Patch old gnuplot syntax that causes warnings in test phase. Also add file I forgot in previous commit.
Modified Paths:
--------------
trunk/dports/science/eo/Portfile
Added Paths:
-----------
trunk/dports/science/eo/files/patch-src-utils-eoGnuplot1DSnapshot.h.diff
trunk/dports/science/eo/files/patch-test-t-eoSelect.cpp.diff
Modified: trunk/dports/science/eo/Portfile
===================================================================
--- trunk/dports/science/eo/Portfile 2016-01-26 11:14:05 UTC (rev 145120)
+++ trunk/dports/science/eo/Portfile 2016-01-26 11:25:13 UTC (rev 145121)
@@ -39,7 +39,8 @@
patch-make_checkpoint_FDC.h.diff \
patch-make_checkpoint_pareto.h.diff \
patch-make_help.cpp.diff \
- patch-test-t-eoSelect.cpp.diff
+ patch-test-t-eoSelect.cpp.diff \
+ patch-src-utils-eoGnuplot1DSnapshot.h.diff
# last is required for 'port test' with a GCC compiler.
configure.args-append --disable-applications --disable-gnuplot --disable-tutorial
@@ -94,8 +95,6 @@
# }
#}
-# patch 'set data style points' to 'set style data points' for gnuplot 5
-
variant applications {
license-append GPL-2+
configure.args-append --enable-applications
Added: trunk/dports/science/eo/files/patch-src-utils-eoGnuplot1DSnapshot.h.diff
===================================================================
--- trunk/dports/science/eo/files/patch-src-utils-eoGnuplot1DSnapshot.h.diff (rev 0)
+++ trunk/dports/science/eo/files/patch-src-utils-eoGnuplot1DSnapshot.h.diff 2016-01-26 11:25:13 UTC (rev 145121)
@@ -0,0 +1,37 @@
+--- src/utils/eoGnuplot1DSnapshot.h.orig 2016-01-26 12:13:11.000000000 +0100
++++ src/utils/eoGnuplot1DSnapshot.h 2016-01-26 12:13:53.000000000 +0100
+@@ -56,7 +56,7 @@
+ std::string _filename = "gen", std::string _delim = " ",
+ unsigned _counter = 0, bool _rmFiles = true) :
+ eoFileSnapshot(_dirname, _frequency, _filename, _delim, _counter, _rmFiles),
+- eoGnuplot(_filename,"set data style points"),
++ eoGnuplot(_filename,"set style data points"),
+ pointSize(5)
+ {}
+
+@@ -65,7 +65,7 @@
+ unsigned _frequency = 1, std::string _filename = "gen",
+ std::string _delim = " ", unsigned _counter = 0, bool _rmFiles = true ) :
+ eoFileSnapshot(_dirname, _frequency, _filename, _delim, _counter, _rmFiles),
+- eoGnuplot(_filename,"set data style points"),
++ eoGnuplot(_filename,"set style data points"),
+ pointSize(5)
+ {
+ handleBounds(_bounds);
+@@ -73,14 +73,14 @@
+ // Ctor
+ eoGnuplot1DSnapshot(eoFileSnapshot & _fSnapshot) :
+ eoFileSnapshot(_fSnapshot),
+- eoGnuplot(_fSnapshot.baseFileName(),"set data style points"),
++ eoGnuplot(_fSnapshot.baseFileName(),"set style data points"),
+ pointSize(5)
+ {}
+
+ // Ctor with range
+ eoGnuplot1DSnapshot(eoFileSnapshot & _fSnapshot, eoRealVectorBounds & _bounds) :
+ eoFileSnapshot(_fSnapshot),
+- eoGnuplot(_fSnapshot.baseFileName(),"set data style points"),
++ eoGnuplot(_fSnapshot.baseFileName(),"set style data points"),
+ pointSize(5)
+ {
+ handleBounds(_bounds);
Added: trunk/dports/science/eo/files/patch-test-t-eoSelect.cpp.diff
===================================================================
--- trunk/dports/science/eo/files/patch-test-t-eoSelect.cpp.diff (rev 0)
+++ trunk/dports/science/eo/files/patch-test-t-eoSelect.cpp.diff 2016-01-26 11:25:13 UTC (rev 145121)
@@ -0,0 +1,10 @@
+--- test/t-eoSelect.cpp.orig 2016-01-26 11:34:44.000000000 +0100
++++ test/t-eoSelect.cpp 2016-01-26 11:34:35.000000000 +0100
+@@ -6,6 +6,7 @@
+ #endif
+
+ #include <stdexcept> // runtime_error
++#include <cstring>
+
+ // general
+ #include <eo>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160126/c7b8d65d/attachment.html>
More information about the macports-changes
mailing list