#1025383 starfighter-data: Starfighter segfaults after the last battle

#1025383#5
Date:
2022-12-03 17:24:40 UTC
From:
To:
Dear Maintainer,

First of all, thanks for making a debian package of this game, it was
really fun and nice to play.

But the very end of the game turned out to be quite anticlimatic. The
game segfaults after beating the last boss.

I took my time to investigate the cause of this segfault and apparently
it happens because game fails to open its credits file:

/usr/share/starfighter/data/credits.txt

I found that file in /usr/share/doc/starfighter/ and I don't think it
belongs there as it is not just a text file with credits, but more like
a game asset. But maybe it does, so in that case could you please add a
symlink like you did with TakaoPGothic.ttf?  I think it will only
require adding the following line into debian/starfighter.links file:

/usr/share/doc/starfighter/credits.txt usr/share/starfighter/data/credits.txt

Thanks in advance!

#1025383#10
Date:
2024-12-30 10:08:42 UTC
From:
To:
tags 1091716 + patch
thanks

The attached patch fixes the segfault when attempting to load the
credits, by installing them to the correct location.