diff options
author | bland <bland@FreeBSD.org> | 2004-03-07 16:49:11 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2004-03-07 16:49:11 +0800 |
commit | 005fb45ce12460318ffef6b3155a289a3dc4f512 (patch) | |
tree | 992e7af869d1e6cf8aed05b0c0fe9ad96d393a58 /games/gcompris2 | |
parent | 957d4b3ef138d6e019b334c1faa5ae56727690d8 (diff) | |
download | freebsd-ports-gnome-005fb45ce12460318ffef6b3155a289a3dc4f512.tar.gz freebsd-ports-gnome-005fb45ce12460318ffef6b3155a289a3dc4f512.tar.zst freebsd-ports-gnome-005fb45ce12460318ffef6b3155a289a3dc4f512.zip |
Usual deC99fication to fix build on -STABLE.
Reported by: Troy <troy@twisted.net>
Diffstat (limited to 'games/gcompris2')
-rw-r--r-- | games/gcompris2/files/patch-src::gcompris::gameutil.c | 15 | ||||
-rw-r--r-- | games/gcompris2/files/patch-src::gcompris::log.c | 18 |
2 files changed, 33 insertions, 0 deletions
diff --git a/games/gcompris2/files/patch-src::gcompris::gameutil.c b/games/gcompris2/files/patch-src::gcompris::gameutil.c new file mode 100644 index 000000000000..d10767a274f3 --- /dev/null +++ b/games/gcompris2/files/patch-src::gcompris::gameutil.c @@ -0,0 +1,15 @@ +--- src/gcompris/gameutil.c.orig Sun Mar 7 17:36:56 2004 ++++ src/gcompris/gameutil.c Sun Mar 7 17:37:28 2004 +@@ -121,9 +121,11 @@ + filename = g_strdup_printf("%s/%s", PACKAGE_DATA_DIR, pixmapfile); + + if (!g_file_test ((filename), G_FILE_TEST_EXISTS)) { ++ char *str; ++ + g_warning (_("Couldn't find file %s !"), filename); + +- char *str = g_strdup_printf("%s\n%s\n%s\n%s", ++ str = g_strdup_printf("%s\n%s\n%s\n%s", + _("Couldn't find file"), + pixmapfile, + _("This activity is incomplete."), diff --git a/games/gcompris2/files/patch-src::gcompris::log.c b/games/gcompris2/files/patch-src::gcompris::log.c new file mode 100644 index 000000000000..4ac33d237d03 --- /dev/null +++ b/games/gcompris2/files/patch-src::gcompris::log.c @@ -0,0 +1,18 @@ +--- src/gcompris/log.c.orig Sun Mar 7 17:36:34 2004 ++++ src/gcompris/log.c Sun Mar 7 17:35:56 2004 +@@ -137,6 +137,7 @@ + void gcompris_log_end (GcomprisBoard *gcomprisBoard, gchar *status) { + FILE *flog; + gchar *file; ++ struct tm *tp; + + /* Prepare our log */ + +@@ -153,7 +154,6 @@ + return; + + /* and convert it to UTC or local time representation */ +- struct tm *tp; + if (USE_UTC) + tp = gmtime(&start_time); + else |