Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpm: add compatibility with libalpm 14 #721

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jelly
Copy link
Contributor

@jelly jelly commented Mar 8, 2024

In libalpm alpm_conflict_t package struct members are now of type alpm_pkg_t instead of char*.

libalpm sadly does not expose the version in libalpm.h in theory this can be made backwards compatible, but not sure how to hack that in with pkgconf --modversion libalpm and most distro's shipping pacman are rolling release so should have pacman 6.1

@jelly jelly marked this pull request as ready for review March 12, 2024 08:50
@jelly jelly changed the title alpm: add compatibility with libalpm 6.1 alpm: add compatibility with libalpm 14 Mar 12, 2024
@eworm-de
Copy link
Collaborator

This is missing support for CacheServer in configuration. Currently packagekit crashes if that is present.

https://gitlab.archlinux.org/pacman/pacman/-/commit/dc91476555e5ac636d27bbe635e647a70f911e71

In libalpm alpm_conflict_t package struct members are now of type
alpm_pkg_t instead of char*.

Don't crash on the new directive CacheServer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants