> Ah, sloppy lazyness.. if you want to bump without checking, bump the
> major at least. Your call on that.
> Fwiw i use a 'dumpsyms' alias to check for api changes, but it's not
> 100% accurate.
>
> dumpsyms='for i in `make print-plist | perl -n -e "print if s/\@lib //"`
> ; do nm -g /usr/local/$i | perl -n -e "print if s/^.{9}T //" > `make
> show=PKGNAME`-`basename $i` ; done'
>
> Use it in each port, before and after the update, then diff the output
> for each version; You'll see if symbols appeared/changed/disappeared.
> That doesnt check the function args types nor the #define, but it's a
> first step.
>

Vadim has imported devel/abi-compliance-checker here to do much the same thing:

https://github.com/jasperla/openbsd-wip/blob/master/devel/abi-compliance-checker/Makefile

Reply via email to