about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2024-01-11 17:14:00 +0100
committerVladimír Čunát <v@cunat.cz>2024-01-11 17:14:00 +0100
commit98639164fb2e36f4cd9e85a0e2d198a23cf182f4 (patch)
tree6b00ea3ae7c0831d7f8c4526ff099f242de412ad
parent8b2d354abeab5db9a2509fd4f8fb08b798303247 (diff)
downloadnixlib-98639164fb2e36f4cd9e85a0e2d198a23cf182f4.tar
nixlib-98639164fb2e36f4cd9e85a0e2d198a23cf182f4.tar.gz
nixlib-98639164fb2e36f4cd9e85a0e2d198a23cf182f4.tar.bz2
nixlib-98639164fb2e36f4cd9e85a0e2d198a23cf182f4.tar.lz
nixlib-98639164fb2e36f4cd9e85a0e2d198a23cf182f4.tar.xz
nixlib-98639164fb2e36f4cd9e85a0e2d198a23cf182f4.tar.zst
nixlib-98639164fb2e36f4cd9e85a0e2d198a23cf182f4.zip
scite: fixup build with gcc13
-rw-r--r--pkgs/applications/editors/scite/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/editors/scite/default.nix b/pkgs/applications/editors/scite/default.nix
index 67ebd13134b2..9c230a2984eb 100644
--- a/pkgs/applications/editors/scite/default.nix
+++ b/pkgs/applications/editors/scite/default.nix
@@ -13,6 +13,12 @@ stdenv.mkDerivation {
   buildInputs = [ gtk2 ];
   sourceRoot = "scintilla/gtk";
 
+  CXXFLAGS = [
+    # GCC 13: error: 'intptr_t' does not name a type
+    "-include cstdint"
+    "-include system_error"
+  ];
+
   buildPhase = ''
     make
     cd ../../lexilla/src