retroshare: fix build with gcc-12
This commit is contained in:
parent
c6c5c8006b
commit
0242b9fb52
12
srcpkgs/retroshare/patches/gcc-12.patch
Normal file
12
srcpkgs/retroshare/patches/gcc-12.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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"
|
Loading…
x
Reference in New Issue
Block a user