Bug 272659 - emulators/dosbox: disable the register keyword in src/gui/render_templates_sai.h
Summary: emulators/dosbox: disable the register keyword in src/gui/render_templates_sai.h
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: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-22 10:44 UTC by Trond Endrestøl
Modified: 2023-07-24 11:30 UTC (History)
2 users (show)

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


Attachments
Patch for src/gui/render_templates_sai.h, where I took the simpler approach and #defined the register keyword away. (356 bytes, patch)
2023-07-22 10:44 UTC, Trond Endrestøl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Endrestøl 2023-07-22 10:44:01 UTC
Created attachment 243543 [details]
Patch for src/gui/render_templates_sai.h, where I took the simpler approach and #defined the register keyword away.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-07-24 11:30:08 UTC
Fixed.

I used the 'canonical' way we are fixing these things in the repo.

Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-07-24 11:30:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=99db2990f1de8e37da59ba06d3570425636361ca

commit 99db2990f1de8e37da59ba06d3570425636361ca
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2023-07-23 17:14:30 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-07-24 11:29:26 +0000

    emulators/dosbox: fix build with llvm16

    Undefine 'register' keyword.

    PR:             272659
    Reported by:    Trond.Endrestol@ximalas.info

 emulators/dosbox/Makefile | 5 +++++
 1 file changed, 5 insertions(+)