[35622] trunk/dports/science/eo
jochen at macports.org
jochen at macports.org
Mon Mar 31 06:43:24 PDT 2008
Revision: 35622
http://trac.macosforge.org/projects/macports/changeset/35622
Author: jochen at macports.org
Date: 2008-03-31 06:43:24 -0700 (Mon, 31 Mar 2008)
Log Message:
-----------
provide patches for gcc43 (UINT_MAX needs climits included)
Modified Paths:
--------------
trunk/dports/science/eo/Portfile
Added Paths:
-----------
trunk/dports/science/eo/files/
trunk/dports/science/eo/files/patch-make_checkpoint.h.diff
trunk/dports/science/eo/files/patch-make_checkpoint_FDC.h.diff
trunk/dports/science/eo/files/patch-make_checkpoint_assembled.h.diff
trunk/dports/science/eo/files/patch-make_checkpoint_pareto.h.diff
Modified: trunk/dports/science/eo/Portfile
===================================================================
--- trunk/dports/science/eo/Portfile 2008-03-31 13:42:33 UTC (rev 35621)
+++ trunk/dports/science/eo/Portfile 2008-03-31 13:43:24 UTC (rev 35622)
@@ -27,6 +27,11 @@
default_variants +gnuplot
+patchfiles patch-make_checkpoint.h.diff \
+ patch-make_checkpoint_assembled.h.diff \
+ patch-make_checkpoint_FDC.h.diff \
+ patch-make_checkpoint_pareto.h.diff
+
configure.args-append --disable-applications --disable-gnuplot --disable-tutorial
configure.args-delete --enable-applications --enable-gnuplot --enable-tutorial
test.run yes
Added: trunk/dports/science/eo/files/patch-make_checkpoint.h.diff
===================================================================
--- trunk/dports/science/eo/files/patch-make_checkpoint.h.diff (rev 0)
+++ trunk/dports/science/eo/files/patch-make_checkpoint.h.diff 2008-03-31 13:43:24 UTC (rev 35622)
@@ -0,0 +1,11 @@
+--- src/do/make_checkpoint.h.orig 2008-03-31 15:37:21.000000000 +0200
++++ src/do/make_checkpoint.h 2008-03-31 15:37:46.000000000 +0200
+@@ -27,6 +27,8 @@
+ #ifndef _make_checkpoint_h
+ #define _make_checkpoint_h
+
++#include<climits>
++
+ #include <eoScalarFitness.h>
+ #include <utils/selectors.h> // for minimizing_fitness()
+ #include <EO.h>
Added: trunk/dports/science/eo/files/patch-make_checkpoint_FDC.h.diff
===================================================================
--- trunk/dports/science/eo/files/patch-make_checkpoint_FDC.h.diff (rev 0)
+++ trunk/dports/science/eo/files/patch-make_checkpoint_FDC.h.diff 2008-03-31 13:43:24 UTC (rev 35622)
@@ -0,0 +1,34 @@
+Index: src/do/make_checkpoint_FDC.h
+===================================================================
+RCS file: /cvsroot/eodev/eo/src/do/make_checkpoint_FDC.h,v
+retrieving revision 1.3
+diff -u -r1.3 make_checkpoint_FDC.h
+--- src/do/make_checkpoint_FDC.h 27 Feb 2003 19:25:25 -0000 1.3
++++ src/do/make_checkpoint_FDC.h 31 Mar 2008 13:21:10 -0000
+@@ -3,7 +3,7 @@
+ //-----------------------------------------------------------------------------
+ // make_checkpoint.h
+ // (c) Maarten Keijzer, Marc Schoenauer and GeNeura Team, 2000
+-/*
++/*
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+@@ -27,6 +27,8 @@
+ #ifndef _make_checkpoint_h
+ #define _make_checkpoint_h
+
++#include <climits>
++
+ #include <eoScalarFitness.h>
+ #include <utils/selectors.h> // for minimizing_fitness()
+ #include <EO.h>
+@@ -56,7 +58,7 @@
+ eoValueParam<unsigned> *generationCounter = new eoValueParam<unsigned>(0, "Gen.");
+ // Create an incrementor (sub-class of eoUpdater).
+ eoIncrementor<unsigned>* increment = new eoIncrementor<unsigned>(generationCounter->value());
+- // Add it to the checkpoint,
++ // Add it to the checkpoint,
+ checkpoint->add(*increment);
+ // and store it in the state
+ _state.storeFunctor(increment);
Added: trunk/dports/science/eo/files/patch-make_checkpoint_assembled.h.diff
===================================================================
--- trunk/dports/science/eo/files/patch-make_checkpoint_assembled.h.diff (rev 0)
+++ trunk/dports/science/eo/files/patch-make_checkpoint_assembled.h.diff 2008-03-31 13:43:24 UTC (rev 35622)
@@ -0,0 +1,15 @@
+Index: src/do/make_checkpoint_assembled.h
+===================================================================
+RCS file: /cvsroot/eodev/eo/src/do/make_checkpoint_assembled.h,v
+retrieving revision 1.5
+diff -u -r1.5 make_checkpoint_assembled.h
+--- src/do/make_checkpoint_assembled.h 19 Sep 2007 11:42:24 -0000 1.5
++++ src/do/make_checkpoint_assembled.h 31 Mar 2008 13:21:24 -0000
+@@ -34,6 +34,7 @@
+ #include <config.h>
+ #endif
+
++#include <climits>
+ #include <vector>
+ #include <string>
+
Added: trunk/dports/science/eo/files/patch-make_checkpoint_pareto.h.diff
===================================================================
--- trunk/dports/science/eo/files/patch-make_checkpoint_pareto.h.diff (rev 0)
+++ trunk/dports/science/eo/files/patch-make_checkpoint_pareto.h.diff 2008-03-31 13:43:24 UTC (rev 35622)
@@ -0,0 +1,17 @@
+Index: src/do/make_checkpoint_pareto.h
+===================================================================
+RCS file: /cvsroot/eodev/eo/src/do/make_checkpoint_pareto.h,v
+retrieving revision 1.10
+diff -u -r1.10 make_checkpoint_pareto.h
+--- src/do/make_checkpoint_pareto.h 10 Oct 2005 13:34:21 -0000 1.10
++++ src/do/make_checkpoint_pareto.h 31 Mar 2008 13:22:07 -0000
+@@ -27,7 +27,8 @@
+ #ifndef _make_checkpoint_pareto_h
+ #define _make_checkpoint_pareto_h
+
+-#include <stdlib.h>
++#include <climits>
++#include <cstdlib>
+ #include <sstream>
+
+ #include "EO.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080331/f90a016a/attachment.html
More information about the macports-changes
mailing list