Bug 238372

Summary: graphics/tiff: fix "Inconsistent value of es" in tiff2ps
Product: Ports & Packages Reporter: g.s
Component: Individual Port(s)Assignee: Antoine Brodin <antoine>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (portmgr)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Test image that causes the error to occur none

Description g.s 2019-06-06 18:09:52 UTC
Created attachment 204864 [details]
Test image that causes the error to occur

I scanned some images and converted them using ImageMagick and when I run tiff2ps, it exits saying "Inconsistent value of es" and I tried this patch and it helped:
https://gitlab.com/libtiff/libtiff/commit/a0e273fdca741b8805e19deeb8019fa42c4e64ba
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2019-06-06 18:14:41 UTC
Please report the bug to http://bugzilla.maptools.org/buglist.cgi?product=libtiff
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-06-06 20:02:58 UTC
A commit references this bug:

Author: antoine
Date: Thu Jun  6 20:02:19 UTC 2019
New revision: 503600
URL: https://svnweb.freebsd.org/changeset/ports/503600

Log:
  Fix tiff2ps error regarding "Inconsistent value of es" by allowing es to be zero.

  PR:		238372

Changes:
  head/graphics/tiff/Makefile
  head/graphics/tiff/files/patch-tools_tiff2ps.c