File: 2020-dont-build-msgpack.patch

package info (click to toggle)
ring 20230206.0~ds2-1.1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 123,784 kB
  • sloc: ansic: 326,578; cpp: 273,264; python: 17,326; xml: 8,897; sh: 5,633; makefile: 3,799; objc: 2,845; java: 2,434; cs: 1,575; lisp: 718; javascript: 385; asm: 292; lex: 157
file content (25 lines) | stat: -rw-r--r-- 1,013 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Mark msgpack as found, to avoid building it.
 We recently switched our msgpack dependency from libmsgpack-dev to
 libmsgpack-cxx-dev; but unfortunately the latter does not ship a
 pkg-config file.  As such, the daemon contrib system fails to find it
 and tries to download and build it, which will fail because we call
 the contrib bootstrap script with '--disable-downloads'.
Author: Amin Bandali <bandali@gnu.org>
Last-Update: 2023-02-07

diff --git a/daemon/contrib/src/msgpack/rules.mak b/daemon/contrib/src/msgpack/rules.mak
index b1708b7c..6fceff12 100644
--- a/daemon/contrib/src/msgpack/rules.mak
+++ b/daemon/contrib/src/msgpack/rules.mak
@@ -3,9 +3,9 @@ MSGPACK_VERSION := cpp-3.3.0
 MSGPACK_URL := https://github.com/msgpack/msgpack-c/archive/$(MSGPACK_VERSION).tar.gz
 
 PKGS += msgpack
-ifeq ($(call need_pkg,"msgpack >= 3.1.0"),)
+#ifeq ($(call need_pkg,"msgpack >= 3.1.0"),)
 PKGS_FOUND += msgpack
-endif
+#endif
 
 MSGPACK_CMAKECONF := -DMSGPACK_CXX17=ON \
 		-DMSGPACK_CXX_ONLY=ON \