Created attachment 452378 [details, diff] patch to fix the problem in fax2tiff fax2tiff.c passes int as pointer: TIFFSetClientdata(faxTIFF, (thandle_t) &client_data); the library expects int or file handle(win32) here (see also: code in tiff-3…) Result: fax2tiff cant't read input file. This is an upstream bug. pls see attached patch.
Jörg, thank you for the patch. The ideal way would be to have the patch in the upstream source (too). Could you -if not done yet- send the patch upstream, please? Best, Jonas
I sent my patch upstream today. I also found that patch doesn't like my diff so I will attach a better one.
Created attachment 453794 [details, diff] a diff that patch will accept
looks like it was fixed after the 4.0.7 release. i've cherry picked it back into our 4.0.7-r1 now: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ec3d94b9cb12fb65a0274021d154b9b0d7977c8