From c079ca5cc44f3a485a05e6af4cc60c40ec528838 Mon Sep 17 00:00:00 2001 From: Nicolas Benes Date: Tue, 9 May 2023 23:11:14 +0200 Subject: [PATCH 1/2] Add missing pkg_config_defines when built with CMake The pkg_config_defines variable was only set in configure.ac, but not in CMake. This lead to the `-DZMQ_BUILD_DRAFT_API=1` flag to be omitted from the generated pkg-config file. Signed-off-by: Nicolas Benes --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9940da15..6d003058 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,6 +142,7 @@ endif() # Will be used to add flags to pkg-config useful when apps want to statically link set(pkg_config_libs_private "") set(pkg_config_names_private "") +set(pkg_config_defines "") option(WITH_OPENPGM "Build with support for OpenPGM" OFF) option(WITH_NORM "Build with support for NORM" OFF) @@ -1463,6 +1464,7 @@ foreach(target ${build_targets}) if(ENABLE_DRAFTS) target_compile_definitions(${target} PUBLIC ZMQ_BUILD_DRAFT_API) + set(pkg_config_defines "-DZMQ_BUILD_DRAFT_API=1") endif() endforeach() From 2da2bd8f6d1af79be56a0836488240810e775293 Mon Sep 17 00:00:00 2001 From: Nicolas Benes Date: Fri, 12 May 2023 06:29:32 +0200 Subject: [PATCH 2/2] RELICENSE: add statement Signed-off-by: Nicolas Benes --- RELICENSE/panicgh.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 RELICENSE/panicgh.md diff --git a/RELICENSE/panicgh.md b/RELICENSE/panicgh.md new file mode 100644 index 00000000..e66cb38f --- /dev/null +++ b/RELICENSE/panicgh.md @@ -0,0 +1,15 @@ +# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL + +This is a statement by Nicolas Benes +that grants permission to relicense its copyrights in the libzmq C++ +library (ZeroMQ) under the Mozilla Public License v2 (MPLv2) or any other +Open Source Initiative approved license chosen by the current ZeroMQ +BDFL (Benevolent Dictator for Life). + +A portion of the commits made by the Github handle "panicgh", with +commit author "Nicolas Benes ", are copyright of Nicolas Benes. +This document hereby grants the libzmq project team to relicense libzmq, +including all past, present and future contributions of the author listed above. + +Nicolas Benes +2023/05/12