lang/erlang-wx: use wx 3.2
PR: 265093
This commit is contained in:
parent
bfbb016436
commit
ff9b39f22c
|
@ -1,7 +1,7 @@
|
||||||
PORTNAME= erlang
|
PORTNAME= erlang
|
||||||
DISTVERSIONPREFIX= OTP-
|
DISTVERSIONPREFIX= OTP-
|
||||||
DISTVERSION= 24.3.4.6
|
DISTVERSION= 24.3.4.6
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= lang parallel
|
CATEGORIES= lang parallel
|
||||||
PKGNAMESUFFIX= -wx
|
PKGNAMESUFFIX= -wx
|
||||||
|
@ -21,9 +21,7 @@ USE_GITHUB= yes
|
||||||
GH_PROJECT= otp
|
GH_PROJECT= otp
|
||||||
USE_GL= gl glu
|
USE_GL= gl glu
|
||||||
USE_PERL5= build
|
USE_PERL5= build
|
||||||
USE_WX= 3.1+
|
USE_WX= 3.2+
|
||||||
|
|
||||||
WX_COMPS= wx
|
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS+= --enable-threads \
|
CONFIGURE_ARGS+= --enable-threads \
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- lib/wx/c_src/gen/wxe_wrapper_7.cpp.orig 2022-10-15 17:50:46 UTC
|
||||||
|
+++ lib/wx/c_src/gen/wxe_wrapper_7.cpp
|
||||||
|
@@ -2339,7 +2339,7 @@ void wxToolBar_AddTool_4(WxeApp *app, wxeMemEnv *memen
|
||||||
|
} else Badarg("Options");
|
||||||
|
};
|
||||||
|
if(!This) throw wxe_badarg("This");
|
||||||
|
- wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool(toolId,label,*bitmap,shortHelp,kind);
|
||||||
|
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool(toolId,label,(wxBitmapBundle)*bitmap,shortHelp,kind);
|
||||||
|
wxeReturn rt = wxeReturn(memenv, Ecmd.caller, true);
|
||||||
|
rt.send( rt.make_ref(app->getRef((void *)Result,memenv), "wx"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user