Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package aegisub for openSUSE:Factory checked in at 2023-02-08 17:20:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aegisub (Old) and /work/SRC/openSUSE:Factory/.aegisub.new.4462 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aegisub" Wed Feb 8 17:20:22 2023 rev:39 rq:1063732 version:3.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/aegisub/aegisub.changes 2022-12-31 11:22:59.108479779 +0100 +++ /work/SRC/openSUSE:Factory/.aegisub.new.4462/aegisub.changes 2023-02-08 17:20:46.150083358 +0100 @@ -1,0 +2,6 @@ +Wed Feb 8 07:41:42 UTC 2023 - Dave Plater <[email protected]> + +- Add aegisub-3.3.3-fix-boost-181-build.patch copied from mageia + to fix build against boost-1.81 + +------------------------------------------------------------------- New: ---- aegisub-3.3.3-fix-boost-181-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aegisub.spec ++++++ --- /var/tmp/diff_new_pack.COOv9D/_old 2023-02-08 17:20:46.714086127 +0100 +++ /var/tmp/diff_new_pack.COOv9D/_new 2023-02-08 17:20:46.722086166 +0100 @@ -24,6 +24,7 @@ URL: http://www.aegisub.org/ Source0: https://github.com/wangqr/Aegisub/archive/refs/tags/v%{version}.tar.gz#/Aegisub-%{version}.tar.gz Patch0: aegisub-buildfix_autotools.patch +Patch1: aegisub-3.3.3-fix-boost-181-build.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ ++++++ aegisub-3.3.3-fix-boost-181-build.patch ++++++ #Patch from gentoo copied from mageia Index: b/libaegisub/include/libaegisub/lua/utils.h =================================================================== Index: b/libaegisub/include/libaegisub/lua/utils.h =================================================================== --- a/libaegisub/include/libaegisub/lua/utils.h 2022-07-03 19:27:30.000000000 +0200 +++ b/libaegisub/include/libaegisub/lua/utils.h 2023-02-08 09:17:04.471853695 +0200 @@ -87,7 +87,10 @@ int exception_wrapper(lua_State *L) { template<typename T> void set_field(lua_State *L, const char *name, T value) { - push_value(L, value); + if constexpr(std::is_convertible<T, std::string>::value) + push_value(L, static_cast<std::string>(value)); + else + push_value(L, value); lua_setfield(L, -2, name); } Index: b/src/auto4_lua.cpp =================================================================== --- a/src/auto4_lua.cpp 2022-07-03 19:27:30.000000000 +0200 +++ b/src/auto4_lua.cpp 2023-02-08 09:20:53.005919645 +0200 @@ -119,7 +119,8 @@ namespace { int get_translation(lua_State *L) { wxString str(check_wxstring(L, 1)); - push_value(L, _(str).utf8_str()); + const char* val = static_cast<const char*>( _(str).utf8_str()); + push_value(L, val); return 1; } Index: b/src/command/video.cpp =================================================================== --- a/src/command/video.cpp 2022-07-03 19:27:30.000000000 +0200 +++ b/src/command/video.cpp 2023-02-08 09:23:11.799886506 +0200 @@ -475,7 +475,7 @@ static void save_snapshot(agi::Context * // If where ever that is isn't defined, we can't save there if ((basepath == "\\") || (basepath == "/")) { // So save to the current user's home dir instead - basepath = wxGetHomeDir().c_str(); + basepath = wxGetHomeDir().ToStdString(); } } // Actual fixed (possibly relative) path, decode it Index: b/src/dialog_attachments.cpp =================================================================== --- a/src/dialog_attachments.cpp 2022-07-03 19:27:30.000000000 +0200 +++ b/src/dialog_attachments.cpp 2023-02-08 09:25:23.026182291 +0200 @@ -161,7 +161,7 @@ void DialogAttachments::OnExtract(wxComm // Multiple or single? if (listView->GetNextSelected(i) != -1) - path = wxDirSelector(_("Select the path to save the files to:"), to_wx(OPT_GET("Path/Fonts Collector Destination")->GetString())).c_str(); + path = wxDirSelector(_("Select the path to save the files to:"), to_wx(OPT_GET("Path/Fonts Collector Destination")->GetString())).ToStdString(); else { path = SaveFileSelector( _("Select the path to save the file to:"),
