summary refs log tree commit diff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-10-06 06:58:24 +0000
committerMathieu Othacehe <othacehe@gnu.org>2021-10-06 06:59:12 +0000
commit03f99e14ed299c9e6fec54af6d1f4951ca3ff4f8 (patch)
tree240db0c7d3f8294807fa7b5b1236b8a8eabf927c /gnu/packages/patches
parent79fbbe5e4a7cd79613d49c0dda51872f2492cc76 (diff)
downloadguix-03f99e14ed299c9e6fec54af6d1f4951ca3ff4f8.tar.gz
gnu: Add jsoncpp-with-pkg-version.
* gnu/packages/patches/jsoncpp-pkg-config-version: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/serialization.scm (jsoncpp-with-pkg-version): New variable.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/jsoncpp-pkg-config-version.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/patches/jsoncpp-pkg-config-version.patch b/gnu/packages/patches/jsoncpp-pkg-config-version.patch
new file mode 100644
index 0000000000..3983cc300c
--- /dev/null
+++ b/gnu/packages/patches/jsoncpp-pkg-config-version.patch
@@ -0,0 +1,24 @@
+Taken from upstream: https://github.com/open-source-parsers/jsoncpp/issues/1235.
+
+From ac2870298ed5b5a96a688d9df07461b31f83e906 Mon Sep 17 00:00:00 2001
+From: Derick Vigne <derickvigne@me.com>
+Date: Tue, 26 Jan 2021 14:59:12 -0500
+Subject: [PATCH] Fixed pkg-config Version
+
+---
+ pkg-config/jsoncpp.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pkg-config/jsoncpp.pc.in b/pkg-config/jsoncpp.pc.in
+index 632a377f5..2a2221069 100644
+--- a/pkg-config/jsoncpp.pc.in
++++ b/pkg-config/jsoncpp.pc.in
+@@ -5,7 +5,7 @@ includedir=@includedir_for_pc_file@
+ 
+ Name: jsoncpp
+ Description: A C++ library for interacting with JSON
+-Version: @JSONCPP_VERSION@
++Version: @PROJECT_VERSION@
+ URL: https://github.com/open-source-parsers/jsoncpp
+ Libs: -L${libdir} -ljsoncpp
+ Cflags: -I${includedir}