mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
retroshare: fix build with gcc-12
This commit is contained in:
parent
c6c5c8006b
commit
0242b9fb52
1 changed files with 12 additions and 0 deletions
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…
Add table
Reference in a new issue