diffstat for xcircuit-3.9.73+dfsg.1 xcircuit-3.9.73+dfsg.1

 changelog            |    7 +++++++
 patches/gcc-15.patch |   23 +++++++++++++++++++++++
 patches/series       |    1 +
 3 files changed, 31 insertions(+)

diff -Nru xcircuit-3.9.73+dfsg.1/debian/changelog xcircuit-3.9.73+dfsg.1/debian/changelog
--- xcircuit-3.9.73+dfsg.1/debian/changelog	2025-08-17 22:50:30.000000000 +0300
+++ xcircuit-3.9.73+dfsg.1/debian/changelog	2025-10-08 20:48:42.000000000 +0300
@@ -1,3 +1,10 @@
+xcircuit (3.9.73+dfsg.1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1114445)
+
+ -- Adrian Bunk <bunk@debian.org>  Wed, 08 Oct 2025 20:48:42 +0300
+
 xcircuit (3.9.73+dfsg.1-2) unstable; urgency=medium
 
   * Team upload
diff -Nru xcircuit-3.9.73+dfsg.1/debian/patches/gcc-15.patch xcircuit-3.9.73+dfsg.1/debian/patches/gcc-15.patch
--- xcircuit-3.9.73+dfsg.1/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ xcircuit-3.9.73+dfsg.1/debian/patches/gcc-15.patch	2025-10-08 20:48:42.000000000 +0300
@@ -0,0 +1,23 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1114445
+
+--- xcircuit-3.9.73+dfsg.1.orig/elements.c
++++ xcircuit-3.9.73+dfsg.1/elements.c
+@@ -7,6 +7,7 @@
+ /*      written by Tim Edwards, 8/13/93                                 */
+ /*----------------------------------------------------------------------*/
+ 
++#include <math.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -54,8 +55,6 @@ extern colorindex *colorlist;
+ extern Pixmap dbuf;
+ #endif
+ 
+-extern double atan2();
+-
+ /*------------------------------------------------------------------------*/
+ /* Declarations of global variables                                       */
+ /*------------------------------------------------------------------------*/
diff -Nru xcircuit-3.9.73+dfsg.1/debian/patches/series xcircuit-3.9.73+dfsg.1/debian/patches/series
--- xcircuit-3.9.73+dfsg.1/debian/patches/series	2025-08-17 22:46:49.000000000 +0300
+++ xcircuit-3.9.73+dfsg.1/debian/patches/series	2025-10-08 20:48:42.000000000 +0300
@@ -5,3 +5,4 @@
 0005-Spelling-fixes.patch
 avoid-implicit-declaration.patch
 fix-return-without-value.patch
+gcc-15.patch
