net-print/pnm2ppa: fix build w/ upcoming clang16

Closes: https://bugs.gentoo.org/874534
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-10-21 11:00:33 -04:00
parent 0d0693ca47
commit ca9d5b8932
2 changed files with 12 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
https://bugs.gentoo.org/874534
--- a/ppa_protocol/parse_vlink.c
+++ b/ppa_protocol/parse_vlink.c
@@ -1,2 +1,3 @@
#include <stdio.h>
+#include <string.h>

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,7 +26,10 @@ RDEPEND="
syslog? ( virtual/logger )"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
PATCHES=(
"${FILESDIR}"/${P}-fno-common.patch
"${FILESDIR}"/${P}-clang16.patch
)
src_configure() {
local lng i withval