Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseeffects/files/, media-sound/pulseeffects/
Date: Tue, 26 May 2020 16:03:28
Message-Id: 1590508998.3903f6c85e4f549eb58b1c801cb1de26aacec456.prometheanfire@gentoo
1 commit: 3903f6c85e4f549eb58b1c801cb1de26aacec456
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 26 16:03:05 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue May 26 16:03:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3903f6c8
7
8 media-sound/pulseeffects: fix gcc10 builds
9
10 Closes: https://bugs.gentoo.org/725478
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 RepoMan-Options: --force
13 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
14
15 .../pulseeffects/files/patch-4.7.2-gcc10.patch | 32 ++++++++++++++++++++++
16 media-sound/pulseeffects/metadata.xml | 5 ----
17 ...s-4.7.2.ebuild => pulseeffects-4.7.2-r1.ebuild} | 4 +++
18 3 files changed, 36 insertions(+), 5 deletions(-)
19
20 diff --git a/media-sound/pulseeffects/files/patch-4.7.2-gcc10.patch b/media-sound/pulseeffects/files/patch-4.7.2-gcc10.patch
21 new file mode 100644
22 index 00000000000..fb8080dd823
23 --- /dev/null
24 +++ b/media-sound/pulseeffects/files/patch-4.7.2-gcc10.patch
25 @@ -0,0 +1,32 @@
26 +From dbaea05da683f7bfcd7960c88b1b7d13379435c0 Mon Sep 17 00:00:00 2001
27 +From: Vasiliy Glazov <vascom2@×××××.com>
28 +Date: Tue, 24 Mar 2020 10:54:09 +0300
29 +Subject: [PATCH] Fix build with GCC 10
30 +
31 +This fix build error:
32 +```
33 +../include/plugin_base.hpp:10:25: error: expected ')' before 'tag'
34 + 10 | PluginBase(std::string tag, std::string plugin_name, const std::string& schema);
35 + | ~ ^~~~
36 + | )
37 +../include/plugin_base.hpp:17:8: error: 'string' in namespace 'std' does not name a type
38 + 17 | std::string log_tag, name;
39 + | ^~~~~~
40 +../include/plugin_base.hpp:7:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'?
41 +```
42 +---
43 + include/plugin_base.hpp | 1 +
44 + 1 file changed, 1 insertion(+)
45 +
46 +diff --git a/include/plugin_base.hpp b/include/plugin_base.hpp
47 +index a2356fbf..79fd5452 100644
48 +--- a/include/plugin_base.hpp
49 ++++ b/include/plugin_base.hpp
50 +@@ -4,6 +4,7 @@
51 + #include <gio/gio.h>
52 + #include <gst/gst.h>
53 + #include <sigc++/sigc++.h>
54 ++#include <string>
55 +
56 + class PluginBase {
57 + public:
58
59 diff --git a/media-sound/pulseeffects/metadata.xml b/media-sound/pulseeffects/metadata.xml
60 index e771c241114..c0da3601cd3 100644
61 --- a/media-sound/pulseeffects/metadata.xml
62 +++ b/media-sound/pulseeffects/metadata.xml
63 @@ -5,11 +5,6 @@
64 <email>prometheanfire@g.o</email>
65 <name>Matthew Thode</name>
66 </maintainer>
67 - <maintainer type="person">
68 - <email>jpizarrocallejas@×××××.com</email>
69 - <name>Jorge Pizarro Callejas</name>
70 - <description>Jorgicio Gentoo Overlay</description>
71 - </maintainer>
72 <use>
73 <flag name="bs2b">Enable use of media-libs/libbs2b</flag>
74 <flag name="calf">Enable use of media-plugins/calf for adding various FX</flag>
75
76 diff --git a/media-sound/pulseeffects/pulseeffects-4.7.2.ebuild b/media-sound/pulseeffects/pulseeffects-4.7.2-r1.ebuild
77 similarity index 97%
78 rename from media-sound/pulseeffects/pulseeffects-4.7.2.ebuild
79 rename to media-sound/pulseeffects/pulseeffects-4.7.2-r1.ebuild
80 index 112dd9a4736..b12d12b7438 100644
81 --- a/media-sound/pulseeffects/pulseeffects-4.7.2.ebuild
82 +++ b/media-sound/pulseeffects/pulseeffects-4.7.2-r1.ebuild
83 @@ -59,6 +59,10 @@ BDEPEND="
84 virtual/pkgconfig
85 "
86
87 +PATCHES=(
88 + "${FILESDIR}/patch-4.7.2-gcc10.patch"
89 +)
90 +
91 pkg_postinst() {
92 gnome2_gconf_install
93 gnome2_schemas_update