public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-video/setpwc/, media-video/setpwc/files/
@ 2022-11-21  0:38 Ionen Wolkens
  0 siblings, 0 replies; only message in thread
From: Ionen Wolkens @ 2022-11-21  0:38 UTC (permalink / raw
  To: gentoo-commits

commit:     50cea264a8727a5c672e07efd935a6a21410890b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 00:26:57 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 00:37:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50cea264

media-video/setpwc: fix build w/ upcoming clang16

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

 media-video/setpwc/files/setpwc-1.3-clang16.patch | 8 ++++++++
 media-video/setpwc/setpwc-1.3.ebuild              | 7 +++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/media-video/setpwc/files/setpwc-1.3-clang16.patch b/media-video/setpwc/files/setpwc-1.3-clang16.patch
new file mode 100644
index 000000000000..c74eceb09cdb
--- /dev/null
+++ b/media-video/setpwc/files/setpwc-1.3-clang16.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/874918
+--- a/setpwc.c
++++ b/setpwc.c
+@@ -348,3 +348,3 @@
+ 
+-void query_pan_tilt_status(fd)
++void query_pan_tilt_status(int fd)
+ {

diff --git a/media-video/setpwc/setpwc-1.3.ebuild b/media-video/setpwc/setpwc-1.3.ebuild
index cbc20cad7175..74d9c738c038 100644
--- a/media-video/setpwc/setpwc-1.3.ebuild
+++ b/media-video/setpwc/setpwc-1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,10 @@ KEYWORDS="amd64 ~arm ppc x86"
 
 DEPEND="sys-kernel/linux-headers"
 
-PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
+PATCHES=(
+	"${FILESDIR}"/${P}-fix-build-system.patch
+	"${FILESDIR}"/${P}-clang16.patch
+)
 
 src_configure() {
 	tc-export CC


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

only message in thread, other threads:[~2022-11-21  0:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-21  0:38 [gentoo-commits] repo/gentoo:master commit in: media-video/setpwc/, media-video/setpwc/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