Package: petris / 1.0.1-10

Metadata

Package Version Patches format
petris 1.0.1-10 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
use variables in Makefile.patch | (download)

Makefile | 13 8 + 5 - 0 !
1 file changed, 8 insertions(+), 5 deletions(-)

 use variables in makefile
 Added variables CFLAGS & LIBS to Makefile so build system can use them.
 Move ${LIBS} to the end of line for petris target so that ld --as needed works.
fix highscore location.patch | (download)

config.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix highscore file location
 Move highscore file from /var/local/petris/highscores to
 /var/games/petris.scores to be Debian-compliant.
fix highscore string handling.patch | (download)

highscore.c | 7 4 + 3 - 0 !
1 file changed, 4 insertions(+), 3 deletions(-)

 make copying strings more strict
When handling entries in highscore list, use strncpy() instead of strcpy().
fix initialisation and error handling.patch | (download)

game.c | 5 3 + 2 - 0 !
main.c | 16 12 + 4 - 0 !
petris.h | 3 3 + 0 - 0 !
3 files changed, 18 insertions(+), 6 deletions(-)

 fix variable initialisation and error handling
 Make sure variables are initialised and exit program in a well defined
 way on error.