lol

Merge pull request #261341 from trofi/monotone-gcc-14-fix

monotone: fix build for upcoming gcc-14

authored by

7c6f434c and committed by
GitHub
af421ccb b8d6d842

+18
+1
pkgs/applications/version-management/monotone/default.nix
··· 40 40 revert = true; 41 41 sha256 = "0fzjdv49dx5lzvqhkvk50lkccagwx8h0bfha4a0k6l4qh36f9j7c"; 42 42 }) 43 + ./monotone-1.1-gcc-14.patch 43 44 ]; 44 45 45 46 postPatch = ''
+17
pkgs/applications/version-management/monotone/monotone-1.1-gcc-14.patch
··· 1 + Unsetting __STRICT_ANSI__ is not a supported configuration for gcc 2 + nowadays. gcc-14 started failing libstdc++ build as it uses gcc 3 + extensions without __STRICT_ANSI__: https://gcc.gnu.org/PR111824 4 + --- a/src/base.hh 5 + +++ b/src/base.hh 6 + @@ -34,11 +34,6 @@ 7 + #define WIN32_LEAN_AND_MEAN 8 + #endif 9 + 10 + -// Cygwin somehow enables strict ansi, which we don't want. 11 + -#ifdef __STRICT_ANSI__ 12 + -#undef __STRICT_ANSI__ 13 + -#endif 14 + - 15 + #include <iosfwd> 16 + #include <string> // it would be nice if there were a <stringfwd> 17 +