git: a8841b927607 - main - audio/mkcue: fix build with c++17

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 29 Jun 2023 06:38:12 UTC
The branch main has been updated by fernape:

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

commit a8841b927607b2e1756918ff6154085c54fa7824
Author:     Tobias Rehbein <tobias.rehbein@web.de>
AuthorDate: 2023-06-28 09:57:12 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-06-29 06:37:55 +0000

    audio/mkcue: fix build with c++17
    
    PR:             272242
    Reported by:    tobias.rehbein@web.de (maintainer)
---
 audio/mkcue/files/patch-diskid.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/audio/mkcue/files/patch-diskid.h b/audio/mkcue/files/patch-diskid.h
new file mode 100644
index 000000000000..97085808efc3
--- /dev/null
+++ b/audio/mkcue/files/patch-diskid.h
@@ -0,0 +1,13 @@
+--- diskid.h.orig	2023-06-27 06:22:10 UTC
++++ diskid.h
+@@ -61,8 +61,8 @@ typedef	unsigned char byte;
+ typedef unsigned long dword;
+ 
+ typedef struct {
+-    byte FirstTrack;         // The first track on CD : normally 1
+-    byte LastTrack;          // The last track on CD: max number 99
++    ::byte FirstTrack;         // The first track on CD : normally 1
++    ::byte LastTrack;          // The last track on CD: max number 99
+     
+     dword FrameOffset[100];  // Track 2 is TrackFrameOffset[2] etc.
+                              // Leadout Track will be TrackFrameOffset[0]