rsync/0001-use-lp_num_modules-instead-of-the-removed-lp_numserv.patch
Marcus Meissner 5ef75e9e84 Accepting request 204809 from home:vitezslav_cizek:branches:network
- update to 3.1.0
  * fixes bnc#845185
- don't apply drop-cache.patch (removed from upstream)
- add 0001-use-lp_num_modules-instead-of-the-removed-lp_numserv.patch
- add gpg-offline tarball checking

- add time-limit.patch from co-distributed rsync-patches as we do
  on SLE (fate#312479)

OBS-URL: https://build.opensuse.org/request/show/204809
OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=29
2013-10-25 14:08:03 +00:00

26 lines
636 B
Diff

From 50652ac755815d01a6954258ba7174bb8f4bb158 Mon Sep 17 00:00:00 2001
From: Vitezslav Cizek <vcizek@suse.cz>
Date: Fri, 25 Oct 2013 14:51:38 +0200
Subject: [PATCH] use lp_num_modules instead of the removed lp_numservices
---
slp.diff | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slp.diff b/slp.diff
index a9703f1..953b400 100644
--- a/patches/slp.diff
+++ b/patches/slp.diff
@@ -479,7 +479,7 @@ new file mode 100644
+ exit_cleanup(RERR_SYNTAX);
+ }
+
-+ n = lp_numservices();
++ n = lp_num_modules();
+
+ if (0 == lp_slp_refresh())
+ timeout = SLP_LIFETIME_MAXIMUM; /* don't expire, ever */
--
1.8.4