Bug 243996 - graphics/qgis: Fix build after textproc/txt2tags update
Summary: graphics/qgis: Fix build after textproc/txt2tags update
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Loïc Bartoletti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-09 09:43 UTC by Rainer Hurling
Modified: 2020-02-12 18:24 UTC (History)
2 users (show)

See Also:


Attachments
patch do build after txt2tags update again (1015 bytes, patch)
2020-02-09 09:43 UTC, Rainer Hurling
rhurlin: maintainer-approval+
Details | Diff
patch files instead of sed replacements (5.91 KB, patch)
2020-02-09 11:07 UTC, Rainer Hurling
rhurlin: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling 2020-02-09 09:43:06 UTC
Created attachment 211495 [details]
patch do build after txt2tags update again

The FreeBSD package builder complains about encoding problems after [1]. This happens, because newer versions of textproc/txt2tags do not need the option '--encoding=utf-8' any more[2].

The patch is a workaround to remove such encoding entries from the QGIS port, until QGIS project changes upstream for newer txt2tags versions.


[1] http://svnweb.freebsd.org/changeset/ports/525495
[2] https://github.com/txt2tags/txt2tags/blob/v3/CHANGELOG.md#35-2020-02-01



The patch is tested on Poudriere (11.3i/a, 12.1i/a, and HEADi/a),
'portlint -AC' seems happy.
Comment 1 Rainer Hurling 2020-02-09 11:07:22 UTC
Created attachment 211497 [details]
patch files instead of sed replacements

Thanks to Loïc Bartoletti for the hint, that such replacements should be done via regulary patch files instead of sed replacements, which are for variables ...