FreeBSD Bugzilla – Attachment 176496 Details for
Bug 213992
devel/jsoncpp: fix for lang/gcc5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
same patch with added PORTREVISION
jsoncpp.patch (text/plain), 2.80 KB, created by
Yuri Victorovich
on 2016-11-02 17:13:54 UTC
(
hide
)
Description:
same patch with added PORTREVISION
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-11-02 17:13:54 UTC
Size:
2.80 KB
patch
obsolete
>Index: devel/jsoncpp/Makefile >=================================================================== >--- devel/jsoncpp/Makefile (revision 425164) >+++ devel/jsoncpp/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= jsoncpp > DISTVERSION= 1.7.7 >+PORTREVISION= 1 > CATEGORIES= devel > > MAINTAINER= yuri@rawbw.com >@@ -26,8 +27,13 @@ > # Certain new compiler features unlock parts of jsoncpp API (ex. see JSON_HAS_RVALUE_REFERENCES). > # Use c++11 above to be the most inclusive. > USES+= compiler:c++11-lang >+# lang/gcc5 fix >+.if ${COMPILER_TYPE} == clang > CXXFLAGS+= --std=c++11 >+.else >+CXXFLAGS+= --std=gnu++11 -D_GLIBCXX_USE_C99=1 > .endif >+.endif > > do-install: > @${MKDIR} ${STAGEDIR}${PREFIX}/include/jsoncpp >Index: devel/jsoncpp/files/patch-src_lib__json_json__reader.cpp >=================================================================== >--- devel/jsoncpp/files/patch-src_lib__json_json__reader.cpp (nonexistent) >+++ devel/jsoncpp/files/patch-src_lib__json_json__reader.cpp (working copy) >@@ -0,0 +1,14 @@ >+--- src/lib_json/json_reader.cpp.orig 2016-10-30 21:28:16 UTC >++++ src/lib_json/json_reader.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/assertions.h> >+ #include <json/reader.h> > >Property changes on: devel/jsoncpp/files/patch-src_lib__json_json__reader.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: devel/jsoncpp/files/patch-src_lib__json_json__writer.cpp >=================================================================== >--- devel/jsoncpp/files/patch-src_lib__json_json__writer.cpp (nonexistent) >+++ devel/jsoncpp/files/patch-src_lib__json_json__writer.cpp (working copy) >@@ -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" > >Property changes on: devel/jsoncpp/files/patch-src_lib__json_json__writer.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213992
:
176391
|
176420
|
176493
|
176494
|
176495
|
176496
|
176629