openbsd-ports/x11/textsuggest/patches/patch-textsuggest_processors_command_cpp

19 lines
434 B
Plaintext

Adjust to match our changes in subprocess.hpp.
Index: textsuggest/processors/command.cpp
--- textsuggest/processors/command.cpp.orig
+++ textsuggest/processors/command.cpp
@@ -31,10 +31,10 @@ int main(int argc, char ** argv) {
shell = env_shell;
}
sp::popen proc (shell, {"-c", "--", text});
- std::cout << proc.stdout().rdbuf();
+ std::cout << &proc.get_stdout();
}
return 0;
-}
\ No newline at end of file
+}