aboutsummaryrefslogtreecommitdiff
path: root/graphics/evolvotron
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-12-10 05:12:29 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-12-10 05:12:29 +0000
commit9b6529af9b1f2d29f9f8a0f8bd8d8ebe4adb34cb (patch)
tree1dcff95ec78d3a9837661037a5a15278cd675692 /graphics/evolvotron
parentc9f337209be794cb9f3b9f80e349939997962fad (diff)
downloadports-9b6529af9b1f2d29f9f8a0f8bd8d8ebe4adb34cb.tar.gz
ports-9b6529af9b1f2d29f9f8a0f8bd8d8ebe4adb34cb.zip
Notes
Diffstat (limited to 'graphics/evolvotron')
-rw-r--r--graphics/evolvotron/files/patch-evolvotron_match::evolvotron_match.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/evolvotron/files/patch-evolvotron_match::evolvotron_match.cpp b/graphics/evolvotron/files/patch-evolvotron_match::evolvotron_match.cpp
new file mode 100644
index 000000000000..5bb0a07d75f5
--- /dev/null
+++ b/graphics/evolvotron/files/patch-evolvotron_match::evolvotron_match.cpp
@@ -0,0 +1,20 @@
+--- evolvotron_match/evolvotron_match.cpp.orig Mon Jul 12 02:05:44 2004
++++ evolvotron_match/evolvotron_match.cpp Thu Dec 9 20:07:52 2004
+@@ -187,13 +187,15 @@
+ {
+ do
+ {
+- new_imagefn=std::auto_ptr<const MutatableImage>(new MutatableImage(mutation_parameters,true,true,false));
++ std::auto_ptr<const MutatableImage> tmp(new MutatableImage(mutation_parameters,true,true,false));
++ new_imagefn=tmp;
+ }
+ while (new_imagefn->is_constant());
+ }
+ else
+ {
+- new_imagefn=std::auto_ptr<const MutatableImage>(best_imagefn->mutated(mutation_parameters));
++ std::auto_ptr<const MutatableImage> tmp(best_imagefn->mutated(mutation_parameters));
++ new_imagefn=tmp;
+ }
+
+