| Summary: | graphics/gdal: Fails to build after poppler 20.08 update: ./pdfsdk_headers.h:53:37: error: invalid digit '8' in octal constant | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | John Hein <jcfyecrayz> | ||||
| Component: | Individual Port(s) | Assignee: | Tobias C. Berner <tcberner> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | CC: | jcfyecrayz, rhurlin, russo, tcberner | ||||
| Priority: | --- | Keywords: | needs-qa, regression | ||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248419 | ||||||
| Attachments: |
|
||||||
|
Description
John Hein
2020-08-17 15:10:41 UTC
Apparently the exp-run from bug 248419 did not catch this for some reason. The latest released gdal 3.1.2 does not have the fix, but there is an upstream commit: https://github.com/OSGeo/gdal/commit/2b863dbabdc2a7d724f9fdf3e6ff20a142b619f6#diff-586e3bcb3ce8ae39b270d0fababb2770 (In reply to John Hein from comment #0) Moin moin It was not caught by the exp-run as the POPPLER-option is off by default. mfg Tobias Created attachment 217291 [details]
Patch that makes gdal build with poppler enabled
This file, dumped into graphics/gdal/files, will apply the upstream patch and make gdal build with poppler again.
A commit references this bug: Author: tcberner Date: Tue Aug 18 14:19:55 UTC 2020 New revision: 545232 URL: https://svnweb.freebsd.org/changeset/ports/545232 Log: graphics/gdal: add upstream fix for poppler 20.08.x - graphics poppler changed the versionsing scheme - add upstream patch to handle the minor-release with leading zeroes. - the exp-run in pr 248419 could not catch this as the option is off by default - obtained from upstream: https://github.com/OSGeo/gdal/commit/2b863dbabdc2a7d724f9fdf3e6ff20a142b619f6.patch PR: 248703 Submitted by: russo@bogodyn.org Reported by: John Hein <jcfyecrayz@liamekaens.com> Changes: head/graphics/gdal/files/patch-configure Committed. Thanks. |