Bug 262267 - graphics/a2png: fix build with C99 inline semantics
Summary: graphics/a2png: fix build with C99 inline semantics
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: Guangyuan Yang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-01 10:33 UTC by Robert Clausecker
Modified: 2022-03-05 05:13 UTC (History)
1 user (show)

See Also:


Attachments
graphics/a2png: fix build with C99 inline semantics (4.20 KB, patch)
2022-03-01 10:33 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-03-01 10:33:06 UTC
Created attachment 232182 [details]
graphics/a2png: fix build with C99 inline semantics

This fixes the build on arm and i386.

Tested with Poudriere on arm and i386.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-03-05 05:05:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=06dfcbd2cbebaf3b3b81744ed8adaa903f1b24b7

commit 06dfcbd2cbebaf3b3b81744ed8adaa903f1b24b7
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-03-05 05:02:38 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-03-05 05:02:38 +0000

    graphics/a2png: Fix build with C99 inline semantics

    - This fixes the build on arm and i386.

    PR:             262267

 graphics/a2png/Makefile                      | 13 +++----------
 graphics/a2png/files/patch-src_image.c (new) | 26 ++++++++++++++++++++++++++
 graphics/a2png/files/patch-src_image.h (new) |  9 +++++++++
 graphics/a2png/files/patch-src_parse.c (new) | 13 +++++++++++++
 4 files changed, 51 insertions(+), 10 deletions(-)