commit:     a357c9bbb53ff112340d84359b1cd062750603db
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 09:40:57 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 09:40:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a357c9bb

media-sound/patchage: fixed compilation and dep in 1.0.2

Closes: https://bugs.gentoo.org/728178
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/patchage/files/patchage-1.0.2-string.patch | 11 +++++++++++
 media-sound/patchage/patchage-1.0.2.ebuild             |  6 +++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/media-sound/patchage/files/patchage-1.0.2-string.patch 
b/media-sound/patchage/files/patchage-1.0.2-string.patch
new file mode 100644
index 00000000000..fe63be714d8
--- /dev/null
+++ b/media-sound/patchage/files/patchage-1.0.2-string.patch
@@ -0,0 +1,11 @@
+--- a/src/Patchage.cpp
++++ b/src/Patchage.cpp
+@@ -743,7 +743,7 @@
+       for (int c = 0; cmd[c].uuid; ++c) {
+               std::string  command = cmd[c].command;
+               const size_t index   = command.find(var);
+-              if (index != string::npos) {
++              if (index != std::string::npos) {
+                       command.replace(index, var.length(), 
cmd[c].client_name);
+               }
+ 

diff --git a/media-sound/patchage/patchage-1.0.2.ebuild 
b/media-sound/patchage/patchage-1.0.2.ebuild
index d936e429343..7e4f4bd5b7e 100644
--- a/media-sound/patchage/patchage-1.0.2.ebuild
+++ b/media-sound/patchage/patchage-1.0.2.ebuild
@@ -19,7 +19,7 @@ RDEPEND=">=dev-cpp/glibmm-2.14:2
        >=dev-cpp/gtkmm-2.11.12:2.4
        >=dev-cpp/libglademm-2.6.0:2.4
        dev-cpp/libgnomecanvasmm:2.6
-       >=media-libs/ganv-1.4.0
+       >=media-libs/ganv-1.5.2
        virtual/jack
        alsa? ( media-libs/alsa-lib )
        jack-dbus? ( dev-libs/dbus-glib
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( AUTHORS NEWS README.md )
 
+#PATCHES=(
+#      "${FILESDIR}/${P}-string.patch"
+#)
+
 src_configure() {
        waf-utils_src_configure \
                $(use debug && echo "--debug") \

Reply via email to