Page MenuHomeFreeBSD

devel/liblas12: Fix build error on CURRENT
ClosedPublic

Authored by pizzamig on Oct 25 2017, 10:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 14, 7:11 AM
Unknown Object (File)
Wed, Feb 12, 10:48 PM
Unknown Object (File)
Wed, Feb 5, 5:31 PM
Unknown Object (File)
Wed, Feb 5, 3:14 PM
Unknown Object (File)
Jan 4 2025, 8:50 AM
Unknown Object (File)
Nov 29 2024, 4:42 PM
Unknown Object (File)
Nov 26 2024, 4:55 AM
Unknown Object (File)
Nov 24 2024, 8:36 PM
Subscribers
None

Details

Summary

devel/liblas12: Fix build error on CURRENT

PR\: 222424
Submitted by\: rhurlin@gwdg.de (maintainer)
Approved by\: lme (mentor)
Approved by\: olivier (mentor)
Differential Revision\: https://reviews.freebsd.org/DXXXXX

Test Plan

portlint's fine.
poudriere build on 10.3 10.4 11.0 11.1 on i386 amd64

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 12220
Build 12514: arc lint + arc unit

Event Timeline

Does this fall into the "Build fixes which cause a package to become compilable where it was previously failing" of the "Examples of changes which do not require a PORTREVISION bump" ?

Build error is only on FreeBSD CURRENT, I guess because of llvm 5.x Probably it was a warning on previous clang version.
The current port is already working on 10.x and 11.x, but I'm not sure that the patch fix only the C++ syntax or changes the binary as well. The new patch is now applied on every FreeBSD version.
A better solution, avoiding portrevision bump, could be to change the patch as extrapatch and apply it only if freebsd version >= 1200000.
I'll ask the maintainer.

  • Remove portrevision bump, not needed
This revision is now accepted and ready to land.Nov 3 2017, 11:00 AM
This revision was automatically updated to reflect the committed changes.