Skip to content

Commit ab3f6a1

Browse files
committed
Release 1.10
Since pacman 5.2.0 changed the API, bump libalpm dependency to 12.0.0.
1 parent a392842 commit ab3f6a1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

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

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

2323
AC_CHECK_LIB([yajl], [yajl_free], ,
2424
AC_MSG_ERROR([yajl is needed to compile package-query]))

src/alpm-query.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static bool filter (alpm_pkg_t *pkg, unsigned int _filter)
253253
}
254254
}
255255
}
256-
if ((_filter & F_UPGRADES) && !alpm_sync_newversion (pkg, alpm_get_syncdbs(config.handle)))
256+
if ((_filter & F_UPGRADES) && !alpm_sync_get_new_version (pkg, alpm_get_syncdbs(config.handle)))
257257
return false;
258258
if ((_filter & F_GROUP) && !alpm_pkg_get_groups (pkg))
259259
return false;

0 commit comments

Comments
 (0)