diff -Nru horizon-eda-2.4.0/debian/changelog horizon-eda-2.4.0/debian/changelog --- horizon-eda-2.4.0/debian/changelog 2022-12-25 21:01:01.000000000 +0100 +++ horizon-eda-2.4.0/debian/changelog 2023-09-06 00:14:29.000000000 +0200 @@ -1,3 +1,9 @@ +horizon-eda (2.4.0-2) unstable; urgency=medium + + * Fix FTBFS with gcc-13 update (Closes: #1037692) + + -- Jonathan Bergh Wed, 06 Sep 2023 00:14:29 +0200 + horizon-eda (2.4.0-1build1) lunar; urgency=medium * No-change rebuild with Python 3.11 as default diff -Nru horizon-eda-2.4.0/debian/patches/10-gcc13-update-with-cstdint.patch horizon-eda-2.4.0/debian/patches/10-gcc13-update-with-cstdint.patch --- horizon-eda-2.4.0/debian/patches/10-gcc13-update-with-cstdint.patch 1970-01-01 01:00:00.000000000 +0100 +++ horizon-eda-2.4.0/debian/patches/10-gcc13-update-with-cstdint.patch 2023-09-06 00:14:29.000000000 +0200 @@ -0,0 +1,27 @@ +Description: +Author: + +Index: horizon-eda-2.4.0/src/logger/logger.hpp +=================================================================== +--- horizon-eda-2.4.0.orig/src/logger/logger.hpp 2023-09-06 01:44:57.166775200 +0200 ++++ horizon-eda-2.4.0/src/logger/logger.hpp 2023-09-06 01:44:57.154774755 +0200 +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include + + namespace horizon { + class Logger { +Index: horizon-eda-2.4.0/src/board/board_rules_check_util.hpp +=================================================================== +--- horizon-eda-2.4.0.orig/src/board/board_rules_check_util.hpp 2023-09-06 00:53:07.463329289 +0200 ++++ horizon-eda-2.4.0/src/board/board_rules_check_util.hpp 2023-09-06 01:45:49.188621947 +0200 +@@ -1,6 +1,7 @@ + #pragma once + #include + #include "clipper/clipper.hpp" ++#include + + namespace horizon { + std::string get_net_name(const class Net *net); diff -Nru horizon-eda-2.4.0/debian/patches/series horizon-eda-2.4.0/debian/patches/series --- horizon-eda-2.4.0/debian/patches/series 2020-01-17 14:08:28.000000000 +0100 +++ horizon-eda-2.4.0/debian/patches/series 2023-09-06 00:14:29.000000000 +0200 @@ -2,3 +2,4 @@ 03-use-system-dxflib.patch buildflags.patch canvas_gl-error-check.patch +10-gcc13-update-with-cstdint.patch diff -Nru horizon-eda-2.4.0/debian/rules horizon-eda-2.4.0/debian/rules --- horizon-eda-2.4.0/debian/rules 2022-11-26 11:45:44.000000000 +0100 +++ horizon-eda-2.4.0/debian/rules 2023-09-06 00:14:29.000000000 +0200 @@ -11,6 +11,7 @@ #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic # package maintainers to append LDFLAGS export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export DEB_CXXFLAGS_MAINT_APPEND = -std=c++11 export PREFIX=/usr %: