[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)
committerLuca Boccassi <bluca@debian.org>
Fri, 3 Nov 2023 19:22:17 +0000 (19:22 +0000)
commit2dfeb071f2021d574d8d125ffb8f761003173631
tree2f58561fc089b738bbdce25f2ad53b53b96462c5
parent3b20a733fe2f58ac3d8c7f3949b8697f97dbae81
[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