diffstat for haskell-system-fileio-0.3.16.4 haskell-system-fileio-0.3.16.4

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

diff -Nru haskell-system-fileio-0.3.16.4/debian/changelog haskell-system-fileio-0.3.16.4/debian/changelog
--- haskell-system-fileio-0.3.16.4/debian/changelog	2024-09-17 13:33:04.000000000 +0300
+++ haskell-system-fileio-0.3.16.4/debian/changelog	2025-10-02 20:34:33.000000000 +0300
@@ -1,3 +1,10 @@
+haskell-system-fileio (0.3.16.4-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with GCC 15. (Closes: #1096800)
+
+ -- Adrian Bunk <bunk@debian.org>  Thu, 02 Oct 2025 20:34:33 +0300
+
 haskell-system-fileio (0.3.16.4-6) unstable; urgency=medium
 
   * Declare compliance with Debian policy 4.7.0
diff -Nru haskell-system-fileio-0.3.16.4/debian/patches/gcc-15.patch haskell-system-fileio-0.3.16.4/debian/patches/gcc-15.patch
--- haskell-system-fileio-0.3.16.4/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ haskell-system-fileio-0.3.16.4/debian/patches/gcc-15.patch	2025-10-02 20:34:33.000000000 +0300
@@ -0,0 +1,16 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1096800
+Origin: upstream, https://github.com/fpco/haskell-filesystem/commit/84390e988758b79848c38bc569b3764677715d4e
+
+--- haskell-system-fileio-0.3.16.4.orig/lib/hssystemfileio-unix.h
++++ haskell-system-fileio-0.3.16.4/lib/hssystemfileio-unix.h
+@@ -4,7 +4,7 @@
+ struct dirent;
+ 
+ struct dirent *
+-hssystemfileio_alloc_dirent();
++hssystemfileio_alloc_dirent(void *void_dir);
+ 
+ void
+ hssystemfileio_free_dirent(struct dirent *);
diff -Nru haskell-system-fileio-0.3.16.4/debian/patches/series haskell-system-fileio-0.3.16.4/debian/patches/series
--- haskell-system-fileio-0.3.16.4/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ haskell-system-fileio-0.3.16.4/debian/patches/series	2025-10-02 20:34:33.000000000 +0300
@@ -0,0 +1 @@
+gcc-15.patch
