mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-scheme/elk: add implicit function delcaration fix
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -13,6 +13,7 @@ KEYWORDS="~amd64"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-implicit-int-incompat-ptr.patch
|
||||
"${FILESDIR}"/${P}-implicit-function.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
22
dev-scheme/elk/files/elk-3.99.8-implicit-function.patch
Normal file
22
dev-scheme/elk/files/elk-3.99.8-implicit-function.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From 4fef651e27a4ea5bca02edfda4dc42201ab0985d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20Van=C4=9Bk?= <arkamar@gentoo.org>
|
||||
Date: Sat, 23 Dec 2023 23:30:30 +0100
|
||||
Subject: [PATCH] add missing header file
|
||||
|
||||
This fixes implicit-function-declaration error with modern compilers.
|
||||
|
||||
diff --git a/src/proc.c b/src/proc.c
|
||||
index c78134a..fed0978 100644
|
||||
--- a/src/proc.c
|
||||
+++ b/src/proc.c
|
||||
@@ -28,6 +28,7 @@
|
||||
*
|
||||
* THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
|
||||
*/
|
||||
+#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
--
|
||||
2.43.0
|
||||
|
||||
Reference in New Issue
Block a user