void-packages/srcpkgs/retroshare/patches/gcc-12.patch

13 lines
393 B
Diff

Index: RetroShare-0.6.6/libretroshare/src/util/rsdir.cc
===================================================================
--- RetroShare-0.6.6.orig/libretroshare/src/util/rsdir.cc
+++ RetroShare-0.6.6/libretroshare/src/util/rsdir.cc
@@ -47,6 +47,7 @@
#include <fstream>
#include <stdexcept>
+#include <filesystem>
#if defined(WIN32) || defined(__CYGWIN__)
#include "util/rsstring.h"