Source: springlobby
Version: 0.270-2
Severity: important
tags: patch

Hello, looks like springlobby fails to build with newer jsoncpp because the 
cmake looks for features.h header file, something
that disappeared in newer libjsoncpp.

Looking for json.h header file works as a patch.

Please apply if possible, and forward upstream if you think its needed.

--- springlobby-0.270.orig/src/downloader/lib/cmake/FindJsoncpp.cmake
+++ springlobby-0.270/src/downloader/lib/cmake/FindJsoncpp.cmake
@@ -14,7 +14,7 @@ if(PKG_CONFIG_FOUND)
 endif()
 # Include dir
 find_path(Jsoncpp_INCLUDE_DIR
-  NAMES json/features.h
+  NAMES json/json.h
   PATH_SUFFIXES jsoncpp
   PATHS ${Jsoncpp_PKGCONF_INCLUDE_DIRS} # /usr/include/jsoncpp/json
 )


G.

Reply via email to