diff options
author | danfe <danfe@FreeBSD.org> | 2004-12-10 13:12:29 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2004-12-10 13:12:29 +0800 |
commit | 1ba880da503d4983c8ec22e6222eb7c2492f0ec8 (patch) | |
tree | 10b212a8cbb82d741d9f47c74ee4bc76ac2748a3 /graphics | |
parent | a4fe2326863283e59e74b82b1d3ca1bdf33d0aec (diff) | |
download | freebsd-ports-gnome-1ba880da503d4983c8ec22e6222eb7c2492f0ec8.tar.gz freebsd-ports-gnome-1ba880da503d4983c8ec22e6222eb7c2492f0ec8.tar.zst freebsd-ports-gnome-1ba880da503d4983c8ec22e6222eb7c2492f0ec8.zip |
Unbreak on 4.X.
Reported by: kris, krion (via pointyhat)
Approved by: fjoe (mentor, implicit)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/evolvotron/files/patch-evolvotron_match::evolvotron_match.cpp | 20 |
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; + } + + |