Bug 283183 - graphics/geos: Add compiler workaround and enable unit tests
Summary: graphics/geos: Add compiler workaround and enable unit tests
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-07 16:24 UTC by Daniel Engberg
Modified: 2024-12-25 19:29 UTC (History)
1 user (show)

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


Attachments
Patch for geos (1.27 KB, patch)
2024-12-07 16:24 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2024-12-07 16:24:10 UTC
Created attachment 255684 [details]
Patch for geos

* Enable unit tests and only build on demand
* Build with -ffp-model=strict as one unit tests fails otherwise

Issue submitted upstream as https://github.com/libgeos/geos/issues/1206
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-12-25 19:27:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=53d2b997aba6f272d3f78e504e3c1911a6ff5b15

commit 53d2b997aba6f272d3f78e504e3c1911a6ff5b15
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-12-25 19:01:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-25 19:16:58 +0000

    graphics/geos: Add make test

    - Add workaround for an unit test

    PR:             283183
    Submitted by:   Daniel Engberg <diizzy@FreeBSD.org>
    Reference:      https://github.com/libgeos/geos/issues/1206

 graphics/geos/Makefile                         |  6 ++++--
 graphics/geos/files/patch-CMakeLists.txt (new) | 11 +++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-12-25 19:29:21 UTC
Committed. Thanks!