[PATCH] Use private scols_cell_get_alignment() with older libsmartcols
authorMihai Moldovan <ionic@ionic.de>
Tue, 29 Sep 2020 16:30:16 +0000 (18:30 +0200)
committerFrédéric Pierret <frederic.pierret@qubes-os.org>
Sun, 8 Jan 2023 09:08:51 +0000 (09:08 +0000)
commit0ff486d64a96d525591e311ccf0f56a095e1ce24
tree73f39780461ba30dbd3980ec124159a03c8dfec8
parent986efe3b16287717fffb77054a2ac96a7b2a68ef
[PATCH] Use private scols_cell_get_alignment() with older libsmartcols

Stretch's version of libsmartcols includes the (binary) symbol, but does not
export it via its API, probably to make the intermediate release
API-compatible.

libdnf needs it, so we'll just declare the function and hope that linking will
be able to pick it up just fine.

For newer versions, that should just turn into a comment.

Gbp-Pq: Name 0009-Use-private-scols_cell_get_alignment-with-older-libs.patch
libdnf/utils/smartcols/Cell.hpp