• Bug#1066549: geki2: FTBFS: misc.c:127:7: error: implicit declaration of

    From Guillem Jover@21:1/5 to Guillem Jover on Fri May 3 19:30:01 2024
    Hi!

    On Fri, 2024-05-03 at 13:06:21 +0200, Guillem Jover wrote:
    Actually, the attached debdiff should be better (properly split
    patches).

    Hrmmf, sorry, please use the attached patch, which fixes some typos in
    the patch description. :)

    Thanks,
    Guillem

    diff -Nru geki2-2.0.3/debian/patches/020_headers.diff geki2-2.0.3/debian/patches/020_headers.diff
    --- geki2-2.0.3/debian/patches/020_headers.diff 2018-05-13 16:22:49.000000000 +0200
    +++ geki2-2.0.3/debian/patches/020_headers.diff 2024-05-03 13:00:11.000000000 +0200
    @@ -4,29 +4,25 @@

    ===================================================================
    ---
    - src/geki2.h | 1 +
    - src/ranking.c | 1 +
    - 2 files changed, 2 insertions(+)
    + src/geki2.h | 3 +++
    + src/load.c | 2 +-
    + src/load.h | 1 +
    + src/ranking.c | 1 +
    + src/ranking.h | 2 +-
    + 5 files changed, 7 insertions(+), 2 deletions(-)

    -diff --git a/src/geki2.h b/src/geki2.h
    -index 938d760..b293afb 100644
    --- a/src/geki2.h
    +++ b/src/geki2.h
    -@@ -9,6 +9,7 @@
    +@@ -7,9 +7,12 @@
    + #ifndef _GEKI2_H_
    + #define _GEKI2_H_

    ++#include <string.h>
    #include <stdio.h>
    #include <stdlib.h>
    +#include <inttypes.h>
    #include <sys/types.h>
    ++#include <time.h>
    #include <unistd.h>
    #include <KXL.h>
    -diff --git a/src/ranking.c b/src/ranking.c
    -index a6683c5..4e3df6c 100644
    ---- a/src/ranking.c
    -+++ b/src/