diffstat for xcrysden-1.6.2 xcrysden-1.6.2

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

diff -Nru xcrysden-1.6.2/debian/changelog xcrysden-1.6.2/debian/changelog
--- xcrysden-1.6.2/debian/changelog	2020-10-04 12:41:07.000000000 +0300
+++ xcrysden-1.6.2/debian/changelog	2025-10-04 20:40:34.000000000 +0300
@@ -1,3 +1,10 @@
+xcrysden (1.6.2-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1098129)
+
+ -- Adrian Bunk <bunk@debian.org>  Sat, 04 Oct 2025 20:40:34 +0300
+
 xcrysden (1.6.2-4) unstable; urgency=medium
 
   * debian/rules (CPPFLAGS): Added -fcommon (closes: #957975).
diff -Nru xcrysden-1.6.2/debian/patches/gcc-15.patch xcrysden-1.6.2/debian/patches/gcc-15.patch
--- xcrysden-1.6.2/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ xcrysden-1.6.2/debian/patches/gcc-15.patch	2025-10-04 20:40:34.000000000 +0300
@@ -0,0 +1,14 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1098129
+
+--- xcrysden-1.6.2.orig/C/xcBz.c
++++ xcrysden-1.6.2/C/xcBz.c
+@@ -1397,7 +1397,6 @@ static int
+ BzGetISS( int typ )
+ {
+   int imen[3 * BZ_MAXPOINTS], imin = 0;
+-  double fabs();
+   register int iss;
+   register double f, point;
+   register double tol = (double)(BZ_ISS - 1)/(double)BZ_ISS - (double)(BZ_ISS - 2)/(double)(BZ_ISS - 1);
diff -Nru xcrysden-1.6.2/debian/patches/series xcrysden-1.6.2/debian/patches/series
--- xcrysden-1.6.2/debian/patches/series	2020-10-04 12:22:48.000000000 +0300
+++ xcrysden-1.6.2/debian/patches/series	2025-10-04 20:40:34.000000000 +0300
@@ -1,3 +1,4 @@
 fix-xcrysden-install.patch
 Make.sys.patch
 wrappers.patch
+gcc-15.patch
