0002-Fix-gcc-13-build.patch 1.0 KB

12345678910111213141516171819202122232425262728
  1. From 9f399675b821e175f85ac3ee6e3fd2e6056573eb Mon Sep 17 00:00:00 2001
  2. From: Daan De Meyer <daan.j.demeyer@gmail.com>
  3. Date: Fri, 21 Apr 2023 19:36:45 +0200
  4. Subject: [PATCH] Fix gcc 13 build
  5. Upstream: https://github.com/DaanDeMeyer/reproc/commit/9f399675b821e175f85ac3ee6e3fd2e6056573eb
  6. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  7. ---
  8. reproc++/include/reproc++/reproc.hpp | 4 ++--
  9. 1 file changed, 2 insertions(+), 2 deletions(-)
  10. diff --git a/reproc++/include/reproc++/reproc.hpp b/reproc++/include/reproc++/reproc.hpp
  11. index b52f495e..7b614a94 100644
  12. --- a/reproc++/include/reproc++/reproc.hpp
  13. +++ b/reproc++/include/reproc++/reproc.hpp
  14. @@ -88,10 +88,10 @@ struct redirect {
  15. struct options {
  16. struct {
  17. - enum env::type behavior;
  18. + reproc::env::type behavior;
  19. /*! Implicitly converts from any STL container of string pairs to the
  20. environment format expected by `reproc_start`. */
  21. - class env extra;
  22. + reproc::env extra;
  23. } env = {};
  24. const char *working_directory = nullptr;