about summary refs log tree commit diff
path: root/pkgs/applications/graphics/hdrmerge
diff options
context:
space:
mode:
authorJan Solanti <jhs@psonet.com>2024-01-09 22:56:54 +0200
committerJan Solanti <jhs@psonet.com>2024-01-09 22:56:54 +0200
commit3eab97c775abdefac7a7ee1770bb7fb638858832 (patch)
treee81845df42d413d89d758e59f4a39dca8f2fc307 /pkgs/applications/graphics/hdrmerge
parentd8364a95c7048af5d4036f1bc1d03d448a8bb017 (diff)
hdrmerge: fix build with GCC 13
Diffstat (limited to 'pkgs/applications/graphics/hdrmerge')
-rw-r--r--pkgs/applications/graphics/hdrmerge/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/hdrmerge/default.nix b/pkgs/applications/graphics/hdrmerge/default.nix
index a8db24c35283f..827ee15af60aa 100644
--- a/pkgs/applications/graphics/hdrmerge/default.nix
+++ b/pkgs/applications/graphics/hdrmerge/default.nix
@@ -37,6 +37,11 @@ mkDerivation rec {
     "-DALGLIB_DIR:PATH=${alglib}"
   ];
 
+  CXXFLAGS = [
+    # GCC 13: error: 'uint32_t' does not name a type
+    "-include cstdint"
+  ];
+
   patches = [
     # https://github.com/jcelaya/hdrmerge/pull/222
     (fetchpatch {