summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rw-r--r--debian/patches/0145-ftbfs-impfuncdef.patch24
-rw-r--r--debian/patches/series1
3 files changed, 32 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 4895669..ba1d333 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sane-frontends (1.0.14-18) UNRELEASED; urgency=medium
+
+ * New debian/patches/0145-ftbfs-impfuncdef.patch.
+ Fix FTBFS -Werror=implicit-function-declaration.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Wed, 13 Mar 2024 18:23:32 +0100
+
sane-frontends (1.0.14-17) unstable; urgency=medium
* debian/patches/0001-fix_missing_sane-config.patch:
diff --git a/debian/patches/0145-ftbfs-impfuncdef.patch b/debian/patches/0145-ftbfs-impfuncdef.patch
new file mode 100644
index 0000000..4e44b6b
--- /dev/null
+++ b/debian/patches/0145-ftbfs-impfuncdef.patch
@@ -0,0 +1,24 @@
+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