Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Oct 2013 13:44:50 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        pkg-list freebsd <freebsd-pkg@freebsd.org>
Subject:   pkg shlib -R and -P swapped
Message-ID:  <525541B2.5040507@janh.de>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070306080903020007000109
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

With pkg-1.1.4_7, "pkg shlib -P libx264.so.136" displays "libx264.so.136
is linked to by the following packages:"...

"pkg shlib -P" should be "pkg shlib -R" and vice versa.

shlib.c has the logic backwards: "!provides_only" leads to
"pkgs_providing_lib".

The patch attached fixes it.

Cheers,
Jan Henrik

--------------070306080903020007000109--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525541B2.5040507>