This is similar to Perl's Algorithm::Diff, it computes the differences between two arrays of arbitrary elements.
Created attachment 36559 [details] ebuild
Thanks. Added to CVS. You forgot to include LICENSE (GPL-2 in this case) again. Please make sure you read copyright documents and add appropriate license line to the ebuild. (As for this package, license notice was written in README)