Bug 238372 - graphics/tiff: fix "Inconsistent value of es" in tiff2ps
Summary: graphics/tiff: fix "Inconsistent value of es" in tiff2ps
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-06 18:09 UTC by g.s
Modified: 2019-06-06 20:03 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (portmgr)


Attachments
Test image that causes the error to occur (9.69 KB, image/tiff)
2019-06-06 18:09 UTC, g.s
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 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 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