diff options
author | 2022-10-21 11:00:33 -0400 | |
---|---|---|
committer | 2022-10-21 11:48:10 -0400 | |
commit | ca9d5b8932aa108657a180ae0a8130ca464c652b (patch) | |
tree | 0438e7ab0a9980bdd8d3f20f522dd8976245264d | |
parent | dev-vcs/python-gitlab: add 3.10.0 (diff) | |
download | gentoo-ca9d5b89.tar.gz gentoo-ca9d5b89.tar.bz2 gentoo-ca9d5b89.zip |
net-print/pnm2ppa: fix build w/ upcoming clang16
Closes: https://bugs.gentoo.org/874534
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r-- | net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch | 7 | ||||
-rw-r--r-- | net-print/pnm2ppa/pnm2ppa-1.13-r2.ebuild (renamed from net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild) | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch b/net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch new file mode 100644 index 000000000000..3fabafc871e9 --- /dev/null +++ b/net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch @@ -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> + diff --git a/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild b/net-print/pnm2ppa/pnm2ppa-1.13-r2.ebuild index 4cfb04d59fba..971217523709 100644 --- a/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild +++ b/net-print/pnm2ppa/pnm2ppa-1.13-r2.ebuild @@ -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 |