summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0125-multiarch_dll_search_path.patch2
-rw-r--r--debian/patches/0205-ftbfs_with_GCC-15.patch22
-rw-r--r--debian/patches/series7
3 files changed, 27 insertions, 4 deletions
diff --git a/debian/patches/0125-multiarch_dll_search_path.patch b/debian/patches/0125-multiarch_dll_search_path.patch
index 67b9484..125cafa 100644
--- a/debian/patches/0125-multiarch_dll_search_path.patch
+++ b/debian/patches/0125-multiarch_dll_search_path.patch
@@ -38,7 +38,7 @@ Index: trunk/backend/Makefile.am
## included LICENSE file for license information.
-AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS) -DLIBDIR="\"$(libdir)/sane\""
-+AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS) -DLIBDIR="\"$(libdir)/sane\"" -DDEB_DLL_LIBDIR="\"$(libdir)/sane:$(prefix)/lib/sane\:$(prefix)/lib64/sane\""
++AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS) -DLIBDIR="\"$(libdir)/sane\"" -DDEB_DLL_LIBDIR="\"$(libdir)/sane:$(prefix)/lib/sane:$(prefix)/lib64/sane\""
AM_LDFLAGS += $(STRICT_LDFLAGS)
# The -rpath option is added because we are creating _LTLIBRARIES based
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..5eb4472 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,6 +12,7 @@
0605-fix_groff-warnings.patch
0200-disable-check-equal-stderr.patch
0610-fix_groff_font_warnings.patch
-0180-Escl_force_idle_status.patch
-0185-fix_memory.patch
-0190-Fix_scanimage_help.patch
+#0180-Escl_force_idle_status.patch
+#0185-fix_memory.patch
+#0190-Fix_scanimage_help.patch
+#0205-ftbfs_with_GCC-15.patch