Created attachment 252155 [details] Diff for 0.9.0
Does this really require gcc 12 and can't be built with gcc 13? Also about patch lang/emilua/files/patch-subprojects_asio_meson.build - check this: From 8aa543be97491b5c061cadedfcb2162c4f88c67a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20dos=20Santos=20Oliveira?= <vini.ipsmaker@gmail.com> Date: Fri, 21 Jun 2024 15:43:25 -0300 Subject: [PATCH] Add meson.build The idea is to use the project as a subproject in meson projects. --- meson.build | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meson.build diff --git a/meson.build b/meson.build new file mode 100644 index 00000000..4d851495 --- subprojects/asio/meson.build.orig 2024-07-19 02:04:16 UTC +++ subprojects/asio/meson.build @@ -0,0 +1,12 @@ +project('asio', + 'cpp', + version : '1.30.2', + license : 'BSL-1.0', +) + +asio_dep = declare_dependency( + include_directories : include_directories('asio/include'), +) + +install_headers('asio/include/asio.hpp') +install_subdir('asio/include/asio', install_dir: get_option('includedir')) -- GitLab And you don't need: @${PATCH} -p1 -d ${WRKSRC}/subprojects/asio < ${FILESDIR}/patch-subprojects_asio_asio_meson.build
Build fine with gcc 13, don't know about work. Try test work with USE_GCC=yes.
Created attachment 252157 [details] [FIXED
Created attachment 252158 [details] [FIXED] Diff for 0.9.0
Emilua requires at least GCC 12 and works with later versions as well. I was using `USE_GCC=12` instead of `USE_GCC=yes` because, on systems where GCC 11 was installed, the build process would attempt to use it and result in errors. Specifically, I used version 12 because it was the default when installing GCC at that time. It seems this has changed, and the default version is now more recent. Good to know. I also fixed the patch. Thank you for the suggestions!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe1c90a625b322f7f486dc32df5dd3d337b0269a commit fe1c90a625b322f7f486dc32df5dd3d337b0269a Author: Valter Nazianzeno <manipuladordedados@gmail.com> AuthorDate: 2024-07-19 10:10:29 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-19 10:10:29 +0000 lang/emilua: update 0.8.4 → 0.9.0 0.9 - 2024-06-26 Added * filesystem.clock.time_point.seconds_since_unix_epoch. * New bindings in init.script related to mount_setattr() (Linux). Changed * is_block_file() renamed to is_block_device(). * is_character_file() renamed to is_character_device(). Changelog: https://docs.emilua.org/api/0.9/changelog.html PR: 280359 lang/emilua/Makefile | 12 +- lang/emilua/distinfo | 8 +- .../files/patch-subprojects_asio_meson.build (new) | 32 ++ lang/emilua/pkg-plist | 635 ++++++++++++++++++++- 4 files changed, 676 insertions(+), 11 deletions(-)