Attached is a patch. I have also removed the patch I have provided back then. It has been upstreamed: https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/97
Created attachment 213459 [details] Patch against /usr/ports
*** This bug has been marked as a duplicate of bug 245663 ***