summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-03-17 13:54:33 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-03-17 13:54:33 +0100
commit0b448b52114a93e125284957d83f68557623e258 (patch)
tree66855edbfe42e356dd18c499bbbf73c74b1fc4f0 /debian/patches
parent391c0b7a3978d5aca246d6a62a639edaaa6eb249 (diff)
parent3bc27dfebb76ea2089521651aaaf6a14b4f5362e (diff)
Merge branch 'release/debian/1.0.14-18'HEADdebian/1.0.14-18master
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0145-ftbfs-impfuncdef.patch31
-rw-r--r--debian/patches/series1
2 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0145-ftbfs-impfuncdef.patch b/debian/patches/0145-ftbfs-impfuncdef.patch
new file mode 100644
index 0000000..6ff4051
--- /dev/null
+++ b/debian/patches/0145-ftbfs-impfuncdef.patch
@@ -0,0 +1,31 @@
+Description: Fix FTBFS with enabled -Werror=implicit-function-declaration
+Author: Jörg Frings-Fürst <debian@jff.email>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066571
+Forwarded: https://gitlab.com/sane-project/frontends/-/issues/37
+Last-Update: 2024-03-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/include/sane/sanei_debug.h
+===================================================================
+--- trunk.orig/include/sane/sanei_debug.h
++++ trunk/include/sane/sanei_debug.h
+@@ -95,7 +95,8 @@
+ #ifdef NDEBUG
+
+ extern void sanei_debug_ndebug (int level, const char *msg, ...);
+-
++
++
+ # define DBG_LEVEL (0)
+ # define DBG_INIT()
+ # define DBG sanei_debug_ndebug
+@@ -167,6 +168,9 @@ DBG_LOCAL (int level, const char *msg, .
+ # define DBG DBG_LOCAL
+
+ extern void sanei_init_debug (const char * backend, int * debug_level_var);
++
++/* fix -Werror=implicit-function-declaration */
++int isfdtype(int fd, int fdtype);
+
+ /** @hideinitializer*/
+ # define IF_DBG(x) x
diff --git a/debian/patches/series b/debian/patches/series
index 64afa25..fb328b5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+0145-ftbfs-impfuncdef.patch
0001-fix_missing_sane-config.patch
0100-xcam.c_dead_code.patch
0105-scanadf_options_fix.patch