mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-11 02:51:18 +02:00
create bsd12 branch
This commit is contained in:
14
devel/libjsoncpp/files/patch-src_lib__json_json__writer.cpp
Normal file
14
devel/libjsoncpp/files/patch-src_lib__json_json__writer.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
--- src/lib_json/json_writer.cpp.orig 2016-10-30 21:27:18 UTC
|
||||
+++ src/lib_json/json_writer.cpp
|
||||
@@ -3,6 +3,11 @@
|
||||
// recognized in your jurisdiction.
|
||||
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
|
||||
|
||||
+// fix for lang/gcc5+
|
||||
+#if __GNUC__ == 5
|
||||
+#include <cstdio>
|
||||
+#endif
|
||||
+
|
||||
#if !defined(JSON_IS_AMALGAMATION)
|
||||
#include <json/writer.h>
|
||||
#include "json_tool.h"
|
||||
Reference in New Issue
Block a user