add patch & fix for graphics/netpbm