summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0205-ftbfs_with_GCC-15.patch22
-rw-r--r--debian/patches/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0205-ftbfs_with_GCC-15.patch b/debian/patches/0205-ftbfs_with_GCC-15.patch
new file mode 100644
index 0000000..54a7421
--- /dev/null
+++ b/debian/patches/0205-ftbfs_with_GCC-15.patch
@@ -0,0 +1,22 @@
+Description: Fix ftbfs with GCC-15
+Author: <name and email of author, optional>
+Origin: https://gitlab.com/sane-project/backends/-/commit/f5736eb50c3be88428f7d629b20c5c514df85b82
+Bug: https://gitlab.com/sane-project/backends/-/issues/796
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097841
+Last-Update: 2025-03-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/backend/sm3600.h
+===================================================================
+--- trunk.orig/backend/sm3600.h
++++ trunk/backend/sm3600.h
+@@ -77,7 +77,8 @@ Start: 2.4.2001
+
+ /* ====================================================================== */
+
+-typedef enum { false, true } TBool;
++#include <stdbool.h>
++typedef bool TBool;
+
+ typedef SANE_Status TState;
+
diff --git a/debian/patches/series b/debian/patches/series
index 1eb3e67..6e62f3f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,3 +15,4 @@
0180-Escl_force_idle_status.patch
0185-fix_memory.patch
0190-Fix_scanimage_help.patch
+0205-ftbfs_with_GCC-15.patch