git: 7303f13e5f30 - main - graphics/wings: fix build after 5f8fd4b88b0ff05948d2c608c16ac9eb692eae97

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Tue, 21 Feb 2023 19:25:52 UTC
The branch main has been updated by cmt:

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

commit 7303f13e5f3098fdcbc114d3790534cd0b8c8d30
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2023-02-21 19:25:04 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2023-02-21 19:25:04 +0000

    graphics/wings: fix build after 5f8fd4b88b0ff05948d2c608c16ac9eb692eae97
    
    by pulling in the appropriate patch from upstream
---
 graphics/wings/files/patch-src_wings__frame.erl | 29 +++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/graphics/wings/files/patch-src_wings__frame.erl b/graphics/wings/files/patch-src_wings__frame.erl
new file mode 100644
index 000000000000..34e7526a7c99
--- /dev/null
+++ b/graphics/wings/files/patch-src_wings__frame.erl
@@ -0,0 +1,29 @@
+commit 94b3a3c6a0cfdcdbd98edce055d5c83ecb361f37
+Author: acxz <17132214+acxz@users.noreply.github.com>
+Date:   Thu Aug 4 20:10:53 2022 -0400
+
+    ifndef `wxID_OSX_*` for erlang 25.0
+
+diff --git src/wings_frame.erl src/wings_frame.erl
+index f6c13c71..3ec6bb83 100644
+--- src/wings_frame.erl
++++ src/wings_frame.erl
+@@ -37,10 +37,18 @@
+ -define(IS_SPLIT(WinProp), (element(1, WinProp) =:= split
+ 			    orelse element(1, WinProp) =:= split_rev)).
+ 
++-ifndef(wxID_OSX_HIDE).
+ -define(wxID_OSX_HIDE, 5250).
++-endif.
++-ifndef(wxID_OSX_HIDEOTHERS).
+ -define(wxID_OSX_HIDEOTHERS, 5251).
++-endif.
++-ifndef(wxID_OSX_SHOWALL).
+ -define(wxID_OSX_SHOWALL, 5252).
++-endif.
++-ifndef(wxID_OSX_MENU_LAST).
+ -define(wxID_OSX_MENU_LAST, 5255).
++-endif.
+ 
+ %% API  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+