diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-03-13 20:04:14 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-03-13 20:04:14 +0100 |
commit | 95c2c9b90d22a53cae0ea4b11e8ad2747c78b1b2 (patch) | |
tree | 626ae2563e4ee84f4fb182a8334d4112f327f3c5 /debian/patches/0145-ftbfs-impfuncdef.patch | |
parent | 4847f48aa131cdbb285fa8ebc50d3508db7328f4 (diff) |
New d/p/0145-ftbfs-impfuncdef.patch
Diffstat (limited to 'debian/patches/0145-ftbfs-impfuncdef.patch')
-rw-r--r-- | debian/patches/0145-ftbfs-impfuncdef.patch | 24 |
1 files changed, 24 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..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 |