doesn't build on gcc-4.2.1

Bug #143997 reported by lisu
Affects Status Importance Assigned to Milestone
Thomas Perl

Bug Description

$ make
gcc -Wall -DVERSION=\"0.4.0\" $(sdl-config --cflags) -c -o tennix.o tennix.c
gcc -Wall -DVERSION=\"0.4.0\" $(sdl-config --cflags) -c -o game.o game.c
make -C data graphics_data.c
make[1]: Wejście do katalogu `/home/users/lisu/zrodla/tennix-0.4.0/data'
cc -c -o data2csrc.o data2csrc.c
cc data2csrc.o -o data2csrc
(for i in ball.png court.png dkc2.png ground.png icon.png menu.png player-racket.png referee.png shadow.png smallish-font.png; do base=${i%%.png}; ./data2csrc $i ${base/-/_}; done)>graphics_data.c
/bin/sh: : bad substitution

Revision history for this message
Thomas Perl (thp) wrote :

Thanks for your bug report. The bug has been fixed in Tennix' Git repository, the exact commit is here:;h=0efe960c045c1d8ade2166036cc390e3c43a0a37

You can download the patch against 0.4.0 here:;h=0efe960c045c1d8ade2166036cc390e3c43a0a37;hp=d8a65baec82cc7d670d3030f4cd5bf45033ff46f

The patch will be included in the next release.

Changed in tennix:
assignee: nobody → thp
status: New → Fix Committed
Revision history for this message
Thomas Perl (thp) wrote :
Changed in tennix:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers