[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>
Mon, 26 Aug 2024 15:44:33 +0000 (16:44 +0100)
commitf79228568a051ab29c8901a72227baa9adaa251d
tree9dd7482766548119c210b63bcf27917b2d0e4996
parentdb213ecd327581d5f6e7d965cabaed15bcf48989
[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