Blame libverto-jsonrpc-0.1.0_json-c_013.patch
|
|
7f915e5 |
Index: libverto-jsonrpc-0.1.0/configure.ac
|
|
|
7f915e5 |
===================================================================
|
|
|
7f915e5 |
--- libverto-jsonrpc-0.1.0.orig/configure.ac
|
|
|
7f915e5 |
+++ libverto-jsonrpc-0.1.0/configure.ac
|
|
|
7f915e5 |
@@ -20,7 +20,7 @@ LT_INIT([disable-static pic-only])
|
|
|
7f915e5 |
# Init compiler
|
|
|
7f915e5 |
AC_PROG_CC_STDC
|
|
|
7f915e5 |
|
|
|
7f915e5 |
-PKG_CHECK_MODULES([JSON], [json], [], [AC_MSG_ERROR("json not found!")])
|
|
|
7f915e5 |
+PKG_CHECK_MODULES([JSON], [json-c], [], [AC_MSG_ERROR("json-c not found!")])
|
|
|
7f915e5 |
PKG_CHECK_MODULES([VERTO], [libverto], [], [AC_MSG_ERROR("libverto not found!")])
|
|
|
7f915e5 |
|
|
|
7f915e5 |
# Output
|
|
|
7f915e5 |
Index: libverto-jsonrpc-0.1.0/src/verto-jsonrpc.h
|
|
|
7f915e5 |
===================================================================
|
|
|
7f915e5 |
--- libverto-jsonrpc-0.1.0.orig/src/verto-jsonrpc.h
|
|
|
7f915e5 |
+++ libverto-jsonrpc-0.1.0/src/verto-jsonrpc.h
|
|
|
7f915e5 |
@@ -26,7 +26,7 @@
|
|
|
7f915e5 |
#define JSONRPC_H_
|
|
|
7f915e5 |
|
|
|
7f915e5 |
#include <verto.h>
|
|
|
7f915e5 |
-#include <json/json.h>
|
|
|
7f915e5 |
+#include <json-c/json.h>
|
|
|
7f915e5 |
#include <stdbool.h>
|
|
|
7f915e5 |
|
|
|
7f915e5 |
#define JSONRPC_ERRCODE_INVALID_REQUEST -32600
|