libodfgen: fix build with gcc15

- add patch that adds `#include <cstdint>` to `OdfGenerator.cxx`,
based on upstream commit that is not included in tagged versions:
https://sourceforge.net/p/libwpd/libodfgen/ci/4da0b148def5b40ee60d4cd79762c0f158d64cc7/

Fixes build failure with gcc15:
```
OdfGenerator.cxx:53:9: error: 'uint8_t' was not declared in this scope
53 | uint8_t first;
| ^~~~~~~
OdfGenerator.cxx:45:1: note: 'uint8_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
44 | #include "GraphicFunctions.hxx"
+++ |+#include <cstdint>
45 | #include "InternalHandler.hxx"
OdfGenerator.cxx:57:17: error: 'first' was not declared in this scope
57 | first = 0;
| ^~~~~
```

ghpzin a336da9b a96787cf

+18
+12
pkgs/by-name/li/libodfgen/libodfgen-add-include-cstdint-gcc15.patch
··· 1 + diff --git a/src/OdfGenerator.cxx b/src/OdfGenerator.cxx 2 + index adf176b0a4..79de4dd2b7 100644 3 + --- a/src/OdfGenerator.cxx 4 + +++ b/src/OdfGenerator.cxx 5 + @@ -33,6 +33,7 @@ 6 + #include <math.h> 7 + 8 + #include <cctype> 9 + +#include <cstdint> 10 + #include <limits> 11 + #include <string> 12 + #include <stack>
+6
pkgs/by-name/li/libodfgen/package.nix
··· 20 20 sha256 = "sha256-Mj5JH5VsjKKrsSyZjjUGcJMKMjF7+WYrBhXdSzkiuDE="; 21 21 }; 22 22 23 + patches = [ 24 + # Fix build with gcc15, based on: 25 + # https://sourceforge.net/p/libwpd/libodfgen/ci/4da0b148def5b40ee60d4cd79762c0f158d64cc7/ 26 + ./libodfgen-add-include-cstdint-gcc15.patch 27 + ]; 28 + 23 29 nativeBuildInputs = [ pkg-config ]; 24 30 buildInputs = [ 25 31 boost