Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/volpack/files/, media-libs/volpack/
Date: Thu, 29 Sep 2022 05:31:15
Message-Id: 1664429304.7943e2bcc08484d66e982da0c73792b766cc5c95.ionen@gentoo
1 commit: 7943e2bcc08484d66e982da0c73792b766cc5c95
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 05:18:02 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 05:28:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7943e2bc
7
8 media-libs/volpack: fix build with clang16 by not building examples
9
10 These were installed (full with .libs/* and .o files) in /usr/share,
11 /and/ also failed with clang16.
12
13 Unfortunately by not fixing the sources they will continue to be
14 poor examples for all.
15
16 Closes: https://bugs.gentoo.org/870706
17 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
18
19 .../volpack/files/volpack-1.0_p7-skip-examples.patch | 16 ++++++++++++++++
20 media-libs/volpack/volpack-1.0_p7-r2.ebuild | 4 ++++
21 2 files changed, 20 insertions(+)
22
23 diff --git a/media-libs/volpack/files/volpack-1.0_p7-skip-examples.patch b/media-libs/volpack/files/volpack-1.0_p7-skip-examples.patch
24 new file mode 100644
25 index 000000000000..1476f23084f5
26 --- /dev/null
27 +++ b/media-libs/volpack/files/volpack-1.0_p7-skip-examples.patch
28 @@ -0,0 +1,16 @@
29 +Building these is broken with clang16 and they are primarily
30 +intended to be looked rather rather than built.
31 +
32 +https://bugs.gentoo.org/870706
33 +--- a/Makefile.am
34 ++++ b/Makefile.am
35 +@@ -7,3 +7,2 @@
36 + man \
37 +- examples \
38 + doc
39 +--- a/Makefile.in
40 ++++ b/Makefile.in
41 +@@ -196,3 +196,2 @@
42 + man \
43 +- examples \
44 + doc
45
46 diff --git a/media-libs/volpack/volpack-1.0_p7-r2.ebuild b/media-libs/volpack/volpack-1.0_p7-r2.ebuild
47 index 52cab1b988bf..f7076c8c6c31 100644
48 --- a/media-libs/volpack/volpack-1.0_p7-r2.ebuild
49 +++ b/media-libs/volpack/volpack-1.0_p7-r2.ebuild
50 @@ -17,6 +17,10 @@ IUSE="doc examples"
51
52 BDEPEND="sys-devel/m4"
53
54 +PATCHES=(
55 + "${FILESDIR}"/${P}-skip-examples.patch
56 +)
57 +
58 src_compile() {
59 emake -j1
60 }