Bug 262267

Summary: graphics/a2png: fix build with C99 inline semantics
Product: Ports & Packages Reporter: Robert Clausecker <fuz>
Component: Individual Port(s)Assignee: Guangyuan Yang <ygy>
Status: Closed FIXED    
Severity: Affects Only Me CC: ygy
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
graphics/a2png: fix build with C99 inline semantics fuz: maintainer-approval+

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(-)