[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)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 23 Apr 2022 15:26:04 +0000 (16:26 +0100)
commitb4dfd67e23f08703171a2e19980d7ee7f7d25364
treed406bf59c5710b5f2fd6c0bca1f884874741b95f
parent0cdf4919c069d124a1534bef8c9137054a46a72a
[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