I simply grabbed the most recent Debian tarball and diff.gz, unpacked the tarball and applied the patch. You then need to run the appropriate debian/patches patch from the a2ps sources directory as per
sh debian/patches/10_s_support.dpatch -patch
After that, it's just a matter of adding a two-line patch in
/usr/include/string.h to comment out two lines
#ifndef __CYGWIN__ _PTR _EXFUN(memccpy,(_PTR, const _PTR, int, size_t)); _PTR _EXFUN(mempcpy,(_PTR, const _PTR, size_t)); #endifand
configure --medium=letter; make; make installbuilds and install a shiny new a2ps for Cygwin.