public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-print/pnm2ppa/, net-print/pnm2ppa/files/
@ 2022-10-21 15:49 Ionen Wolkens
  0 siblings, 0 replies; only message in thread
From: Ionen Wolkens @ 2022-10-21 15:49 UTC (permalink / raw
  To: gentoo-commits

commit:     ca9d5b8932aa108657a180ae0a8130ca464c652b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 21 15:00:33 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 15:48:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca9d5b89

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

Closes: https://bugs.gentoo.org/874534
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch                 | 7 +++++++
 .../pnm2ppa/{pnm2ppa-1.13-r1.ebuild => pnm2ppa-1.13-r2.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
similarity index 92%
rename from net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
rename to 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-21 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21 15:49 [gentoo-commits] repo/gentoo:master commit in: net-print/pnm2ppa/, net-print/pnm2ppa/files/ Ionen Wolkens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox