File gpa-0.11.0-fix-implicit-declaration.patch of Package gpa
From: Andreas Stieger <Andreas.Stieger@gmx.de> Date: Thu, 17 Jul 2025 23:28:39 +0200 Subject: fix implicit declaration of gpa_keytable_ensure [ 17s] cm-piv.c: In function ‘reload_data’: [ 17s] cm-piv.c:510:7: error: implicit declaration of function ‘gpa_keytable_ensure’ [-Wimplicit-function-declaration] [ 17s] 510 | gpa_keytable_ensure (gpa_keytable_get_secret_instance()); [ 17s] | ^~~~~~~~~~~~~~~~~~~ [ 17s] cm-piv.c:510:28: error: implicit declaration of function ‘gpa_keytable_get_secret_instance’ [-Wimplicit-function-declaration] [ 17s] 510 | gpa_keytable_ensure (gpa_keytable_get_secret_instance()); [ 17s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Index: gpa-0.11.0/src/cm-piv.c =================================================================== --- gpa-0.11.0.orig/src/cm-piv.c +++ gpa-0.11.0/src/cm-piv.c @@ -41,6 +41,7 @@ #include "gtktools.h" #include "convert.h" #include "gpa-key-details.h" +#include "keytable.h" #include "cm-object.h" #include "cm-piv.h"