Skip to content

Commit

Permalink
Release 1.10
Browse files Browse the repository at this point in the history
Since pacman 5.2.0 changed the API, bump libalpm dependency to 12.0.0.
  • Loading branch information
f2404 committed Oct 23, 2019
1 parent a392842 commit ab3f6a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.69)
AC_INIT([package-query], [1.9], [https://github.com/archlinuxfr/package-query])
AC_INIT([package-query], [1.10], [https://github.com/archlinuxfr/package-query])
AM_INIT_AUTOMAKE([-Wall])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/package-query.c])
Expand All @@ -18,7 +18,7 @@ AC_CHECK_HEADERS([ctype.h getopt.h glob.h libintl.h limits.h locale.h regex.h si

AC_CHECK_LIB([alpm], [alpm_version], ,
AC_MSG_ERROR([pacman is needed to compile package-query]))
PKG_CHECK_MODULES([alpm], [libalpm >= 11.0.0])
PKG_CHECK_MODULES([alpm], [libalpm >= 12.0.0])

AC_CHECK_LIB([yajl], [yajl_free], ,
AC_MSG_ERROR([yajl is needed to compile package-query]))
Expand Down
2 changes: 1 addition & 1 deletion src/alpm-query.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ static bool filter (alpm_pkg_t *pkg, unsigned int _filter)
}
}
}
if ((_filter & F_UPGRADES) && !alpm_sync_newversion (pkg, alpm_get_syncdbs(config.handle)))
if ((_filter & F_UPGRADES) && !alpm_sync_get_new_version (pkg, alpm_get_syncdbs(config.handle)))
return false;
if ((_filter & F_GROUP) && !alpm_pkg_get_groups (pkg))
return false;
Expand Down

0 comments on commit ab3f6a1

Please sign in to comment.