[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tunnel-list] Re: make failure
From: |
Trevor Spiteri |
Subject: |
Re: [tunnel-list] Re: make failure |
Date: |
23 Mar 2004 12:54:09 +0100 |
Hi
Thanks for the fixes. Both (make failure and libSDL_image checking)
fixes are in the new release 1.2.1.
Trevor
On Sat, 2004-03-20 at 17:55, address@hidden wrote:
> Hi,
>
> I had the same problem when compiling, and even though
> I know no C++, I made up this fix:
>
> --- new_ball.cc.orig 2004-03-20 19:50:02.000000000 +0200
> +++ new_ball.cc 2004-03-20 19:49:53.000000000 +0200
> @@ -40,7 +40,7 @@
> throw "no start level";
> this_level = "start";
> next_at += double(levs.sub(this_level)["depth"]);
> - next_level = levs.sub(this_level)["next"];
> + next_level = std::string(levs.sub(this_level)["next"]);
> if (levs.sub(this_level).has("repeat"))
> repeat = bool(levs.sub(this_level)["repeat"]);
>
> @@ -83,7 +83,7 @@
>
> if (!repeat) {
> this_level = next_level;
> - next_level = levs.sub(this_level)["next"];
> + next_level =
> std::string(levs.sub(this_level)["next"]);
> }
> next_at += double(levs.sub(this_level)["depth"]);
> if (levs.sub(this_level).has("repeat"))
>
> (save the contents to a file, cd to the src folder, and apply with 'patch
> <name_of_saved_file')
> Not sure if this is correct, Trevor will have to validate it, but it works
> for me.
--
Trevor Spiteri <address@hidden>
http://tspiteri.org/