Bug 272425 - graphics/libemf: Unbreak clang16
Summary: graphics/libemf: Unbreak clang16
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: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-08 13:53 UTC by Nuno Teixeira
Modified: 2023-07-11 20:33 UTC (History)
1 user (show)

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


Attachments
Unbreak clang16 and pet portlint (1.01 KB, patch)
2023-07-08 13:53 UTC, Nuno Teixeira
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Teixeira freebsd_committer freebsd_triage 2023-07-08 13:53:50 UTC
Created attachment 243315 [details]
Unbreak clang16 and pet portlint

Hello,

libEMF 1.10.13 does not work with C++17 which is the default since
clang 16. This can be removed once that port starts working with C++17 and
has its own USE_CXXSTD removed.

See also: https://sourceforge.net/p/libemf/bugs/5/

While I'm here:

- pet portlint on ldconfig shared libs and install strip
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-07-11 20:30:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f3cbb880dc06413014f6661caea4e046bf36c5f

commit 2f3cbb880dc06413014f6661caea4e046bf36c5f
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-07-11 20:28:21 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-07-11 20:28:21 +0000

    graphics/libemf: Unbreak build with clang16

    PR:     272425

 graphics/libemf/Makefile | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
Comment 2 Dima Panov freebsd_committer freebsd_triage 2023-07-11 20:33:15 UTC
Landed, thanks!