Reduce the installed library SONAME since upstream bumped it
unnecessarily when performing backwards-compatible API change. At least
once we're saved from rebuilding every reverse dependency.
Package-Manager: portage-2.2.23
SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
LICENSE="BSD"
-SLOT="0/15"
+SLOT="0/14"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="ipv6 kernel_linux static-libs"
epatch_user
# These bins are not installed, upnpc-static requires building static lib
- sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die
+ # Reduce APIVERSION used to build SONAME since last API change was
+ # backwards compatible to surprise of all the universe.
+ sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' \
+ -e '/APIVERSION/s:15:14:' Makefile || die
if ! use static-libs; then
sed -i \