pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

actor-framework: fix c++ ;; error



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%pkgsrc.org@localhost>
Pushed By:	nros
Date:		Sun Jan 9 11:15:31 2022 +0100
Changeset:	cbcf91285cbde59985b72ee0ce0062585644ea5b

Modified Files:
	actor-framework/distinfo
Added Files:
	actor-framework/patches/patch-libcaf__core_test_scheduled__actor.cpp

Log Message:
actor-framework: fix c++ ;; error

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cbcf91285cbde59985b72ee0ce0062585644ea5b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 actor-framework/distinfo                                 |  1 +
 .../patches/patch-libcaf__core_test_scheduled__actor.cpp | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diffs:
diff --git a/actor-framework/distinfo b/actor-framework/distinfo
index c1289da1a9..996f8155f5 100644
--- a/actor-framework/distinfo
+++ b/actor-framework/distinfo
@@ -11,4 +11,5 @@ SHA1 (patch-libcaf__core_src_detail_get__root__uuid.cpp) = ba158be8761dfe0dc5705
 SHA1 (patch-libcaf__core_src_detail_pretty__type__name.cpp) = 922423499220ba8481da6076877fb755ab49c569
 SHA1 (patch-libcaf__core_src_detail_set__thread__name.cpp) = fb3cfefb1eccbf77ccf65173f1cfeb1e71b2e875
 SHA1 (patch-libcaf__core_src_telemetry_importer_process.cpp) = 00215e17c6536d7e90abd54871fbbeb9842955bd
+SHA1 (patch-libcaf__core_test_scheduled__actor.cpp) = c16b336c67173b4d8c562b624fadf4443ae27005
 SHA1 (patch-libcaf__io_CMakeLists.txt) = 327649d0fef862e75a5367d38e1baf769923c9f0
diff --git a/actor-framework/patches/patch-libcaf__core_test_scheduled__actor.cpp b/actor-framework/patches/patch-libcaf__core_test_scheduled__actor.cpp
new file mode 100644
index 0000000000..de22670da3
--- /dev/null
+++ b/actor-framework/patches/patch-libcaf__core_test_scheduled__actor.cpp
@@ -0,0 +1,16 @@
+$NetBSD$
+
+* ASSERT_COMPILES includes ; it is also called with a ; at the end,
+  this expands to ;;, so remove one of them
+
+--- libcaf_core/test/scheduled_actor.cpp.orig	2021-07-16 09:33:16.000000000 +0000
++++ libcaf_core/test/scheduled_actor.cpp
+@@ -12,7 +12,7 @@ using namespace caf;
+ 
+ #define ASSERT_COMPILES(expr, msg)                                             \
+   static_assert(                                                               \
+-    std::is_void_v<decltype(std::declval<scheduled_actor*>()->expr)>, msg);
++    std::is_void_v<decltype(std::declval<scheduled_actor*>()->expr)>, msg)
+ 
+ namespace {
+ 


Home | Main Index | Thread Index | Old Index