Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-10-16 12:23:11 +1000
committerAllan McRae <allan@archlinux.org>2013-10-31 16:20:02 +1000
commit23923200c3e34563c8124a1b098bc0866f4e92e5 (patch)
treeef9d697b9e0cd1e0d2bd1365cb5f844a8eea02d1 /lib/libalpm/deps.c
parentd4ba5bdda6595db83babbac1c59fac129fcaff24 (diff)
Expose alpm_pkg_should_ignore
This function is useful for frontends to annotate package upgrades that will be ignored. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r--lib/libalpm/deps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 745eac17..cf7605ee 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -664,7 +664,7 @@ static alpm_pkg_t *resolvedep(alpm_handle_t *handle, alpm_depend_t *dep,
pkg = _alpm_db_get_pkgfromcache(db, dep->name);
if(pkg && _alpm_depcmp_literal(pkg, dep)
&& !alpm_pkg_find(excluding, pkg->name)) {
- if(_alpm_pkg_should_ignore(handle, pkg)) {
+ if(alpm_pkg_should_ignore(handle, pkg)) {
int install = 0;
if(prompt) {
QUESTION(handle, ALPM_QUESTION_INSTALL_IGNOREPKG, pkg,
@@ -693,7 +693,7 @@ static alpm_pkg_t *resolvedep(alpm_handle_t *handle, alpm_depend_t *dep,
* possibly be the same string */
if(pkg->name_hash != dep->name_hash && _alpm_depcmp(pkg, dep)
&& !alpm_pkg_find(excluding, pkg->name)) {
- if(_alpm_pkg_should_ignore(handle, pkg)) {
+ if(alpm_pkg_should_ignore(handle, pkg)) {
int install = 0;
if(prompt) {
QUESTION(handle, ALPM_QUESTION_INSTALL_IGNOREPKG,