Merge pull request #287888 from trofi/retroshare-gcc-13-fix

retroshare: fix `gcc-13` build failure

authored by Nick Cao and committed by GitHub a0186a8f 301a1807

+10 -1
+10 -1
pkgs/applications/networking/p2p/retroshare/default.nix
··· 1 - { lib, mkDerivation, fetchFromGitHub, qmake, cmake, pkg-config, miniupnpc, bzip2 2 , speex, libmicrohttpd, libxml2, libxslt, sqlcipher, rapidjson, libXScrnSaver 3 , qtbase, qtx11extras, qtmultimedia, libgnome-keyring3 4 }: ··· 20 # but we already have them checked out 21 ./no-submodules.patch 22 ./cpp-filesystem.patch 23 ]; 24 25 nativeBuildInputs = [ pkg-config qmake cmake ];
··· 1 + { lib, mkDerivation, fetchFromGitHub 2 + , fetchpatch 3 + , qmake, cmake, pkg-config, miniupnpc, bzip2 4 , speex, libmicrohttpd, libxml2, libxslt, sqlcipher, rapidjson, libXScrnSaver 5 , qtbase, qtx11extras, qtmultimedia, libgnome-keyring3 6 }: ··· 22 # but we already have them checked out 23 ./no-submodules.patch 24 ./cpp-filesystem.patch 25 + 26 + # Fix gcc-13 build failure 27 + (fetchpatch { 28 + name = "gcc-13.patch"; 29 + url = "https://github.com/RetroShare/RetroShare/commit/e1934fd9b03cd52c556eb06d94fb5d68b649592e.patch"; 30 + hash = "sha256-oqxQAsD4fmkWAH2kSVmmed/q0LzTW/iqUU1SgYNdFyk="; 31 + }) 32 ]; 33 34 nativeBuildInputs = [ pkg-config qmake cmake ];