mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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:
7
net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch
Normal file
7
net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch
Normal 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>
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user