summaryrefslogtreecommitdiff
path: root/debian/patches/0145-avahi.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-30 14:19:47 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-30 14:19:47 +0200
commit1b9f323ebdbea2385c37bda49b75631e624e0f84 (patch)
treea6cd9229a617b3984eacf6a6539506caf859626c /debian/patches/0145-avahi.patch
parentf03fae67eab67a0f704fce47c7492264f391de62 (diff)
refresh patches
Diffstat (limited to 'debian/patches/0145-avahi.patch')
-rw-r--r--debian/patches/0145-avahi.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/patches/0145-avahi.patch b/debian/patches/0145-avahi.patch
index 066291d..67c874b 100644
--- a/debian/patches/0145-avahi.patch
+++ b/debian/patches/0145-avahi.patch
@@ -13,21 +13,22 @@ Index: trunk/backend/net.c
first_device = NULL;
first_handle = NULL;
--#ifdef WITH_AVAHI
+-#if WITH_AVAHI
- net_avahi_init ();
-#endif /* WITH_AVAHI */
-
auth_callback = authorize;
/* Return the version number of the sane-backends package to allow
-@@ -1119,6 +1115,10 @@ sane_init (SANE_Int * version_code, SANE
+@@ -1119,6 +1115,11 @@ sane_init (SANE_Int * version_code, SANE
DBG (2, "sane_init: connect timeout set to %d seconds from env\n", connect_timeout);
}
-+#ifdef WITH_AVAHI
++#if WITH_AVAHI
+ net_avahi_init ();
+#endif /* WITH_AVAHI */
+
++
DBG (2, "sane_init: done\n");
return SANE_STATUS_GOOD;
}