function2: upgrade 4.2.4+git -> 4.2.5

The recipe was pinned to the 4.2.4 tag but carried a +git PV suffix; 4.2.5 is
a real tagged release so the suffix is dropped. Upstream release notes list
three changes: support for uses-allocator construction, with std::uses_allocator
specialized for all function types (PR #62); std::aligned_storage_t is no longer
used, since it is deprecated in C++23 (PR #67); and an AppVeyor CI fix (PR #68).
Header-only library with no API break.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj committed 2026-08-14 09:06:18 -07:00
1 parent d567e6957b
commit 918bc324c7
1 file changed
+1 -2
@@ -0,0 +1,19 @@
SUMMARY = "Improved drop-in replacement for std::function"
DESCRIPTION = "Provides improved implementations of std::function."
HOMEPAGE = "https://naios.github.io/function2"
LICENSE = "BSL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
SRCREV = "496c20fede5378190fff471fcd7ee3d8705e5096"
SRC_URI += "gitsm://github.com/Naios/function2;branch=master;protocol=https"
inherit cmake
inherit ptest
# Installs some data to incorrect top-level /usr directory
do_install:append() {
mkdir -p ${D}/${datadir}/function2
mv ${D}/${prefix}/Readme.md ${D}/${datadir}/function2/
mv ${D}/${prefix}/LICENSE.txt ${D}/${datadir}/function2/
}