[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, 6 May 2024 19:29:03 +0000 (20:29 +0100)
commit3d0760e205a918ab500af1c463c4e22a4793336a
treea2fdcdb25d940ef6bb6694e5654f59e71ebcd031
parentccc67cbad5722471e02295ed29ebfc3e24467aa6
[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