Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933086

Summary: sys-auth/oath-toolkit-2.6.11 - global.c:164:3: error: implicit declaration of function 'free'
Product: Gentoo Linux Reporter: ktoupt
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: CONFIRMED ---    
Severity: normal CC: ktoupt, sysadmin, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log
emerge --info

Description ktoupt 2024-05-28 19:08:34 UTC
Created attachment 894572 [details]
build.log

[ebuild  N    ] sys-auth/oath-toolkit-2.6.11  USE="pam -static-libs -test"

This is probably because of GCC 14, so it should probably block on c99-porting?

Patch:

diff --git a/libpskc/global.c b/libpskc/global.c
index 1a51450..a01ec08 100644
--- a/libpskc/global.c
+++ b/libpskc/global.c
@@ -21,6 +21,8 @@
 
 #include <config.h>
 
+#include <stdlib.h>
+
 #include <pskc/pskc.h>
 
 #include "internal.h"
Comment 1 ktoupt 2024-05-28 19:09:01 UTC
Created attachment 894573 [details]
emerge --info