public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/pnm2ppa/, net-print/pnm2ppa/files/
Date: Fri, 21 Oct 2022 15:49:02 +0000 (UTC)	[thread overview]
Message-ID: <1666367290.ca9d5b8932aa108657a180ae0a8130ca464c652b.ionen@gentoo> (raw)

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


                 reply	other threads:[~2022-10-21 15:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1666367290.ca9d5b8932aa108657a180ae0a8130ca464c652b.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox