It fails with this error: In file included from ./psi/zdevcal.c:16:0: ./base/time_.h:49:8: error: redefinition of ‘struct timeval’ /usr/include/x86_64-linux-gnu/bits/time.h:75:8: note: originally defined here The included patch fixes the error and allows it to build. It's based on Debian's ghostscript patch #2003.
Created attachment 8229 [details] Patch to fix build errors
I fixed this problem some time ago (without resorting to distribution specific variables in a cross platform makefile): http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=714766fb I would be obliged if you could test my solution in the Debian build environment, and reopen this bug if you find a problem with it. Chris *** This bug has been marked as a duplicate of bug 692426 ***
Your fix works! If your most up-to-date repository is in git, you should update your website. The first result that comes up for "ghostscript repository" is this: http://svn.ghostscript.com/ . The first link it gives for ghostscript links to the svn repository.
Apologies for the website confusion. The link on the main page ( www.ghostscript.com ) have been updated, I hadn't realised the svn page was still accessible. I'll look into it..... Glad the fix is working okay. Chris