summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-06-15 11:40:57 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-06-15 11:40:57 +0200
commita357c9bbb53ff112340d84359b1cd062750603db (patch)
treed178d4c2d055a1d96146a5bda2d485b3257be922 /media-sound/patchage/files
parentnet-analyzer/tcpreplay: Update SRC_URI (diff)
downloadgentoo-a357c9bbb53ff112340d84359b1cd062750603db.tar.gz
gentoo-a357c9bbb53ff112340d84359b1cd062750603db.tar.bz2
gentoo-a357c9bbb53ff112340d84359b1cd062750603db.zip
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@gentoo.org>
Diffstat (limited to 'media-sound/patchage/files')
-rw-r--r--media-sound/patchage/files/patchage-1.0.2-string.patch11
1 files changed, 11 insertions, 0 deletions
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 000000000000..fe63be714d8a
--- /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);
+ }
+