net-libs/libnatpmp is available in portage, but transmission is using automagically the bundled one.
fixed in 2.42.