net-print/cnijfilter2: missing include

Closes: https://bugs.gentoo.org/923230
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2024-02-20 07:53:35 +01:00
parent 79a50aeccd
commit d034f6ce2d
2 changed files with 11 additions and 0 deletions
@@ -26,6 +26,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.50-gentoo.patch
"${FILESDIR}"/${PN}-5.80-cflags.patch
"${FILESDIR}"/${PN}-5.80-fno-common.patch
"${FILESDIR}"/${P}-c99.patch
)
pkg_setup() {
@@ -0,0 +1,10 @@
--- a/lgmon3/src/keytext.c 2024-02-20 07:45:11.719827112 +0100
+++ b/lgmon3/src/keytext.c 2024-02-20 07:46:15.504048256 +0100
@@ -37,6 +37,7 @@
#include <unistd.h>
#include <libxml/parser.h> /* Ver.2.80 */
#include <string.h>
+#include <stdlib.h>
#include "keytext.h"