Package: src:libqb
Severity: normal
Tags: patch

Based on http://upstream.rosalinux.ru/versions/libqb.html, there were a couple
of changes which the symbols file does not accout for:

* enum qb_ipc_type gained the QB_IPC_NATIVE member in 0.13.0, affecting
  qb_ipcs_create().

* enum qb_log_conf gained the QB_LOG_CONF_FILE_SYNC member in 0.14.0,
  affecting qb_log_ctl().

* enum qb_log_filter_type gained QB_LOG_FILTER_*_REGEX members in 0.17.0
  in an incompatible way, which we ignore because it was quickly fixed by
  0.17.1.  The net change still affects qb_log_filter_ctl() and
  qb_log_filter_ctl2().

These omissions result in libqb0 (>= 0.11.1) dependencies for corosync, even
though it does not even compile with libqb < 0.12, as it uses QB_IPC_NATIVE.

The attached patch corrects these issues, and also adds the
Build-Depends-Package meta field for good measure.
--- libqb0:amd64.symbols.orig	2015-08-04 14:46:18.932999437 +0200
+++ libqb0:amd64.symbols	2015-08-04 15:09:04.910120424 +0200
@@ -1,4 +1,5 @@
 libqb.so.0 libqb0 #MINVER#
+* Build-Depends-Package: libqb-dev
  __start___verbose@Base 0.11.1
  __stop___verbose@Base 0.11.1
  facilitynames@Base 0.11.1
@@ -67,7 +68,7 @@
  qb_ipcs_connection_unref@Base 0.11.1
  qb_ipcs_context_get@Base 0.11.1
  qb_ipcs_context_set@Base 0.11.1
- qb_ipcs_create@Base 0.11.1
+ qb_ipcs_create@Base 0.13.0
  qb_ipcs_destroy@Base 0.11.1
  qb_ipcs_disconnect@Base 0.11.1
  qb_ipcs_dispatch_connection_request@Base 0.11.1
@@ -95,7 +96,7 @@
  qb_log_callsite_get@Base 0.11.1
  qb_log_callsites_dump@Base 0.11.1
  qb_log_callsites_register@Base 0.11.1
- qb_log_ctl@Base 0.11.1
+ qb_log_ctl@Base 0.14.0
  qb_log_custom_close@Base 0.11.1
  qb_log_custom_open@Base 0.11.1
  qb_log_dcs_fini@Base 0.11.1
@@ -105,8 +106,8 @@
  qb_log_facility2str@Base 0.11.1
  qb_log_file_close@Base 0.11.1
  qb_log_file_open@Base 0.11.1
- qb_log_filter_ctl2@Base 0.11.1
- qb_log_filter_ctl@Base 0.11.1
+ qb_log_filter_ctl2@Base 0.17.1
+ qb_log_filter_ctl@Base 0.17.1
  qb_log_filter_fn_set@Base 0.11.1
  qb_log_fini@Base 0.11.1
  qb_log_format_fini@Base 0.14.4

Reply via email to