Control: tags -1 patch

On Mon, Feb 17, 2025 at 05:45:25PM +0000, Matthias Klose wrote:
>...
>   296 | }
>       | ^
> /build/reproducible-path/polymake-4.12/include/core/polymake/internal/comparators.h:
>  At global scope:
> /build/reproducible-path/polymake-4.12/include/core/polymake/internal/comparators.h:299:40:
>  error: ‘uint32_t’ was not declared in this scope
>   299 | std::enable_if_t<sizeof(SizeT)==sizeof(uint32_t)> hash_combine(SizeT& 
> h, SizeT k)
>       |                                        ^~~~~~~~
>...

The fix backported from 4.14 is attached.

cu
Adrian
Description: Fix FTBFS with gcc 15
Author: Adrian Bunk <[email protected]>
Bug-Debian: https://bugs.debian.org/1078040
Origin: backport, https://github.com/polymake/polymake/commit/938f0539285309a7296f134e1a05d9002eb9d164
Applied-Upstream: 4.14

--- polymake-4.12.orig/lib/core/include/internal/comparators.h
+++ polymake-4.12/lib/core/include/internal/comparators.h
@@ -17,6 +17,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include "polymake/internal/comparators_ops.h"
 #include "polymake/internal/matrix_rows_cols.h"
 #include "polymake/TransformedContainer.h"

Reply via email to