Add patches for adaptation to giflib 5.x.
With these patches, giflib 4.x is not supported.
I will fix this issue later. Thanks.
upgrade to 1.0.6 and make work on netbsd
fix some pkglint nits