diff mbox series

[meta-oe,47/72] magic-enum: Upgrade 0.9.8 -> 0.10.0

Message ID 20261130084643.1500716-48-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upgrades, tip updates, removals and build fixes | expand

Commit Message

Khem Raj Nov. 30, 2026, 8:46 a.m. UTC
Breaking changes (see doc/migration.md upstream):
- Requires C++17, GCC 9, Clang 9 and CMake 3.22.
- Enums with ADL operator| and operator& returning the enum are
  reflected as flags automatically (MAGIC_ENUM_NO_AUTO_IS_FLAGS opts out),
  and flags include a named zero.
- C++26 standard reflection is used when available.
- Integer lookups reject values outside the underlying type.
- magic_enum.hpp no longer provides the bitwise operators; include
  magic_enum_bitwise_operators.hpp.

Adds an optional C++20 module target. The install now also puts LICENSE
in ${datadir}/magic_enum next to package.xml; ship it in ${PN}-dev.

License-Update: copyright years updated to 2019 - 2026

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../magic-enum/{magic-enum_0.9.8.bb => magic-enum_0.10.0.bb} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/magic-enum/{magic-enum_0.9.8.bb => magic-enum_0.10.0.bb} (87%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.8.bb b/meta-oe/recipes-extended/magic-enum/magic-enum_0.10.0.bb
similarity index 87%
rename from meta-oe/recipes-extended/magic-enum/magic-enum_0.9.8.bb
rename to meta-oe/recipes-extended/magic-enum/magic-enum_0.10.0.bb
index fa608bdffb..bcd4064c05 100644
--- a/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.8.bb
+++ b/meta-oe/recipes-extended/magic-enum/magic-enum_0.10.0.bb
@@ -9,14 +9,14 @@  BUGTRACKER = "https://github.com/Neargye/magic_enum/issues"
 HOMEPAGE = "https://github.com/Neargye/magic_enum"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7e7717cf723eb72f57e80fdb651cb318"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4469d371e1d5d751c951131f736253c3"
 
 SRC_URI = " \
     git://github.com/Neargye/magic_enum.git;protocol=https;branch=master \
     file://run-ptest \
 "
 
-SRCREV = "1384769c66bd16ec9bb1353f45fe8ec8ccc12dbd"
+SRCREV = "8b69251a96d755dc9364fdf31c0f4056efdad365"
 
 inherit cmake ptest
 
@@ -31,6 +31,7 @@  do_install_ptest () {
 
 # Add catkin and colcon (ROS build system) support
 FILES:${PN}-dev += "\
+    ${datadir}/magic_enum/LICENSE \
     ${datadir}/magic_enum/package.xml \
 "