From b4f4ada89714538b98173dd7304b653d6e1eab31 Mon Sep 17 00:00:00 2001 From: Alwin Esch Date: Sat, 13 Jul 2019 12:41:24 +0200 Subject: [addons] remove cpluff complete --- .../0004-all-Fix-log-level-inconsistencies.patch | 46 ---------------------- 1 file changed, 46 deletions(-) delete mode 100644 lib/cpluff/patches/0004-all-Fix-log-level-inconsistencies.patch (limited to 'lib/cpluff/patches/0004-all-Fix-log-level-inconsistencies.patch') diff --git a/lib/cpluff/patches/0004-all-Fix-log-level-inconsistencies.patch b/lib/cpluff/patches/0004-all-Fix-log-level-inconsistencies.patch deleted file mode 100644 index 7e780242f5..0000000000 --- a/lib/cpluff/patches/0004-all-Fix-log-level-inconsistencies.patch +++ /dev/null @@ -1,46 +0,0 @@ -From ece6f7080c4613b2781f47e32479fb57dddd7494 Mon Sep 17 00:00:00 2001 -From: "h.udo" -Date: Thu, 20 Oct 2016 14:19:44 +0100 -Subject: [PATCH 04/12] [all] Fix log level inconsistencies - ---- - libcpluff/ploader.c | 2 +- - libcpluff/pscan.c | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/libcpluff/ploader.c b/libcpluff/ploader.c -index c4e251b..5c01add 100644 ---- a/libcpluff/ploader.c -+++ b/libcpluff/ploader.c -@@ -1081,7 +1081,7 @@ static void check_cleanup_descriptor_parsing(cp_status_t status, cp_context_t *c - N_("Plug-in descriptor in %s is invalid."), path); - break; - case CP_ERR_IO: -- cpi_errorf(context, -+ cpi_debugf(context, - N_("An I/O error occurred while loading a plug-in descriptor from %s."), path); - break; - case CP_ERR_RESOURCE: -diff --git a/libcpluff/pscan.c b/libcpluff/pscan.c -index 50dcff8..921c8e3 100644 ---- a/libcpluff/pscan.c -+++ b/libcpluff/pscan.c -@@ -272,13 +272,13 @@ CP_C_API cp_status_t cp_scan_plugins(cp_context_t *context, int flags) { - // Report error - switch (status) { - case CP_OK: -- cpi_debug(context, N_("Plug-in scan has completed successfully.")); -+ cpi_info(context, N_("Plug-in scan has completed successfully.")); - break; - case CP_ERR_RESOURCE: - cpi_error(context, N_("Could not scan plug-ins due to insufficient system resources.")); - break; - default: -- cpi_error(context, N_("Could not scan plug-ins.")); -+ cpi_warn(context, N_("Not all directories were successfully scanned.")); - break; - } - cpi_unlock_context(context); --- -2.14.1 - -- cgit v1.2.3