On 2013/06/01 12:23, Anthony J. Bentley wrote:
> Hi,
>
> Trackballs is a simple game similar to the classical game Marble Madness
> on the Amiga in the 80's. By steering a marble ball through a labyrinth
> filled with vicious hammers, pools of acid and other obstacles the player
> collects points. When the ball reaches the destination it continues
> at the next, more difficult level--unless the time runs out.
>
>
> Works well here on i386.
>
> ok?
>
> --
> Anthony J. Bentley
The PKGNAME/DISTFILES/WRKDIST layout is a bit odd, how about this?
DISTNAME = trackballs-1.1.4
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
trackballs-music-1.4.tar.bz2
and drop the WRKDIST line.
I'm seeing a couple of problems at runtime on amd64; it changes the video
mode and doesn't restore the old mode at exit, and I've hit a segfault after
pressing the spacebar to start playing 3 out of 5 times so far.
(gdb) bt
#0 0x0000192da8710765 in frand (i=Variable "i" is not available.
) at glHelp.cc:48
#1 0x0000192da8724e3a in Ball::physics (this=Variable "this" is not available.
) at ball.cc:556
#2 0x0000192da87256e5 in Ball::tick (this=0x192fa9c9d400,
time=0.016000000000000014) at ball.cc:533
#3 0x0000192da87285b4 in Black::tick (this=0x192fa9c9d400, t=Variable "t" is
not available.
) at black.cc:119
#4 0x0000192da87267b6 in Game::tick (this=0x192fac45ec00,
t=0.016000000000000014) at game.cc:191
#5 0x0000192da870fb2e in MainMode::idle (this=0x192fa8d42500, td=Variable "td"
is not available.
)
at mainMode.cc:424
#6 0x0000192da870cfa3 in innerMain (closure=Variable "closure" is not
available.
) at mmad.cc:433
#7 0x0000192fb37b773f in invoke_main_func (body_data=0x7f7fffff1dc0)
at /usr/obj/ports/guile-1.8.8/guile-1.8.8/libguile/init.c:367
#8 0x0000192fb378c25a in c_body (d=0x7f7fffff1d50)
at /usr/obj/ports/guile-1.8.8/guile-1.8.8/libguile/continuations.c:349
#9 0x0000192fb37f4589 in scm_c_catch (tag=0x104,
body=0x192fb378c250 <c_body>, body_data=0x7f7fffff1d50,
handler=0x192fb378c270 <c_handler>, handler_data=0x7f7fffff1d50,
pre_unwind_handler=0x192fb37f3f70 <scm_handle_by_message_noexit>,
pre_unwind_handler_data=0x0)
at /usr/obj/ports/guile-1.8.8/guile-1.8.8/libguile/throw.c:203
#10 0x0000192fb378c601 in scm_i_with_continuation_barrier (
body=0x192fb378c250 <c_body>, body_data=0x7f7fffff1d50,
handler=0x192fb378c270 <c_handler>, handler_data=0x7f7fffff1d50,
pre_unwind_handler=0x192fb37f3f70 <scm_handle_by_message_noexit>,
pre_unwind_handler_data=0x0)
at /usr/obj/ports/guile-1.8.8/guile-1.8.8/libguile/continuations.c:325
#11 0x0000192fb378c6a0 in scm_c_with_continuation_barrier (func=Variable "func"
is not available.
)
at /usr/obj/ports/guile-1.8.8/guile-1.8.8/libguile/continuations.c:367
#12 0x0000192fb37f36d6 in scm_i_with_guile_and_parent (
func=0x192fb37b7720 <invoke_main_func>, data=0x7f7fffff1dc0, parent=0x0)
at /usr/obj/ports/guile-1.8.8/guile-1.8.8/libguile/threads.c:733
#13 0x0000192fb37b7705 in scm_boot_guile (argc=Variable "argc" is not available.
)
at /usr/obj/ports/guile-1.8.8/guile-1.8.8/libguile/init.c:350
#14 0x0000192da870c37c in main (argc=1, argv=0x7f7fffff2260) at mmad.cc:635
(gdb)